recovering from mailbox.db corruption cyrus 2_2

Robert Scussel rscuss at omniti.com
Mon Apr 7 13:33:25 EDT 2003


I hope that you have a flat text version as a backup.

If you don't you can try to dump the mailbox file, mv the old mailbox.db 
file out of the way, and then reimport the mailbox file.  Then run a 
reconstruct to make sure that everything is correct.

Hope this helps,
B


Edward Zarecor wrote:
> Anyone know of a way to recover a mailbox.db under 2_2. 
> recover -m is apparently not yet implemented and I've unfortunately got 
> a corrupted mailbox file after a crash.
> 
> 
> What I'm seeing in the logs:
> 
> 
> 
> Apr  7 12:54:02 rainman imapd[21055]: DBERROR db4: 
> /var/imap/mailboxes.db: unexpected file type or format
> 
> Apr  7 12:54:02 rainman imapd[21055]: DBERROR: opening 
> /var/imap/mailboxes.db: Invalid argument
> 
> Apr  7 12:54:02 rainman imapd[21055]: DBERROR: opening 
> /var/imap/mailboxes.db: cyrusdb error
> 
> Apr  7 12:54:02 rainman imapd[21055]: Fatal error: can't read mailboxes 
> file
> 
> Apr  7 12:54:02 rainman imapd[21055]: DBERROR db4: Database handles open 
> during
> 
> environment close
> 
> Apr  7 12:54:02 rainman imapd[21055]: DBERROR: error exiting 
> application: Invalid argument
> 
> Apr  7 12:54:02 rainman imapd[21055]: DBERROR: error exiting 
> application: cyrusdb error
> 
> 
> 
> Any help would be appreciated.
> 
> 
> 
> Thanks.
> 
> 
> 
> Ed.
> 
> 



-- 
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959





More information about the Info-cyrus mailing list