DB_VERSION_MISMATCH
Matthias Andree
matthias.andree at gmx.de
Mon Jan 17 00:48:01 CET 2005
David Relson <relson at osagesoftware.com> writes:
> We have a problem.
No we don't. RTFM:
(doc/README.db) "2.6 Updating Berkeley DB version underneath bogofilter
[...]
You need a "log file upgrade" if at least one of these conditions is
true:
- you upgraded Berkeley DB from a 3.X version to a 4.Y version
- you upgraded Berkeley DB from 4.0 or 4.1 to 4.2 or 4.3
- you upgraded Berkeley DB from 4.2 to 4.3.
If you need a log file upgrade, the upgrade procedure is:
(NOTE: DO NOT UPGRADE BERKELEY DB OR BOGOFILTER UNTIL STEP 4!)
1. shut down your mail system,
2. run 'bogoutil --db-remove-environment ~/.bogofilter' (for each user)
(this implies running forced recovery first)
3. archive the database for catastrophic recovery (take a backup)
4. install the new Berkeley DB version, recompile bogofilter (unless
using a binary package), install the new bogofilter
5. restart your mail system."
> A database environment created with db-4.2.x can't be used with
> db-4.3.x.
Hence bogoutil --db-remove-environment...
--
Matthias Andree
More information about the bogofilter-dev
mailing list