FATAL: lmtpd: unable to init duplicate delivery database

Marcus lists at localguru.de
Tue Apr 6 04:42:54 EDT 2010


Hi,

Am Dienstag, den 06.04.2010, 07:41 +0200 schrieb Simon Matter:
> >
> > 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.


Thanks! This is the content of my /var/lib/cyrus/db folder. Are sure,
that I can delete all files inside the db folder? What about db.backup1
and db.backup2 folders?

:/var/lib/cyrus/db# ls -al
insgesamt 22600
drwx------  2 cyrus mail     4096 28. Mär 04:25 .
drwxr-x--- 11 cyrus mail     4096  6. Apr 10:26 ..
-rw-------  1 cyrus mail     8192  6. Apr 10:32 __db.001
-rw-------  1 cyrus mail   663552 28. Mär 04:25 __db.002
-rw-------  1 cyrus mail    98304  6. Apr 10:32 __db.003
-rw-------  1 cyrus mail 18563072 28. Mär 04:25 __db.004
-rw-------  1 cyrus mail    32768 28. Mär 04:25 __db.005
-rw-------  1 cyrus mail 10376313 28. Mär 04:25 log.0000000008
-rw-------  1 cyrus mail        4 28. Mär 04:25 skipstamp

Interesting is, that some files haven't changed since 28th Mar, the date
I changed duplicate and tlscache to skiplist.

Ciao,
Marcus




More information about the Info-cyrus mailing list