Re: DB got scrashed
Martín Marqués <[email protected]> Mon, 21 Mar 2011 10:11:40 -0300
| Newsgroups | gmane.mail.bogofilter.general |
|---|---|
| Message-ID | <[email protected]> |
El día 21 de marzo de 2011 08:54, Martín Marqués <[email protected]> escribió: > El día 19 de marzo de 2011 15:53, David Relson > <[email protected]> escribió: >> On Sat, 19 Mar 2011 14:11:18 -0300 >> Martín Marqués wrote: >> >>> 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 >> >> >> Hello Martin, >> >> Have you tried bogoutil's --db-recover-harder option? Look at the >> on-line help and the man page for bogoutil on how to use the option. > > --db-recover-harder Gave the same output: > > $ bogoutil -v --db-recover-harder ~/.bogofilter > PANIC: fatal region error detected; run recovery > >> If your wordlist is totally hosed this may not work. In that case >> you'll have to delete your wordlist and start training anew. > > :-( > >> As a defensive practice, I periodically run bogoutil to dump my >> wordlist to a text file. If something goes wrong I have a record of >> the wordlist's contents and can recover easily. > I'm also getting this on my procmail log file: checksum error: page 561: catastrophic recovery required PANIC: DB_RUNRECOVERY: Fatal error, run database recovery wordlist.db: pgin failed for page 561 bogofilter[17032]: (db) DB->get(TXN=151339656, 'Lanzan' ), err: -30974, DB_RUNRECOVERY: Fatal error, run database recovery PANIC: fatal region error detected; run recovery bogofilter[17032]: DB_TXN->abort(8000001a) error: DB_RUNRECOVERY: Fatal error, run database recovery bogofilter: ../../src/datastore_db_trans.c:277: dbx_abort: Assertion `t' failed. procmail: Program failure (-6) of "/usr/bin/bogofilter" procmail: Rescue of unfiltered data succeeded -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador _______________________________________________ Bogofilter mailing list [email protected] http://www.bogofilter.org/mailman/listinfo/bogofilter