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]
Spamassassin
Re: Spamassassin
[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]
# 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]
Re: Spamassassin
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.
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.
Spamassassin
[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?
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?