Clamd wont auto restart using the services monitor

4 posts / 0 new
Last post
#1 Tue, 11/03/2015 - 06:20
amityweb

Clamd wont auto restart using the services monitor

I have setup a services monitor with a command to run when monitors go down. This has worked over the years for all services.

But recently I notice its not working for clamd. I am having clamd go down often on one server, but the command to run to restart it is not restarting it.

If I run the command from the command line it restarts fine

I am running: /etc/init.d/clamd start

I wll try using "service clamd start" instead

Tue, 11/03/2015 - 11:14
andreychek

Howdy,

Yeah let us know if that helps.

Do you know if Webmin is detecting that ClamAV is down? I'm curious if the problem is that Webmin isn't detecting that it's down, or if the command isn't working for some reason.

-Eric

Wed, 11/04/2015 - 10:14
amityweb

Its Webmins services status page, where it shows the services you setup to monitor, and in it you can set a command to restart. So yes its Webmin.

Wed, 11/04/2015 - 15:02
amityweb

Oh darn, that has not worked either...

"Monitor on myserver.co.uk for 'Check Clamd Process' has detected that the service has gone down at 04/Nov/2015 19:20 Running service clamd start .."

And clamd never starts :(

But does start if I login to ssh and run "service clamd start"

If I run "service clamd status" when its stopped, it states: clamd dead but subsys locked

P.S. It stops in the first place because of Out of memory

Topic locked