Your message dated Sun, 8 Nov 2009 15:10:45 +0200
with message-id <[email protected]>
and subject line spamassassin: sa-compile problem with perl 5.10.x was fixed in
SA v3.2.5
has caused the Debian Bug report #479865,
regarding spamassassin: Bad handling of perl transition with sa-compile (spamd
cannot run anymore)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
479865: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479865
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: spamassassin
Version: 3.2.4-2
Severity: important
Hi,
I'm using spamc/spamd to filter my mails. I just discovered that spamd
was unable to run. Note that nothing appairs in the logs. I only got
some messages from spamc but not spamd :
May 19 08:02:05 cayuga spamc[32680]: connect to spamd on 127.0.0.1 failed,
retrying (#1 of 3): Connection refused
Restarting spamd, I get :
vdanj...@cayuga:~/debian/mainteneur/fastphase$ sudo /etc/init.d/spamassassin
stop
Stopping SpamAssassin Mail Filter Daemon: No /usr/bin/perl found running; none
killed.
spamd.
vdanj...@cayuga:~/debian/mainteneur/fastphase$ sudo /etc/init.d/spamassassin
start
Starting SpamAssassin Mail Filter Daemon: spamd.
But spamd is not running at all
Starting it manually, I got :
vdanj...@cayuga:~/debian/mainteneur/fastphase$ sudo /usr/sbin/spamd
--create-prefs --max-children 5 --helper-home-dir --pidfile=/var/run/spamd.pid
/usr/bin/perl: symbol lookup error:
/var/lib/spamassassin/compiled/3.002004/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so:
undefined symbol: Perl_Tstack_sp_ptr
Then, I tried :
vdanj...@cayuga:~/debian/mainteneur/fastphase$ sudo sa-compile /usr/bin/perl:
symbol lookup error:
/var/lib/spamassassin/compiled/3.002004/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so:
undefined symbol: Perl_Tstack_sp_ptr
I eventually find a workaround :
vdanj...@cayuga:~/debian/mainteneur/fastphase$ ls /var/lib/spamassassin/
3.001001/ 3.002000/ 3.002001/ 3.002003/ 3.002004/ compiled/
vdanj...@cayuga:~/debian/mainteneur/fastphase$ ls
/var/lib/spamassassin/compiled/3.00200
3.002000/ 3.002001/ 3.002003/ 3.002004/
vdanj...@cayuga:~/debian/mainteneur/fastphase$ sudo mv
/var/lib/spamassassin/compiled /tmp
vdanj...@cayuga:~/debian/mainteneur/fastphase$ sudo sa-compile
[29674] info: generic: base extraction starting. this can take a while...
[...]
Appending installation info to
/var/lib/spamassassin/compiled/3.002004/perllocal.pod
cp /tmp/.spamassassin29674dY31uttmp/bases_body_0.pl
/var/lib/spamassassin/compiled/3.002004/bases_body_0.pl
cd /
rm -rf /tmp/.spamassassin29674dY31uttmp
nj...@cayuga:~/debian/mainteneur/fastphase$ ls /var/lib/spamassassin/compiled
3.002004
vdanj...@cayuga:~/debian/mainteneur/fastphase$
I think the problem is that the previous versions where compiled with
perl 5.8 and now my system has perl 5.10.
spamassassin (spamd) should handle this transition (for example by deleting
bad compiled files or, at least, printing a BIG warning).
Best regards,
Vincent
PS: I will keep the old /var/lib/spamassassin/compiled directory a few
days if you want to see it.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages spamassassin depends on:
ii libdigest-sha1-perl 2.11-2+b1 NIST SHA-1 message digest algorith
ii libhtml-parser-perl 3.56-1+b1 A collection of modules that parse
ii libnet-dns-perl 0.63-1+b1 Perform DNS queries from a Perl sc
ii libsocket6-perl 0.20-1 Perl extensions for IPv6
ii libsys-hostname-long-perl 1.4-2 Figure out the long (fully-qualifi
ii libwww-perl 5.812-1 WWW client/server library for Perl
ii perl 5.10.0-10 Larry Wall's Practical Extraction
ii perl-modules [libarchive-tar- 5.10.0-10 Core Perl modules
Versions of packages spamassassin recommends:
ii gcc 4:4.2.3-9 The GNU C compiler
ii gnupg 1.4.6-3 GNU privacy guard - a free PGP rep
ii libc6-dev 2.7-11 GNU C Library: Development Librari
ii libmail-spf-perl 2.005-1 Perl implementation of Sender Poli
ii libsys-syslog-perl 0.24-1+b1 Perl interface to the UNIX syslog(
ii make 3.81-4 The GNU version of the "make" util
ii re2c 0.13.3-1 tool for generating fast C-based r
ii spamc 3.2.4-2 Client for SpamAssassin spam filte
-- no debconf information
--- End Message ---
--- Begin Message ---
Package: spamassassin
Version: 3.2.5-2+lenny1
According to the bug report from [1] the problem was fixed in v3.2.5,
revision 660442.
Thanks
[1] https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5899
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- End Message ---