Problems with a crashed BDB

Michael Obster michael.obster at bingo-ev.de
Wed Aug 30 16:45:18 EDT 2006


Hi,

I have a big problem with my Cyrus and my BDB here. I'm using Cyrus
2.2.12 with BDB 4.2.52.

When I'm starting Cyrus, I get this error in my imapd.log:
-------
Aug 30 22:38:44 alpha1 master[19525]: setrlimit: Unable to set file
descriptors limit to -1: Operation not permitted
Aug 30 22:38:44 alpha1 master[19525]: retrying with 1024 (current max)
Aug 30 22:38:44 alpha1 master[19525]: process started
Aug 30 22:38:44 alpha1 master[19526]: about to exec
/opt/cyrus/cyrus/bin/ctl_cyrusdb
Aug 30 22:38:44 alpha1 ctl_cyrusdb[19526]: DBERROR db4: Recovery
function for LSN 8 7404244 failed on backward pass
Aug 30 22:38:44 alpha1 ctl_cyrusdb[19526]: DBERROR db4: PANIC: Is a
directory
Aug 30 22:38:44 alpha1 ctl_cyrusdb[19526]: DBERROR: critical database
situation
Aug 30 22:38:44 alpha1 master[19525]: process 19526 exited, status 75
Aug 30 22:38:44 alpha1 master[19525]: ready for work
Aug 30 22:38:44 alpha1 master[19527]: about to exec
/opt/cyrus/cyrus/bin/ctl_cyrusdb
Aug 30 22:38:44 alpha1 ctl_cyrusdb[19527]: DBERROR db4: PANIC: fatal
region error detected; run recovery
Aug 30 22:38:44 alpha1 ctl_cyrusdb[19527]: DBERROR: critical database
situation
Aug 30 22:38:44 alpha1 master[19525]: process 19527 exited, status 75
--------

So I tried a reconstruct -m and a reconstruct -r user/username on a
specific mailbox and I'm getting this:
--------
Aug 30 22:41:08 alpha1 reconstruct[19571]: DBERROR db4: PANIC: fatal
region error detected; run recovery
Aug 30 22:41:08 alpha1 reconstruct[19571]: DBERROR: critical database
situation
--------

Running "ctl_cyrusdb -r" results in a:
--------
ug 30 22:41:50 alpha1 ctl_cyrusdb[19582]: DBERROR db4: Recovery function
for LSN 8 7404244 failed on backward pass
Aug 30 22:41:50 alpha1 ctl_cyrusdb[19582]: DBERROR db4: PANIC: Is a
directory
Aug 30 22:41:50 alpha1 ctl_cyrusdb[19582]: DBERROR: critical database
situation
--------

Damn BDB, but HOW CAN I GET MY MAILS BACK? I'm at one's wits' end, so
any help would be very great because I have some very important mails there!

Cheers,
Michael Obster



More information about the Info-cyrus mailing list