verify vs recover

David Relson relson at osagesoftware.com
Fri Feb 25 19:41:06 CET 2005


On Fri, 25 Feb 2005 15:26:41 -0300
Andre Galvani wrote:

> Hi David,
> 
> After install bogofilter 0.93, I've tried to run bogoutil in my 
> corrupted db files, but I've received the follow error:
> 
> ./bogoutil --db-verify /my/db/wordlist.db.old  -xd -vv
> trying to lock database directory
> db_env_create: 0xbfffdec8
> running regular data base recovery
> /my/db/__db.001: unable to initialize environment lock: Function not 
> implemented
> bogoutil: Cannot recover environment "/my/db": Function not implemented
> 
> when the lock file "__db.001" is created? Is It because of my bogofilter 
> version, that's don't create these lock files?
> 
> tks,
> Andre


Andre,

I need some more information on your setup.  What's the output of the
following commands:

   uname -a
   bogoutil -V
   ls -l /my/db

As a test, I just ran
   
   mkdir /tmp/test
   cp wordlist.db /tmp/test/wordlist.db.old
   bogoutil -V
   bogoutil -xd -vv --db-verify /tmp/test/wordlist.db.old

and got the following output:

    [relson at osage src]$ mkdir /tmp/test
    
    [relson at osage src]$ cp -p wordlist.h.16/wordlist.db /tmp/test/wordlist.db.old
    
    [relson at osage src]$ bogoutil -V
    bogoutil version 0.93.5
        Database: Sleepycat Software: Berkeley DB 4.2.52: (September 16, 2004)
    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.
    
    [relson at osage src]$ bogoutil -xd -vv --db-verify /tmp/test/wordlist.db.old
    trying to lock database directory
    db_env_create: 0xbffff13c
    running regular data base recovery
    /tmp/test/wordlist.db.old OK.

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



More information about the Bogofilter mailing list