verify vs recover

David Relson relson at osagesoftware.com
Fri Feb 25 21:16:34 CET 2005


On Fri, 25 Feb 2005 15:47:24 -0300
Andre Galvani wrote:

> David, follow the new test:
> 
> $ uname -a
> Linux riolf81 2.4.27 #1 SMP Wed Oct 27 12:05:50 BRST 2004 i686 i686 i386 
> GNU/Linux
> $ ./bogoutil -V
> bogoutil version 0.93.5
>     Database: Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)
> Copyright (C) 2002-2004 Gyepi Sam, David Relson, Matthias Andree
> 
> 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.
> 
> $ ls -la /tmp/db/
> total 31
> drwxr-xr-x    2 root     root         1024 Feb 25 15:43 .
> drwxrwxrwt    4 root     root         1024 Feb 25 15:42 ..
> -rw-r--r--    1 root     root        28672 Feb 25 15:43 wordlist.db.old
> 
> $ ./bogoutil -xd -vv --db-verify /tmp/db/wordlist.db.old
> trying to lock database directory
> db_env_create: 0xbffff908
> running regular data base recovery
> /tmp/db/__db.001: unable to initialize environment lock: Function not 
> implemented
> bogoutil: Cannot recover environment "/tmp/db": Function not implemented
> 
> I received the same error.
> 
> tks,
> Andre

Nothing obvious in your output :-<   

28672 bytes is a very small database file.  What can you tell me about
it's history?  Being so small, could you gzip it and send it to me?

Also, DB 4.0.14 is older than what I've got on my development machine,
i.e. 4.1.25, 4.2.52, and 4.3.21.  I've just downloaded 4.0.14 source
code and will run "make check" using it.

It _is_ possible that the old version of DB4 doesn't fully support
database recovery.  Is there any chance of your using a newer version?

In any case, I'll test with what I have (and whatever you send to me).

Regards,

David
_______________________________________________
Bogofilter mailing list
Bogofilter at bogofilter.org
http://www.bogofilter.org/mailman/listinfo/bogofilter



More information about the Bogofilter mailing list