Spamd service wont start
Checking WHM Service Status, I can see that "spamd" service is not running.
Trying to run this command:
/usr/local/cpanel/scripts/restartsrv_spamd
Gives me the following error:
Gives me the following error:
Waiting for "spamd" to start ""warn [restartsrv_spamd] The 'spamd' service's PID file '/var/run/spamd.pid' did not appear after 10 seconds.
"info [restartsrv_spamd] The service 'spamd' failed to restart. Trying '/usr/local/cpanel/3rdparty/perl/524/bin/spamd'.
"failed.
Cpanel::Exception::Services::StartError
Service Error
(XID 4mrv5z) The "spamd" service failed to start.
Startup Log
child process [3612] exited or timed out without signaling production of a PID file: exit 255 at /usr/local/cpanel/3rdparty/perl/524/bin/spamd line 3093.
Log Messages
Jun 23 16:42:44 arcturus spamd[3609]: child process [3612] exited or timed out without signaling production of a PID file: exit 255 at /usr/local/cpanel/3rdparty/perl/524/bin/spamd line 3093.
Jun 23 16:42:43 arcturus spamd[3612]: spamd: cannot create /tmp/spamd-3612-init: Too many links at /usr/local/cpanel/3rdparty/perl/524/bin/spamd line 3152.
Jun 23 16:42:43 arcturus spamd[3609]: logger: removing stderr method
-
Jun 23 16:42:43 arcturus spamd[3612]: spamd: cannot create /tmp/spamd-3612-init: Too many links at /usr/local/cpanel/3rdparty/perl/524/bin/spamd line 3152.
Hello, Could you try moving those symbolic links out of the way and then restart SpamAssassin to see if that helps? EX:mkdir /root/old-spamd-links cd /tmp mv -v spamd-* /root/old-spamd-links/ /scripts/restartsrv_spamd
Thank you.0 -
The command: mv -v spamd-* /root/old-spamd-links/
gives me this error: mv: cannot stat `spamd-*': No such file or directory
spamd is not the only service down. mailman service failed to start to. Trying to start it manually, gives me the following: Waiting for "mailman" to start ""failed. Cpanel::Exception::Services::StartError Service Error (XID w37477) The "mailman" service failed to start. Startup Log Traceback (most recent call last): File "/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 556, in main() File "/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 391, in main lock = acquire_lock(force) File "/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 215, in acquire_lock lock = acquire_lock_1(force) File "/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 203, in acquire_lock_1 if not force or qrunner_state(): File "/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 187, in qrunner_state os.kill(pid, 0) OSError: [Errno 1] Operation not permitted mailman has failed. Contact your system administrator if the service does not automatically recover.
Tomcat down after kernel update I think the problem is caused by the same reason explained here:0 -
Hello, Could you open a support ticket using the link in my signature so we can take a closer look? Thanks. 0 -
Done! My Support Request ID is: 8640521 0 -
I had problems with Tomcat as described here: Tomcat down after kernel update which I believe generates a lot of error logs. As I know, there's a limit of about 32,000 links per inode, for this reason, spamd was not able to create PID file. I moved to another folder all error logs, now all services are working perfectly. Thanks 0 -
I moved to another folder all error logs, now all services are working perfectly.
I'm glad to see the issue was addressed. Thank you for updating us with the outcome.0
Please sign in to leave a comment.
Comments
6 comments