You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Brian J. Murrell" <br...@interlinx.bc.ca> on 2009/01/20 22:14:11 UTC

Can't locate object method "new" via package "Net::DNS::RR::TXT"

I seem to be getting a lot of these in the last 36h:


12:02:26 spamd Can't locate object method "new" via package "Net::DNS::RR::TXT" at /usr/lib/perl5/Net/DNS/RR.pm line 305.
12:02:26 spamd caught at /usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 419

Any ideas why?

b.


RE: Can't locate object method "new" via package "Net::DNS::RR::TXT"

Posted by Michael Hutchinson <mh...@manux.co.nz>.
Hello,

I once had this problem. It was caused by an improper/incomplete upgrade of Spamassassin. Perl modules actually, some had been downloaded and added to the system via CPAN, which were supposed to go with a new Spamassassin binary. The binary was never installed however, and we had lots of problems like the "can't locate object method" error. 

Investigating the Perl modules afterwards, it was clear that some were a new version, while others were the old version - God only knows how that happened (probably misuse of CPAN). Restoring the old perl modules from backup fixed the issue. 

HTH
Cheers,
Michael Hutchinson

-----Original Message-----
From: mouss [mailto:mouss@ml.netoyen.net] 
Sent: Thursday, 22 January 2009 9:40 a.m.
To: users@spamassassin.apache.org
Subject: Re: Can't locate object method "new" via package "Net::DNS::RR::TXT"

Brian J. Murrell a écrit :
> I seem to be getting a lot of these in the last 36h:
> 
> 
> 12:02:26 spamd Can't locate object method "new" via package "Net::DNS::RR::TXT" at /usr/lib/perl5/Net/DNS/RR.pm line 305.
> 12:02:26 spamd caught at /usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 419
> 
> Any ideas why?
>


probably a bug in one of: Net::DNS or Mail::SPF or Mail::SPF::Query.

Re: Can't locate object method "new" via package "Net::DNS::RR::TXT"

Posted by mouss <mo...@ml.netoyen.net>.
Brian J. Murrell a écrit :
> I seem to be getting a lot of these in the last 36h:
> 
> 
> 12:02:26 spamd Can't locate object method "new" via package "Net::DNS::RR::TXT" at /usr/lib/perl5/Net/DNS/RR.pm line 305.
> 12:02:26 spamd caught at /usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 419
> 
> Any ideas why?
>


probably a bug in one of: Net::DNS or Mail::SPF or Mail::SPF::Query.