Problems after a Debian testing bogofilter upgrade

David Relson relson at osagesoftware.com
Sat Oct 15 22:08:45 CEST 2005


On Sat, 15 Oct 2005 16:51:25 -0300
Martín Marqués wrote:

> El Sáb 15 Oct 2005 14:38, escribió:
> > On Sat, 15 Oct 2005 10:26:35 -0300
> > 
> > Hi Martin,
> > 
> > As a quick answer, No, I don't know why the debian upgrade on your
> > SPARC machine isn't working.  You'll need to run some quick manual
> > tests to see how well bogofilter is working.
> > 
> > Can you run bogofilter from the command line?  Do you have any abnormal
> > output?  Here are commands to try:
> > 
> >    bogofilter -V
> >    bogofilter -Q
> >    echo this is a test message | bogofilter -vvv -H
> >    echo this is a test message | bogofilter -vvv -H -x d
> > 
> > Attached are my outputs.  Yours should be similar.  Feel free to post
> > all your outputs on the list.
> 
> martin at bugs:~$ bogofilter -V
> bogofilter version 0.96.2
>     Database: Sleepycat Software: Berkeley DB 4.3.28: (April 22, 2005) AUTO-XA
> Copyright (C) 2002-2005 Eric S. Raymond,
>     David Relson, Matthias Andree, Greg Louis
> 
> bogofilter comes with ABSOLUTELY NO WARRANTY.  This is free software, and
> you are welcome to redistribute it under the General Public License.  See
> the COPYING file with the source distribution for details.
> 
> martin at bugs:~$ bogofilter -Q
> Abortado
> martin at bugs:~$ echo this is a test message | bogofilter -vvv -H
> Abortado
> martin at bugs:~$ echo this is a test message | bogofilter -vvv -H -x d
> Abortado

Something is seriously wrong with the debian build.  

The failure of "bogofilter -Q" suggests that there's a problem reading
bogofilter's config file or a problem reading the database. 

Try creating a new directory and wordlist, i.e.:

   mkdir test.1015
   echo this is a test | bogofilter -d test.1015 -n -v
   ls -l test.1015/*

One thought is that debian has changed from Berkeley DB 4.2.x to 4.3.x
and Berkeley DB is aborting.  If that turns out to be the case, you'll
have to do one of 2 thing:

1 - delete your wordlist.db and start over
2 - downgrade to the older bogofilter, use "bogoutil -d" to dump the
old wordlist, upload to the new bogofilter, delete wordlist.db, use
"bogoutil -l" to load your wordlist into wordlist.db


Using strace will give info as to what bogofilter was trying to do,
notably how far it's gotten opening files.  Several things to try:

  strace -feopen bogofilter -Q
  strace -feopen bogofilter -Q -C
  strace bogofilter -Q

I've attached my output for the "strace ... -Q -C" command

Alternatively, you might want to download a source tarball and build
your own copy.  You can get the tarball from:

   ftp.bogofilter.org/pub/outgoing/bogofilter-0.96.2

Its name is bogofilter-0.96.2.tar.gz  Use "./configure && make && make
test" to build and test it.

If you want to send me the strace info, send it direct to me.  I don't
think it's of interest to the list's subscribers.

David

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: strace.feopen.txt
URL: <http://www.bogofilter.org/pipermail/bogofilter/attachments/20051015/dc2ee270/attachment.txt>


More information about the Bogofilter mailing list