/var/lib/imap/deliver.db: unexpected file type or format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a cyrus imap server on a Centos 5 VM that's hosted. Its 
cyrus-imapd-2.3.7-7.el5_4.3

The hosting company were doing maintenance and rebooted my VM.

Errors like this appeared in /var/log/maillog after startup.

master[3147]: about to exec /usr/lib/cyrus-imapd/ctl_cyrusdb
ctl_cyrusdb[3147]: recovering cyrus databases
ctl_cyrusdb[3147]: skiplist: recovered /var/lib/imap/mailboxes.db (73 
records, 12360 bytes) in 2 seconds
ctl_cyrusdb[3147]: skiplist: recovered /var/lib/imap/annotations.db (0 
records, 144 bytes) in 3 seconds
ctl_cyrusdb[3147]: done recovering cyrus databases
master[3148]: about to exec /usr/lib/cyrus-imapd/idled

{snipped the imap & pop startup messages}

ctl_cyrusdb[3150]: checkpointing cyrus databases
lmtpunix[3155]: DBERROR db4: /var/lib/imap/deliver.db: unexpected file 
type or format
ctl_cyrusdb[3150]: DBERROR: error listing log files: DB_NOTFOUND: No 
matching key/data pair found
lmtpunix[3155]: DBERROR: opening /var/lib/imap/deliver.db: Invalid argument
cyrusdb[3150]: DBERROR: archive /var/lib/imap/db: cyrusdb error
lmtpunix[3155]: DBERROR: opening /var/lib/imap/deliver.db: cyrusdb error
ctl_cyrusdb[3150]: DBERROR: error listing log files: DB_NOTFOUND: No 
matching key/data pair found
ctl_cyrusdb[3150]: DBERROR: archive /var/lib/imap/db: cyrusdb error
ctl_cyrusdb[3150]: archiving database file: /var/lib/imap/annotations.db
ctl_cyrusdb[3150]: archiving database file: /var/lib/imap/mailboxes.db
ctl_cyrusdb[3150]: DBERROR: error listing log files: DB_NOTFOUND: No 
matching key/data pair found
ctl_cyrusdb[3150]: DBERROR: archive /var/lib/imap/db: cyrusdb error
ctl_cyrusdb[3150]: done checkpointing cyrus databases
lmtpunix[3155]: FATAL: lmtpd: unable to init duplicate delivery database
master[3137]: process 3150 exited, status 1

{snip}

lmtpunix[3235]: DBERROR db4: /var/lib/imap/deliver.db: unexpected file 
type or format
lmtpunix[3235]: DBERROR: opening /var/lib/imap/deliver.db: Invalid argument
lmtpunix[3235]: DBERROR: opening /var/lib/imap/deliver.db: cyrusdb error
lmtpunix[3235]: FATAL: lmtpd: unable to init duplicate delivery database
master[3137]: process 3235 exited, status 75
master[3137]: service lmtpunix pid 3235 in READY state: terminated 
abnormally
master[3236]: about to exec /usr/lib/cyrus-imapd/lmtpd

etc etc

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[4053]: process 5187 exited, status 0
master[4053]: process 5278 exited, status 0



Any ideas

Thanks

Ken

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux