Spamd not starting in server

In some cases spamd doesn’t start along with exim in the server. To fix it use the following commands:

sa-learn -D –force-expire
sa-update -D
/usr/local/cpanel/scripts/spamassassin_dbm_cleaner
f/usr/local/cpanel/scripts/fixspamassassinfailedupdate
/scripts/restartsrv_spamd

If above does not fix the issue, use the following command in the server which installs spamd:

/scripts/installspam

It is also necessary that interface localhost is UP in the server:

check :

ifconfig| grep l0

if not do:

ifup l0