Hi,
Following a disk problem, I had database inconsistency:
lmtp[25617]: [ID 866726 local6.warning] DBERROR db4: fatal region error detected; run recovery
Mar 31 10:00:08 dioptase lmtp[25617]: [ID 301778 local6.error] DBERROR: dbenv->open '/opt/csw/var/cyrus/db' failed: DB_RUNRECOVERY: Fatal error, run database recovery
Mar 31 10:00:08 dioptase lmtp[25617]: [ID 323402 local6.error] DBERROR: init() on berkeley
Mar 31 10:00:08 dioptase lmtp[25617]: [ID 301778 local6.error] DBERROR: dbenv->open '/opt/csw/var/cyrus/db' failed: DB_RUNRECOVERY: Fatal error, run database recovery
Mar 31 10:00:08 dioptase lmtp[25617]: [ID 323402 local6.error] DBERROR: init() on berkeley
I solved the problem by suppressing databases files (*.db files and db directories) except mailboxes.db (and cyrus.* files in user mailboxes of course) and recreating directories (with mkimap).
Everything is back, but I would like to know what are the side effects of removing the db directory.
Thanks in advance.
Yann --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html