Problem after upgrade

Markus T. markus at trippelsdorf.net
Sun Jul 11 03:18:51 EDT 2004


Hi Matthias,
(inline)
Am Sat, 10 Jul 2004 22:48:29 +0200 schrieb Matthias Andree:
> On Fri, 09 Jul 2004, Markus T. wrote:
> 
>> Am Fri, 09 Jul 2004 16:08:33 -0400 schrieb David Relson:
> 
>> > bogoutil -d goodlist.db > goodlist.txt
>> > bogoutil -d spamlist.db > spamlist.txt
>> 
>> the last command gives me this error message:
>> bogoutil: (db) DB->open(./spamlist.db) - actually ./spamlist.db
>> bogohome: . -, err: 22, Invalid argument
>> Can't open file 'spamlist.db'
> 
> Markus,
> 
> this looks like your new bogofilter might be using a different data base
> version than the old one. How exactly did you do the upgrade?
> 
> What do these commands print:
> 
> ldd `which bogofilter`
        linux-gate.so.1 =>  (0xffffe000)
        libdb-4.1.so => /usr/lib/libdb-4.1.so (0x4de54000)
        libm.so.6 => /lib/libm.so.6 (0x4de30000)
        libc.so.6 => /lib/libc.so.6 (0x4dcff000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4dce1000)
> file ./spamlist.db
./spamlist.db: Berkeley DB (Btree, version 9, native byte-order)
> file ./goodlist.db
./goodlist.db: Berkeley DB (Btree, version 9, native byte-order)

> 
> Can you reinstall the older version (with RPM, pass --oldpackage) and
> use the older bogoutil -d on your files? If so, save the output of
> bogoutil -d, we'll then see how we load that into your new bogofilter
> version.
> 
~/.bogofilter $ db4_dump ./spamlist.db 
db_dump: ./spamlist.db: unsupported btree version: 9
db_dump: open: ./spamlist.db: Invalid argument

~/.bogofilter $ db4.1_dump ./spamlist.db 
db_dump: ./spamlist.db: file size not a multiple of the pagesize
db_dump: open: ./spamlist.db: Invalid argument

I'm on gentoo, so IMHO both the old and the new version get linked to
berkeleydb 4.1.

__
Markus



More information about the Bogofilter mailing list