catastrophic recovery required

Ben Finney ben at benfinney.id.au
Wed Feb 16 06:07:33 CET 2005


On 05-Feb-2005, Ben Finney wrote:
> Today a run of bogofilter tells me "catastrophic recovery required".

Further information on this:

My use of "run of bogofilter" wasn't really clear or accurate.  I meant
an instance where I have multiple messages tagged in Mutt, then pipe
them all through 'bogofilter -Ns'.

I've since realised that it's specific messages causing the problem.
Here's a (hopefully more informative) session:

=====
$ bogofilter -Ns < $HOME/Mail/.spam-unsure/cur/1108518134.4631_2.iris\:2\,S
checksum error: page 995: catastrophic recovery required
PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
wordlist.db: pgin failed for page 995
bogofilter: (db) DB->get(TXN=134698328,  'Prozac' ), err: DB_RUNRECOVERY: Fatal error, run database recovery
PANIC: fatal region error detected; run recovery
bogofilter: DB_TXN->abort(80000002) error: DB_RUNRECOVERY: Fatal error, run database recovery

$ bogoutil --db-prune $HOME/.bogofilter/

$ bogofilter -Ns < $HOME/Mail/.spam-unsure/cur/1108518134.4631_2.iris\:2\,S
checksum error: page 995: catastrophic recovery required
PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
wordlist.db: pgin failed for page 995
bogofilter: (db) DB->get(TXN=134698328,  'Prozac' ), err: DB_RUNRECOVERY: Fatal error, run database recovery
PANIC: fatal region error detected; run recovery
bogofilter: DB_TXN->abort(80000002) error: DB_RUNRECOVERY: Fatal error, run database recovery

=====

I've backed up the $HOME/.bogofilter/ directory, and the problematic
message, for further forensics if that helps.

-- 
 \       "It is the mark of an educated mind to be able to entertain a |
  `\                      thought without accepting it."  -- Aristotle |
_o__)                                                                  |
Ben Finney <ben at benfinney.id.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://www.bogofilter.org/pipermail/bogofilter/attachments/20050216/0598f44d/attachment.sig>


More information about the Bogofilter mailing list