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 :
[EMAIL PROTECTED]:~/debian/mainteneur/fastphase$ sudo /etc/init.d/spamassassin
stop
Stopping SpamAssassin Mail Filter Daemon: No /usr/bin/perl found running; none
killed.
spamd.
[EMAIL PROTECTED]:~/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 :
[EMAIL PROTECTED]:~/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 :
[EMAIL PROTECTED]:~/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 :
[EMAIL PROTECTED]:~/debian/mainteneur/fastphase$ ls /var/lib/spamassassin/
3.001001/ 3.002000/ 3.002001/ 3.002003/ 3.002004/ compiled/
[EMAIL PROTECTED]:~/debian/mainteneur/fastphase$ ls
/var/lib/spamassassin/compiled/3.00200
3.002000/ 3.002001/ 3.002003/ 3.002004/
[EMAIL PROTECTED]:~/debian/mainteneur/fastphase$ sudo mv
/var/lib/spamassassin/compiled /tmp
[EMAIL PROTECTED]:~/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
[EMAIL PROTECTED]:~/debian/mainteneur/fastphase$ ls
/var/lib/spamassassin/compiled
3.002004
[EMAIL PROTECTED]:~/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
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]