DB got scrashed

Martín Marqués martin.marques at gmail.com
Sat Mar 19 18:11:18 CET 2011


I'm having again problems with bogofilter DB.

For some reason I can't get more spam and ham definitions in the DB.
Also I can't get a dump from the DB:

~/.bogofilter$ alias spam
alias spam='/usr/bin/bogofilter -sN < ~/mail/newspam && > ~/mail/newspam'
~/.bogofilter$ spam
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
bogofilter[20101]: DB_ENV->open, err: -30974, DB_RUNRECOVERY: Fatal
error, run database recovery
To recover, run: bogoutil -v --db-recover "/home/martin/.bogofilter"
~/.bogofilter$ bogoutil -v --db-recover "/home/martin/.bogofilter"
PANIC: fatal region error detected; run recovery
~/.bogofilter$ db4.8_dump -r ~/.bogofilter/wordlist.db >
~/.bogofilter/wordlist.saved
db4.8_dump: PANIC: fatal region error detected; run recovery
db4.8_dump: checksum error: page 561: catastrophic recovery required
db4.8_dump: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
db4.8_dump: /home/martin/.bogofilter/wordlist.db: pgin failed for page 561
db4.8_dump: PANIC: fatal region error detected; run recovery
db4.8_dump: PANIC: fatal region error detected; run recovery
db4.8_dump: PANIC: fatal region error detected; run recovery
db4.8_dump: PANIC: fatal region error detected; run recovery
db4.8_dump: PANIC: fatal region error detected; run recovery
db4.8_dump: PANIC: fatal region error detected; run recovery
db4.8_dump: PANIC: fatal region error detected; run recovery
db4.8_dump: PANIC: fatal region error detected; run recovery
db4.8_dump: PANIC: fatal region error detected; run recovery
db4.8_dump: PANIC: fatal region error detected; run recovery
db4.8_dump: PANIC: fatal region error detected; run recovery
....
db4.8_dump: PANIC: fatal region error detected; run recovery
db4.8_dump: PANIC: fatal region error detected; run recovery
db4.8_dump: PANIC: fatal region error detected; run recovery
db4.8_dump: /home/martin/.bogofilter/wordlist.db: DB_RUNRECOVERY:
Fatal error, run database recovery
db4.8_dump: File handles still open at environment close
db4.8_dump: Open file handle: log.0000000001
db4.8_dump: PANIC: fatal region error detected; run recovery
db4.8_dump: dbenv->close: DB_RUNRECOVERY: Fatal error, run database recovery

Any ideas on how to solve this?

--
Martín Marqués
select 'martin.marques' || '@' || 'gmail.com'
DBA, Programador, Administrador



More information about the Bogofilter mailing list