Posts tagged Not able to restart spamd service

spamd has failed, please contact the sysadmin

If spamd is not running on your server means there is some problem with installation of SpamAssassin, so to fix this you need to re-install SpamAssassin on the server. Follow the below steps to install SpamAssassin on your server :

[email protected][#] cd /home/.cpan/sources/authors/id/J/JM/JMASON/
here you found spamAssassin tar.gz file.
[email protected] [/home/.cpan/sources/authors/id/J/JM/JMASON]# ll

total 1196
drwxr-xr-x 3 root root 4096 Mar 13 16:11 ./
drwxr-xr-x 5 root root 4096 Mar 13 16:07 ../
-rw-r–r– 1 root root 4179 Mar 13 16:07 CHECKSUMS
drwxr-xr-x 11 mysql bin 4096 Mar 16 2010 Mail-SpamAssassin-3.3.1/
-rw-r–r– 1 root root 1196842 Mar 13 16:07 Mail-SpamAssassin-3.3.1.tar.gz

Now copy CHECKSUMS in /home/.cpan/sources/authors/id/cPCPAN/
[email protected][/home/.cpan/sources/authors/id/J/JM/JMASON]#
cp CHECKSUMS /home/.cpan/sources/authors/id/cPCPAN/

[email protected][#] /scripts/perlinstaller --force Mail::SpamAssassin

This will forcefully install SpamAssassin

Finally restart the exim service this will update the spam database
Now check the status, it will surely work for you now.
[email protected][#] /scripts/restartsrv_spamd --status
 spamd (spamd child) running as root with PID 9821

That’s all easy isn’t it.