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:
I wll try using “service clamd start” instead
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.
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.
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