My company is dealing with a big problem of db corruption that happens randomly every 1-2 days in correspondence to ctl_cyrusdb launch in order to checkpoint the db.
Here is an extract of the log file:
----error start
checkpointing cyrus databases
archiving database file: /var/mail/imap_config/annotations.db
DBERROR db4: DB_LOGC->get: LSN 1/1083033: invalid log record header
DBERROR: error listing log files: DB_NOTFOUND: No matching key/data
DBERROR: archive /var/mail/imap_config/db: cyrusdb error
archiving database file: /var/mail/imap_config/mailboxes.db
DBERROR db4: DB_LOGC->get: LSN 1/1083033: invalid log record header
ts 2 times
DBERROR db4: DB_LOGC->get: LSN 1/1083303: invalid log record header
done checkpointing cyrus databases
DBERROR db4: DB_LOGC->get: LSN 1/1083303: invalid log record header
--- error end
Here is reassumed our setup:
Sendmail/Cyrus Imap server are installed on an HP-UX V. 11 Itanium server
Sendmail version is 8.11 and Cyrus-imap/Cyrus-sasl come from Iexpress depot in version 2.2.12.
We use saslauthd to autenticate via pam imap/pop3 users over a distributed directory service based on a Linux Openldap Server.
Pam_ldap and hpldapux client are used with success also to authenticate samba-cifs users.
Thanks you!
---- 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