verify vs recover
Andre Galvani
andre.galvani at globo.com
Fri Feb 25 19:47:28 CET 2005
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
David Relson wrote:
>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
>
>
_______________________________________________
Bogofilter mailing list
Bogofilter at bogofilter.org
http://www.bogofilter.org/mailman/listinfo/bogofilter
More information about the Bogofilter
mailing list