Spamd, dnsadmin, and tailwatchd issues
Hello,
I'm not sure what has happened, but suddenly I am having issues with spamd, dsnadmin, and tailwatchd. First, my environment:
/etc/redhat-release:CentOS Linux release 7.7.1908 (Core)
/usr/local/cpanel/version:11.82.0.15
/var/cpanel/envtype:virtuozzo
CPANEL=release
Everything was working well until yesterday. I started getting emails about mysql and spamd failing and recovery every minute. If I remember correctly, it seemed like there was a botched update before that. So, I logged into ssh and did:
/usr/local/cpanel/scripts/upcp
Then I logged into WHM and applied updates. Now spamd does not start. It gives the following error:
If I try to restart dnsadmin, I get the same type of message. Also, service status page shows all services down, though this is not true. For example, it shows mysql is down, but it is not when I check the status via:
Any help appreciated!
[2019-09-18 13:44:21 +0000] info [restartsrv_spamd] systemd failed to start the service "spamd" (The "/usr/bin/systemctl restart spamd.service --no-ask-password" command (process 4412) reported error number 1 when it ended.): Job for spamd.service failed because a timeout was exceeded. See "systemctl status spamd.service" and "journalctl -xe" for details.
[2019-09-18 13:44:26 +0000] info [restartsrv_spamd] The service 'spamd' failed to restart. Trying '/usr/local/cpanel/3rdparty/perl/528/bin/spamd'.
If I try to restart dnsadmin, I get the same type of message. Also, service status page shows all services down, though this is not true. For example, it shows mysql is down, but it is not when I check the status via:
/scripts/restartsrv_mysql --statusAny help appreciated!
-
I just checked /var/log/chkservd.log and found these lines: spamd [[check command:-][check command output:Died at /usr/local/cpanel/Cpanel/ServiceManager/Services/Spamd.pm line 192. ...propagated at /usr/local/cpanel/Cpanel/ServiceManager/Services/Spamd.pm line 204.
Line 192 of /usr/local/cpanel/Cpanel/ServiceManager/Services/Spamd.pm : Cpanel::SpamAssassin::Constants::EX_UNAVAILABLE();0 -
Spamd, dnsadmin, and tailwatchd time out issue on multiple servers today. Same error while restarting these services : info [restartsrv_dnsadmin] systemd failed to start the service "dnsadmin" (The "/usr/bin/systemctl restart dnsadmin.service --no-ask-password" command (process 4564) reported error number 1 when it ended.): Job for dnsadmin.service failed because a timeout was exceeded. See "systemctl status dnsadmin.service" and "journalctl-xe" for details. "failed. 0 -
Waiting for "spamd" to start ""info [restartsrv_spamd] systemd failed to start the service "spamd" (The "/usr/bin/systemctl restart spamd.service --no-ask-password" command (process 23321) reported error number 1 whenit ended.): Job for spamd.service failed because a timeout was exceeded. See "systemctl status spamd.service" and "journalctl -xe" for details. "Waiting for spamd,spamd -d to shutdown ... not running. info [restartsrv_spamd] The service 'spamd' failed to restart. Trying '/usr/local/cpanel/3rdparty/perl/528/bin/spamd'. Cpanel::Exception::Services::StartError Service Status Service Error (XID 5k5qzh) The "spamd" service failed to start. Startup Log Sep 18 15:47:21 server spamd[23392]: prefork: child states: II Sep 18 15:47:23 server spamd[23392]: prefork: killing failed child 23396 fd=7 at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/Mail/SpamAssassin/SpamdForkScaling.pm line 168. Sep 18 15:47:23 server spamd[23392]: prefork: killed child 23396 Sep 18 15:47:23 server spamd[23392]: prefork: killing failed child 23397 fd=8 at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/Mail/SpamAssassin/SpamdForkScaling.pm line 168. Sep 18 15:47:23 server spamd[23392]: prefork: killed child 23397 Sep 18 15:47:23 server systemd[1]: Can't open PID file /var/run/spamd.pid (yet?) after start: Too many levels of symbolic links Sep 18 15:48:46 server systemd[1]: spamd.service start operation timed out. Terminating. Sep 18 15:48:46 server systemd[1]: Failed to start Apache SpamAssassin" deferral daemon. Sep 18 15:48:46 server systemd[1]: Unit spamd.service entered failed state. Sep 18 15:48:46 server systemd[1]: spamd.service failed. Log Messages Sep 18 15:47:23 server spamd[23392]: prefork: killed child 23397 0
Please sign in to leave a comment.
Comments
5 comments