DBERROR db4: fatal region error detected

Jens Ahlin mailing_lists+cyrus at caleotech.com
Mon Oct 11 09:28:48 EDT 2004


Hi,

I have upgraded our mailserver to Tao Linux from RH 8 and cyrus from
2.1.12-3 to cyrus 2.2.8-1 using Simons RPMS.

All works ok until I shutdown cyrus and starts it again. The the error
below hit me in the face. To recover I delete the deliver.db and all under
/var/lib/imap/db/. The it starts just fine, creates the files and runs
happily utalizing the duplicate db.

I have built db4 (db4-4.1.25-8) with --disable-posixmutexes according to
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91933.

Any ideas of how to solve this ?


Oct  9 20:56:55 ruh master[19070]: about to exec /usr/lib/cyrus-imapd/lmtpd
Oct  9 20:56:55 ruh lmtpunix[19070]: DBERROR db4: fatal region error
detected; r
un recovery
Oct  9 20:56:55 ruh lmtpunix[19070]: DBERROR: dbenv->open
'/var/lib/imap/db' fai
led: DB_RUNRECOVERY: Fatal error, run database recovery
Oct  9 20:56:55 ruh lmtpunix[19070]: DBERROR: init() on berkeley
Oct  9 20:56:55 ruh lmtpunix[19070]: executed
Oct  9 20:56:55 ruh lmtpunix[19070]: DBERROR db4: environment not yet opened
Oct  9 20:56:55 ruh lmtpunix[19070]: DBERROR: opening
/var/lib/imap/deliver.db:
Invalid argument
Oct  9 20:56:55 ruh lmtpunix[19070]: DBERROR: opening
/var/lib/imap/deliver.db:
cyrusdb error
Oct  9 20:56:55 ruh lmtpunix[19070]: FATAL: lmtpd: unable to init
duplicate deli
very database
Oct  9 20:56:55 ruh master[19043]: process 19070 exited, status 75
Oct  9 20:56:55 ruh master[19043]: service lmtpunix pid 19070 in READY
state: te
rminated abnormally


	Jens
---
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




More information about the Info-cyrus mailing list