[Dovecot] Problems with dovecot 2.1.7, spamassassin 3.3.2 and antispam plugin

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Mon Nov 11 09:31:28 EET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 8 Nov 2013, Dean Carpenter wrote:

> Running /usr/bin/sa-learn directly always returns with an error code of
> 1, and the bayes DB isn't actually updated.  Running the
> /usr/local/bin/sa-learn-pipe.sh script from the example will run
> sa-learn successfully, but sa-learn fails partway through, right on a
> sql DB access.  I have both bayes and FuzzyOcr data stored in mysql, and
> the error occurs on accessing either one.  That is, I've tested with
> FuzzyOcr enabled, and it fails on the db access to the FuzzyOcr DB, and
> I've tried it with FuzzyOcr disabled.  In that case, it fails on the
> access to the bayes DB.
>
> The error line right there is :
>
>        libgcc_s.so.1 must be installed for pthread_cancel to work
>
> Since sa-learn terminated prematurely, the bayes DB isn't updated at all.

But this is not a Dovecot problem, isn't it? Antispam calls sa-learn, but 
that program fails.

Do you have the system library libgcc_s installed as the error message 
says?

Search the net for that error message, see: 
https://lists.ubuntu.com/archives/foundations-bugs/2012-March/070050.html

If you are on a 64bit system, maybe sa-learn is compiled 32bit only, then 
the library must be installed as 32bit version as well.

> 4505 sa-learn rc=134 id=uid=108(Debian-exim) gid=113(Debian-exim)
> groups=113(Debian-exim) HOME=
> 4505-sa-learn libgcc_s.so.1 must be installed for pthread_cancel to work
> 4505-end

> Nov  8 09:44:57 newgalah1 imap: antispam: running mailtrain backend
> program parameter 1 --spam
> Nov  8 09:44:58 newgalah1 imap: antispam: run program failed with exit
> code -1

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUoCH0F3r2wJMiz2NAQKypwf+M63gGswfoTkNqB0VB/TgK47hb8GQfwNj
S6WpypdiSUbVU9NkHezdKmQNmSEyGP/34UChacNCtUbezRV77j/vc1kb/Uap+Z76
cETR5m0zFt5Svl84lm14027ZU9Ph5O0ddr2NTi1NJqmos4V8zBw2C6OfD85vFN1T
HDPz6e1h8mIFKhoisudbHt/2KcQkkPA9NinGnSgtpyyGwX7pVghQ6Hb4XD5xD/7F
HTXqOit52NvzDn2tflIWxdyOIbAxN5wU4q5tWvA0ZckCbAqpc9o+zbAYZm8nOqmo
lm+oaaBpKNbPyScQTFTn7ccmm2GDsxxUEQ6ubX7GxPXOnQvuHjMefg==
=Xew9
-----END PGP SIGNATURE-----


More information about the dovecot mailing list