Small blog about system administration.

spamd failed @ Tue Jan 24 8:38:56 2010 . A restart was attempted automatically

If the cPanel is alerting you repeatedly by filling your mail box with 

‘spamd failed @ Tue Jan 24 8:38:56 2010 . A restart was attempted automatically’ 

error message, then here is the best possible way to fix this problem. Perform the below mentioed steps one by one to fix it permanently.
* You can see the spamd process by executing ps with the combination of grep command.
root@cpanel [~]# ps -efH | grep spamd
root 16975 16861 0 04:49 pts/0 00:00:00 grep spamd
root 16463 1 0 04:31 ? 00:00:01 /usr/bin/spamd -d –allowed-ips=127.0.0.1 –pidfile=/var/run/spamd.pid –max-children=3 –max-spare=1
root 16476 16463 0 04:31 ? 00:00:00 spamd child


* Remove the spamd process ids (pids) by running this command:

killall -9 spamd

* First, Make sure spamd is not running and then perform the following:

rm -rf /var/run/chkservd/spamd

* Once you removed the spamd chkservd script, restart the chkservd

/scripts/restartsrv_chkservd

That’s all.

No comments :

Post a Comment