FATAL: lmtpd: unable to init duplicate delivery database

Marcus lists at localguru.de
Tue Apr 6 18:45:24 EDT 2010


Hi,

Am Dienstag, den 06.04.2010, 07:41 +0200 schrieb Simon Matter:
> > Hi,
> >
> > I got the following error in my log (cyrus 2.2.13-14+lenny3):
> >
> > --------------------------
> > Apr  5 04:12:48 server cyrus/lmtpunix[8473]: IOERROR:
> > lock_shared /var/lib/cyrus/deliver.db: Interrupted system call
> > Apr  5 04:12:48 server cyrus/lmtpunix[8473]: DBERROR:
> > opening /var/lib/cyrus/deliver.db: cyrusdb error
> > Apr  5 04:12:48 server cyrus/lmtpunix[8473]: FATAL: lmtpd: unable to
> > init duplicate delivery database
> > Apr  5 04:12:48 server cyrus/master[21374]: process 8473 exited, status
> > 75
> > Apr  5 04:12:48 server cyrus/master[21374]: service lmtpunix pid 8473 in
> > READY state: terminated abnormally
> > Apr  5 04:12:48 server cyrus/master[8534]: about to
> > exec /usr/lib/cyrus/bin/lmtpd
> > Apr  5 04:12:48 server cyrus/lmtpunix[8534]: executed
> > Apr  5 04:12:48 server cyrus/lmtpunix[8534]: accepted connection
> > Apr  5 04:12:48 server cyrus/lmtpunix[8534]: lmtp connection preauth'd
> > as postman
> > --------------------------
> >
> > I've seen the three times in my log:
> >
> >  Apr  3 04:08:57
> >  Apr  4 04:08:53
> >  Apr  5 04:12:48
> >  today 6th April no error
> >
> > At 28th March I've changed to skiplist for duplicate and tlscache:
> 
> Just guessing, maybe you have to stop cyrus, clean up the $configdir/db
> directory, remove the existing deliver.db file and start up again.
> Maybe you have some BDB stuff left over in ../db.

I've restarted cyrus and got a "recovery /var/lib/cyrus/deliver.db:
found partial txn, not replaying". Delivering is working fine and
dupelim check too. Could someone confirm, that Simon's idea to clean
up /var/lib/cyrus/db and remove  deliver.db is _not_ dangerous or do I
have to run some kind of reconstruct after that?

-------------------------
Apr  7 00:18:37 dexter cyrus/master[5510]: process started
Apr  7 00:18:37 dexter cyrus/master[5511]: about to
exec /usr/sbin/ctl_cyrusdb
Apr  7 00:18:38 dexter cyrus/ctl_cyrusdb[5511]: recovering cyrus
databases
Apr  7 00:18:38 dexter cyrus/ctl_cyrusdb[5511]: skiplist:
recovered /var/lib/cyrus/mailboxes.db (1289 records, 165424 bytes) in 0
seconds
Apr  7 00:18:38 dexter cyrus/ctl_cyrusdb[5511]: skiplist:
recovered /var/lib/cyrus/annotations.db (0 records, 144 bytes) in 0
seconds
Apr  7 00:18:38 dexter cyrus/ctl_cyrusdb[5511]: done recovering cyrus
databases
Apr  7 00:18:38 dexter cyrus/master[5512]: about to
exec /usr/sbin/cyr_expire
Apr  7 00:18:38 dexter cyrus/cyr_expire[5512]: skiplist
recovery /var/lib/cyrus/deliver.db: found partial txn, not replaying
Apr  7 00:18:39 dexter cyrus/cyr_expire[5512]: skiplist:
recovered /var/lib/cyrus/deliver.db (12426 records, 2651376 bytes) in 1
second
Apr  7 00:18:39 dexter cyrus/cyr_expire[5512]: duplicate_prune: pruning
back 3 days
-------------------------

Ciao!



More information about the Info-cyrus mailing list