Spamassassin

Issues related to applications and software problems
Post Reply
Blisk
Posts: 316
Joined: 2011/07/04 14:49:51
Contact:

Spamassassin

Post by Blisk » 2011/09/04 19:35:54

I don't know what's happend but spamassasin stops to work.

I get this error when I try to start.
I checked all perl modules and all is installed

Executing /etc/rc.d/init.d/spamassassin start ..

Starting spamd: Can't locate NetAddr/IP.pm in @INC (@INC contains: /usr/share/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5) at /usr/share/perl5/Mail/SpamAssassin/NetSet.pm line 25.
BEGIN failed--compilation aborted at /usr/share/perl5/Mail/SpamAssassin/NetSet.pm line 25.
Compilation failed in require at /usr/share/perl5/Mail/SpamAssassin/Conf.pm line 86.
BEGIN failed--compilation aborted at /usr/share/perl5/Mail/SpamAssassin/Conf.pm line 86.
Compilation failed in require at /usr/share/perl5/Mail/SpamAssassin.pm line 71.
BEGIN failed--compilation aborted at /usr/share/perl5/Mail/SpamAssassin.pm line 71.
Compilation failed in require at /usr/bin/spamd line 85.
BEGIN failed--compilation aborted at /usr/bin/spamd line 85.
[FAILED]

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Spamassassin

Post by TrevorH » 2011/09/04 21:21:22

[code]
# yum provides \*/NetAddr/IP.pm
Loaded plugins: changelog, downloadonly, fastestmirror, priorities, protectbase, security

perl-NetAddr-IP-4.027-5.el5_6.x86_64 : Manages IPv4 and IPv6 addresses and subnets
Repo : cr
Matched from:
Filename : /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/NetAddr/IP.pm
[/code]

Blisk
Posts: 316
Joined: 2011/07/04 14:49:51
Contact:

Re: Spamassassin

Post by Blisk » 2011/09/05 18:25:03

Package perl-NetAddr-IP-4.044-1.el5.rf.x86_64 already installed and latest version
Nothing to do

I found where problem is when installing spamassassin with yum, it download perl-NetAddr-IP-4.044-1.el5 and spamassassin.
I did install manually perl-NetAddr-IP-4.043-1.el6 and after that spamassassin with yum.
Now it works OK.

r_hartman
Posts: 711
Joined: 2009/03/23 15:08:11
Location: Netherlands
Contact:

Spamassassin

Post by r_hartman » 2011/09/07 09:42:29

[quote]Repo : cr[/quote]
There is no cr repo for RHEL6 (yet?). You seem to have configured the 5.7 cr repo under CentOS6

Edit: The cr repo came from [b]Trevor[/b]'s output.

But you must have CentOS5 repo's configured somewhere; either that or your $releasever is being reported as 5. Did you do a clean install of CentOS6 or have you attempted to upgrade an existing CentOS5 installation?

Post Reply