Re: How to fix a corrupt duplicate DB?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 3 Aug 2007, Steinar Bang wrote:

>>>>>> Andrew Morgan <morgan@xxxxxxxx>:
>
>> 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.

 	Andy
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux