I logged in to webmin today and updated (beside some others) Spamassassin.
After the update (and reboot) Spamassassin seems not to work. Here is what a restart did:
[root@vps]# /etc/init.d/spamassassin restart Stopping spamd: [FAILED] Starting spamd: child process [5857] exited or timed out without signaling production of a PID file: exit 255 at /usr/bin/spamd line 2588. [FAILED] [root@vps]#
(Since SPAM really annoys me and I am a bit impatient too I googled while checking this issue and found:)
I should after the upgrade run:
sa-update -D
I did that, and then:
/etc/init.d/spamassassin restart
...and it worked fine.
I post that solved issue anyway in case somebody else got this error.
Huh, I've never actually run into an issue where sa-update needed to be manually run after the SpamAssassin update.
Do you know if you by chance pulled SpamAssassin in from another repository other than the standard one provided by your distro?
I'm glad you got it working though!
-Eric
I don't know, I can check that if you like to know. But then, how to check?
What Linux distribution are you using?
-Eric
I use CentOS (not the very latest)
Cool -- what do you see if you run this command:
rpm -qa | grep spamassassin
Thanks!
-Eric
Here is what I get:
[root@vps]# rpm -qa | grep spamassassin
spamassassin-3.3.1-3.el5.rf
Yeah, that SpamAssassin package you're using came from an RPMForce/DAG repository (that's what the .rf at the end means).
I'd suggest being cautious about using packages from alternate repositories, as unusual things can sometimes happen ;-)
-Eric
Here is what I did now:
[root@vps]# cd /etc/yum.repos.d
[root@vps yum.repos.d]# dir
CentOS-Base.repo
CentOS-Media.repo
mirrors-rpmforge
rpmforge.repo
virtualmin.repo
Is there anything harmful or dangerous? I rather use only one source, if that's possible. I just want a basic stable system that runs fine.
The rpmforge related repositories you have there aren't default repos for a CentOS system with Virtualmin.
Some packages in it may work great, but others are known to conflict with Virtualmin packages.
So, my suggestion is that if you want to use it, to only pull down certain packages from it, the ones you require.
-Eric
Ok, I deleted mirrors-rpmforge & rpmforge.repo
BTW, the new Spamassassin seem to work much better. Spam rate is way down.
"sa-update -D" fixed it and made sense.
Thanks a bunch