You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by al...@twobikes.ottawa.on.ca on 2005/06/17 22:50:49 UTC
Perl incompatibility causes spamc/spamd to fail
I'm running SpamAssassin 3.0.4 on a SuSE Linux 8.2 box.
Ever since I ugraded to SA 3.0.1 and in all subsequent revs, SA installs
just fine, the spamassassin binary works perfectly, but spamc/spamd fail
miserably.
spamd starts fine and ps ax shows it running fine. However when I run
spamc:
cat SpamMessage | spamc -x
I get a return status of 74 (EX_IOERR) and no spam headers inserted in the
message on stdout.
If I run
cat SpamMessage | spamassassin
everything works perfectly, and spam headers are inserted in the message
on stdout.
Looking at /var/log/mail, I noticed the following:
Jun 17 16:30:55 pannier spamd[18747]: error: &Time::HiRes::constant not defined
at /usr/lib/perl5/5.8.0/i586-linux-thread-multi/Time/HiRes.pm line 25._ Illegal seek, continuing
Jun 17 16:31:00 pannier spamd[18748]: error: &Time::HiRes::constant not defined
at /usr/lib/perl5/5.8.0/i586-linux-thread-multi/Time/HiRes.pm line 25._ Illegal seek, continuing
There seems to be a perl incompatibiluty problem here. Is there any way of
just fixing this, without possibly killing my entire system? I am very
reluctant to update perl overall because of worries it could break all
sorts of unexpected applications.
--
Alayne McGregor
alayne at twobikes.ottawa.on.ca
"But war's a game, which,
Were their subjects wise,
Kings would not play at." -- William Cowper (1731-1800)
Re: Perl incompatibility causes spamc/spamd to fail
Posted by Theo Van Dinter <fe...@apache.org>.
On Fri, Jun 17, 2005 at 04:50:49PM -0400, alayne@twobikes.ottawa.on.ca wrote:
> Jun 17 16:31:00 pannier spamd[18748]: error: &Time::HiRes::constant not defined
> at /usr/lib/perl5/5.8.0/i586-linux-thread-multi/Time/HiRes.pm line 25._ Illegal seek, continuing
>
> There seems to be a perl incompatibiluty problem here. Is there any way of
> just fixing this, without possibly killing my entire system? I am very
> reluctant to update perl overall because of worries it could break all
> sorts of unexpected applications.
Just fix Time::HiRes, which seems obviously broken. Don't need to
upgrade perl to do that. :)
--
Randomly Generated Tagline:
"Well, here we are, almost a full month into the new year and I'm still
writing "I can't believe George W. Bush is the president" on all my
checks..." - Dennis Miller
Re: Perl incompatibility causes spamc/spamd to fail
Posted by Anthony Edwards <an...@uk.easynet.net>.
On Fri, Jun 17, 2005 at 04:50:49PM -0400, alayne@twobikes.ottawa.on.ca wrote:
> I'm running SpamAssassin 3.0.4 on a SuSE Linux 8.2 box.
>
> Ever since I ugraded to SA 3.0.1 and in all subsequent revs, SA installs
> just fine, the spamassassin binary works perfectly, but spamc/spamd fail
> miserably.
>
> spamd starts fine and ps ax shows it running fine. However when I run
> spamc:
>
> cat SpamMessage | spamc -x
>
> I get a return status of 74 (EX_IOERR) and no spam headers inserted in the
> message on stdout.
>
> If I run
>
> cat SpamMessage | spamassassin
>
> everything works perfectly, and spam headers are inserted in the message
> on stdout.
>
> Looking at /var/log/mail, I noticed the following:
>
> Jun 17 16:30:55 pannier spamd[18747]: error: &Time::HiRes::constant not defined
> at /usr/lib/perl5/5.8.0/i586-linux-thread-multi/Time/HiRes.pm line 25._ Illegal seek, continuing
> Jun 17 16:31:00 pannier spamd[18748]: error: &Time::HiRes::constant not defined
> at /usr/lib/perl5/5.8.0/i586-linux-thread-multi/Time/HiRes.pm line 25._ Illegal seek, continuing
>
> There seems to be a perl incompatibiluty problem here. Is there any way of
> just fixing this, without possibly killing my entire system? I am very
> reluctant to update perl overall because of worries it could break all
> sorts of unexpected applications.
This is a known issue in fact, explained at:
http://thread.gmane.org/gmane.mail.spam.spamassassin.general/56501
If you edit /etc/init.d/spamd to change the line:
SPAMD_BIN=/usr/sbin/spamd
To read:
SPAMD_BIN=/usr/bin/spamd
Then stop and restart spamd and use the YaST Runlevel Editor to
configure spamd to automatically start in runlevels 3 & 5, that should
provide a resolution for you.
--
Anthony Edwards
anthony.edwards@uk.easynet.net