/var/lib/imap/deliver.db: unexpected file type or format
kens at kensnet.org
Mon Feb 28 07:04:20 EST 2011
Ken Smith wrote:
> I have a cyrus imap server on a Centos 5 VM that's hosted. Its
> The hosting company were doing maintenance and rebooted my VM.
> Errors like this appeared in /var/log/maillog after startup.
> ctl_cyrusdb: checkpointing cyrus databases
> lmtpunix: DBERROR db4: /var/lib/imap/deliver.db: unexpected file
> type or format
> ctl_cyrusdb: DBERROR: error listing log files: DB_NOTFOUND: No
> matching key/data pair found
> I have recovered cyrus from the backup directories, but this surely this
> shouldn't happen.
> I have another similar setup on a 64 bit Centos 5 machine where I've
> never seen this error.
> I've checked the SysV init scripts to see if cyrus is being shut down
> properly. It seems to be, its last log messages before reboot were...
> master: process 5187 exited, status 0
> master: process 5278 exited, status 0
> Any ideas
Hi Related to the above I see this log when I stop cyrus-imap
Converting from /var/lib/imap/deliver.db (berkeley) to
fatal error: can't open old database
Converting from /var/lib/imap/tls_sessions.db (berkeley) to
ERROR: unable to convert /var/lib/imap/tls_sessions.db from berkeley to
The stop script runs
during the stop process
I've checked the permissions, they seem OK
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Info-cyrus