For When You Can't Have The Real Thing
[ start | index | login ]
start > cyrus > imap > db errors

db errors

Created by dave. Last edited by dave, 18 years and 342 days ago. Viewed 5,880 times. #1
[edit] [rdf]

db errors with cyrus imapd

During some random work, cyrus started to act like it was in some distress:

Mar 21 10:46:06 jupiter pop3s[11604]: DBERROR db4: Database handles open during environment close

Things got worse:

Mar 21 12:12:22 jupiter lmtpunix[23062]: DBERROR db4: operation not permitted during recovery.
Mar 21 12:12:22 jupiter lmtpunix[23062]: DBERROR: opening /opt/cyrus/imap/deliver.db: Invalid argument
Mar 21 12:12:22 jupiter lmtpunix[23062]: DBERROR: opening /opt/cyrus/imap/deliver.db: cyrusdb error

After trying many things, I found a solution which worked:

  • stop cyrus
  • delete the deliver.db, tls_sessions.db, and db/* files
  • start cyrus
Cyrus then rebuilt the missing files.

Ref: >>

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt