Cron update failure for spamassassin?

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
Choji
Forum User
Forum User
Posts: 28
Joined: Mon Sep 10, 2012 10:00 am
Location: United Kingdom

Cron update failure for spamassassin?

Unread post by Choji »

Got a message from our Cron Daemon:
Subject: Cron <root@our_plesk_server> /usr/share/spamassassin/sa-update.cron 2>&1 | tee -a /var/log/sa-update.log

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 child process [9373] exited or timed out without signaling production of a PID file: (no status) at /usr/bin/spamd line 2642.
Can anyone help me understand what this is this saying?
biggles
Forum Regular
Forum Regular
Posts: 806
Joined: Tue Jul 15, 2008 2:38 pm
Location: Sweden
Contact:

Re: Cron update failure for spamassassin?

Unread post by biggles »

Choji
Forum User
Forum User
Posts: 28
Joined: Mon Sep 10, 2012 10:00 am
Location: United Kingdom

Re: Cron update failure for spamassassin?

Unread post by Choji »

Thank you very much Biggles.

Still a bit unsure, though.
My perl-Net-DNS is version 0.59, so do I have to upgrade to version 0.66?
Also the release doesn't have the .rfx of the RepoForge Extras repo tag.
Is there something I need to correct this?
[root@our_plesk_server]# rpm -qi perl-Net-DNS
Name : perl-Net-DNS Relocations: (not relocatable)
Version : 0.59 Vendor: CentOS
Release : 3.el5 Build Date: Thu 12 Jul 2007 03:13:48 PM BST
Install Date: Fri 08 Apr 2011 06:58:01 PM BST Build Host: builder6
Group : Development/Libraries Source RPM: perl-Net-DNS-0.59-3.el5.src.rpm
Size : 445481 License: GPL or Artistic
Signature : DSA/SHA1, Fri 13 Jul 2007 12:33:35 AM BST, Key ID a8a447dce8562897
URL : http://www.net-dns.org/
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.
biggles
Forum Regular
Forum Regular
Posts: 806
Joined: Tue Jul 15, 2008 2:38 pm
Location: Sweden
Contact:

Re: Cron update failure for spamassassin?

Unread post by biggles »

It's a bit out of my depth here, but updating to 0.66 fixed the problem for me.
Choji
Forum User
Forum User
Posts: 28
Joined: Mon Sep 10, 2012 10:00 am
Location: United Kingdom

Re: Cron update failure for spamassassin?

Unread post by Choji »

There seems to be even later versions here,
http://rpmfind.net/linux/rpm2html/searc ... rl-Net-DNS

Shouldn't there be some kind of automatic upgrading mechanism?

yum upgrade doesn't seem to work

I've manually downloaded using wget
perl-Net-DNS-0.66-1.el5.rfx.x86_64.rpm
and tried to run
rpm --upgrade perl-Net-DNS-0.66-1.el5.rfx.x86_64.rpm
but I get a dependency error:
error: Failed dependencies:
perl(Digest::SHA) is needed by perl-Net-DNS-0.66-1.el5.rfx.x86_64
Choji
Forum User
Forum User
Posts: 28
Joined: Mon Sep 10, 2012 10:00 am
Location: United Kingdom

Re: Cron update failure for spamassassin?

Unread post by Choji »

Just to clarify with yum
[root@our_plesk_server]# yum info perl-Net-DNS
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* asl-3.0: www6.atomicorp.com
* atomic: www7.atomicorp.com
* base: mirror01.th.ifl.net
* extras: mirror01.th.ifl.net
* rpmforge: www.mirrorservice.org
* updates: mirror01.th.ifl.net
atomic | 1.9 kB 00:00
Not using downloaded repomd.xml because it is older than what we have:
Current : Fri Oct 19 00:22:20 2012
Downloaded: Wed Sep 26 20:09:04 2012
base | 1.1 kB 00:00
extras | 1.9 kB 00:00
rpmforge | 1.9 kB 00:00
updates | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Installed Packages
Name : perl-Net-DNS
Arch : x86_64
Version : 0.59
Release : 3.el5
Size : 435 k
Repo : installed
Summary : DNS resolver modules for Perl
URL : http://www.net-dns.org/
License : GPL or Artistic
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.
[root@our_plesk_server]# yum update perl-Net-DNS
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* asl-3.0: www6.atomicorp.com
* atomic: www7.atomicorp.com
* base: mirror01.th.ifl.net
* extras: mirror01.th.ifl.net
* rpmforge: www.mirrorservice.org
* updates: mirror01.th.ifl.net
Excluding Packages in global exclude list
Finished
Setting up Update Process
No Packages marked for Update
Choji
Forum User
Forum User
Posts: 28
Joined: Mon Sep 10, 2012 10:00 am
Location: United Kingdom

Re: Cron update failure for spamassassin?

Unread post by Choji »

Installed perl-Digest-SHA and ran the rpm upgrade for perl-Net-DNS-0.66.

I didn't get the notification from the cron daemon and Spamassassin hasn't stopped working so I'm guessing my problem is solved.

Many thanks, Biggles!
biggles
Forum Regular
Forum Regular
Posts: 806
Joined: Tue Jul 15, 2008 2:38 pm
Location: Sweden
Contact:

Re: Cron update failure for spamassassin?

Unread post by biggles »

My pleasure!
Post Reply