Spamd, dnsadmin, and tailwatchd issues

Status
Not open for further replies.

pmcgilli

Registered
Sep 9, 2007
3
0
51
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:

Code:
[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:

Code:
/scripts/restartsrv_mysql --status
Any help appreciated!
 

pmcgilli

Registered
Sep 9, 2007
3
0
51
I just checked /var/log/chkservd.log and found these lines:

Code:
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();
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Hello @pmcgilli,

This is discussed at:


Please add comments or questions to that thread.

Thanks!
 

jisha

Member
Dec 9, 2003
7
0
151
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.
 
Last edited by a moderator:

jisha

Member
Dec 9, 2003
7
0
151
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Hello @jisha,

This is discussed at:


Please add comments or questions to that thread.

Thanks!
 
  • Like
Reactions: jisha
Status
Not open for further replies.