store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Tue Jun 18, 2013 5:30 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 25 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: SpamAssassin 3.3.2
Unread postPosted: Wed Oct 19, 2011 2:01 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 715
Location: Sweden
Sorry about that. It's not ossec that's e-mailing, it's cron:

Code:
/etc/cron.daily/logrotate:

Subroutine IO::Socket::INET6::AF_INET6 redefined at /usr/lib/perl5/5.8.8/Exporter.pm line 65.
 at /usr/lib/perl5/vendor_perl/5.8.8/IO/Socket/INET6.pm line 16
Subroutine Net::DNS::Resolver::Base::AF_INET6 redefined at /usr/lib/perl5/5.8.8/Exporter.pm line 65.
 at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/Resolver/Base.pm line 66


Top
 Profile  
 
 Post subject: Re: SpamAssassin 3.3.2
Unread postPosted: Sat Oct 22, 2011 12:11 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 715
Location: Sweden
Fixed it. Updated to:

Code:
perl-Net-DNS-0.66-1
perl-IO-Socket-INET6-2.57-2


Top
 Profile  
 
 Post subject: Re: SpamAssassin 3.3.2
Unread postPosted: Sun Jul 08, 2012 6:11 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
Assuming you're using EL5, where did you get that perl-Net-DNS 0.66 package from? AFAIK EL5 comes with perl-Net-DNS 0.59.

Code:
# rpm -q spamassassin perl-IO-Socket-INET6 perl-Net-DNS
spamassassin-3.3.2-7.el5.art.x86_64
perl-IO-Socket-INET6-2.67-1.el5.art.noarch
perl-Net-DNS-0.59-3.el5.x86_64


And I get this message daily ever since installing spamassassin and perl-IO-Socket-INET6 from Atomic:

Quote:
From: Cron Daemon <root@hostname.example.com>
Subject: Cron <root@hostname> /usr/share/spamassassin/sa-update.cron 2>&1 | tee -a /var/log/sa-update.log
To: root@hostname.example.com

Subroutine Net::DNS::Resolver::Base::AF_INET6 redefined at /usr/lib/perl5/5.8.8/Exporter.pm line 65.
at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 66


Anyone got a fix?

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: SpamAssassin 3.3.2
Unread postPosted: Wed Jul 11, 2012 1:11 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 715
Location: Sweden
Using EL5. Can't really remever where I got it. Did I comPile it on my own? One's memery does fail one sometimes... Let me check the logs!


Top
 Profile  
 
 Post subject: Re: SpamAssassin 3.3.2
Unread postPosted: Wed Jul 11, 2012 2:52 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
This should also tell you what machine built it and when it was installed, etc.:

Code:
rpm -qi perl-Net-DNS

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: SpamAssassin 3.3.2
Unread postPosted: Wed Jul 25, 2012 2:43 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
Someone mentions removing the perl-IO-Socket-INET6 package fixes this problem: http://www.davekb.com/browse_computer_t ... efined:txt It doesn't sound like the best solution, since you need to remove the package using --nodeps, and it will probably be installed again with the next update of SpamAssassin, but it's an idea.

Or maybe switch back to the CentOS SpamAssassin 3.3.1 package and its dependencies. It seems 3.3.2 was mainly released to support perl 5.12, which probably not many of us are using since EL5 comes with Perl 5.8 and EL6 comes with Perl 5.10: http://spamassassin.apache.org/news.html

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: SpamAssassin 3.3.2
Unread postPosted: Wed Jul 25, 2012 2:56 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
There's also a long thread about this issue on the spamassassin mailinglist here: http://lists.centos.org/pipermail/cento ... 21652.html

The final fix for a couple of people seems to be downgrading perl-NetAddr-IP from the RepoForge version to the package from the vendor.

I see the problem on servers that don't use RepoForge and have the stock EL5 perl-NetAddr-IP package installed. Maybe the combination of this package and the perl-IO-Socket-INET6 from Atomicorp doesn't work too well?

spamassassin-3.3.2-7.el5.art.x86_64
perl-IO-Socket-INET6-2.67-1.el5.art.noarch
perl-Net-DNS-0.59-3.el5.x86_64
perl-NetAddr-IP-4.027-5.el5_6.x86_64

The error occurs when the SpamAssassin daemon is restarted, not when sa-update is running like the thread's subject suggest. (But the SpamAssassin daemon is restarted after sa-update installs updated rules.)

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: SpamAssassin 3.3.2
Unread postPosted: Sat Jul 28, 2012 11:05 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 715
Location: Sweden
Sorry for not getting back sooner! :oops:

Code:
 rpm -qi perl-Net-DNS
Name        : perl-Net-DNS                 Relocations: (not relocatable)
Version     : 0.66                              Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
Release     : 1.el5.rfx                     Build Date: Wed 17 Nov 2010 05:22:31 PM CET
Install Date: Thu 29 Dec 2011 06:05:09 AM CET      Build Host: lisse.hasselt.wieers.com
Group       : Applications/CPAN             Source RPM: perl-Net-DNS-0.66-1.el5.rfx.src.rpm
Size        : 651920                           License: Artistic/GPL
Signature   : DSA/SHA1, Wed 17 Nov 2010 11:51:52 PM CET, Key ID a20e52146b8d79e6
Packager    : Dag Wieers <dag@wieers.com>
URL         : http://search.cpan.org/dist/Net-DNS/
Summary     : DNS resolver modules for Perl
Description :
Net::DNS is a collection of Perl modules that act as a Domain Name
System (DNS) resolver. It allows the programmer to perform DNS queries
that are beyond the capabilities of gethostbyname and gethostbyaddr.

The programmer should be somewhat familiar with the format of a DNS
packet and its various sections. See RFC 1035 or DNS and BIND (Albitz
& Liu) for details.


Top
 Profile  
 
 Post subject: Re: SpamAssassin 3.3.2
Unread postPosted: Sat Jul 28, 2012 5:22 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
Ah, .rfx is the RepoForge Extras repo tag: http://repoforge.org/faq/

Maybe that newer version of perl-Net-DNS (0.66 versus 0.59 in the EL5 repo) causes the issue to not occur.

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: SpamAssassin 3.3.2
Unread postPosted: Mon Jul 30, 2012 5:31 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 715
Location: Sweden
It looks like it fixes it for EL5, yes. When I installed that the error disappeared...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 25 posts ]  Go to page Previous  1, 2

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group