How to fix a corrupt duplicate DB?
morgan at orst.edu
Fri Aug 3 13:55:31 EDT 2007
On Fri, 3 Aug 2007, Steinar Bang wrote:
>>>>>> Andrew Morgan <morgan at orst.edu>:
>> Stop Cyrus, then do the following:
>> mv deliver.db deliver.db.bak
>> mkdir db.bak
>> cp -p db/ db.bak/
>> rm db/*
> I stopped cyrus, removed the deliver.db file, and restarted cyrus,
> before I saw your message.
> I did not move/remove the db directory. Is that important? It seems
> to be working right now...?
The db/ directory can store Berkeley DB transaction logs. Sometimes if
the database is corrupted the transaction logs need to be removed as well.
If Cyrus is happy, then there was no need.
More information about the Info-cyrus