Addtion for README.db

Charles A Edwards eslrahc at bellsouth.net
Wed Nov 24 23:20:26 CET 2004


This is a suggested addition to the README.db
It could/should be added as a 2nd exception to the following:

"You MUST NOT remove files named __db.NNN and log.NNNNNNNNNN - where
NNN are numbers - in the ~/.bogofilter directory.
REMOVING THESE FILES CAUSES DATA BASE CORRUPTION
(there is one exception, see below)"

Exception 2: If the version of Berkeley DB being used to build
bogofilter is updated, (i.e. 4.2 to 4.3) and ~/.bogofilter using 
__db.NNN and log.NNNNNNNNNN was in existence PRIOR to the upgrade 
the following type error may be seen when bogofilter is run.

"Skipping log file ~/.bogofilter/log.0000000005: historic
log version ~/.bogofilter/log.0000000006: log file open
failed: No such file or d ctory
PANIC: No such file or directory
DB_ENV->log_put: 6: DB_RUNRECOVERY: Fatal error, run database recovery
DB_ENV->close(0x8055668): DB_RUNRECOVERY: Fatal error, run database
recovery"

Should this occur remove all files in ~/.bogofilter EXCEPT wordlist.db.
Bogofilter will create the corrrect __db.NNN, log.NNNNNNNNNN and
lockfiles automatically the next time it is run.



    Charles

-- 
I've only got 12 cards.
-------------------------
Mandrake Linux 10.1 on PurpleDragon
2.6.8.1-20mdk-i686-up-64GB
http://www.eslrahc.com
-------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.bogofilter.org/pipermail/bogofilter-dev/attachments/20041124/0029e4f1/attachment.sig>


More information about the bogofilter-dev mailing list