FATAL: lmtpd: unable to init duplicate delivery database

Simon Matter simon.matter at invoca.ch
Tue Apr 6 01:41:30 EDT 2010


> 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.

Regards,
Simon

>
> imapd.conf:
> duplicate_db: skiplist
> tlscache_db: skiplist
>
> --------------------------
> /var/lib/cyrus# file *.db
> annotations.db:  Cyrus skiplist DB
> deliver.db:      Cyrus skiplist DB
> mailboxes.db:    Cyrus skiplist DB
> tls_sessions.db: Cyrus skiplist DB
> --------------------------
>
> delprune starts at=0401.
>
> --------------------------
> /var/lib/cyrus# ls -al
> insgesamt 7572
> drwxr-x--- 11 cyrus mail    4096  6. Apr 05:26 .
> drwxr-xr-x 40 root  root    4096 28. Mär 04:08 ..
> -rw-------  1 cyrus mail     144 28. Mär 04:25 annotations.db
> drwx------  2 cyrus mail    4096 28. Mär 04:25 db
> drwx------  2 cyrus mail    4096  6. Apr 05:26 db.backup1
> drwx------  2 cyrus mail    4096  6. Apr 04:56 db.backup2
> -rw-------  1 cyrus mail 1972804  6. Apr 05:52 deliver.db
> -rw-------  1 cyrus mail 4993024 28. Mär 03:49 deliver.db.old
> drwx------  2 cyrus mail    4096  7. Feb 17:03 log
> -rw-------  1 cyrus mail  164400  5. Apr 21:52 mailboxes.db
> drwx------  2 cyrus mail    4096  7. Feb 17:03 msg
> drwx------  2 cyrus mail    4096  6. Apr 05:55 proc
> drwx------ 28 cyrus mail    4096  7. Feb 17:03 quota
> drwxr-x---  2 cyrus mail    4096  5. Mär 00:20 socket
> -rw-------  1 cyrus mail  210152  6. Apr 05:49 tls_sessions.db
> -rw-------  1 cyrus mail  327680 28. Mär 03:49 tls_sessions.db.old
> drwx------ 28 cyrus mail    4096  7. Feb 17:03 user
> --------------------------
>
> .db.old files are copies of the old berkeley database files.
>
> Any ideas?
>
> Thanks
> Marcus
>
>
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>




More information about the Info-cyrus mailing list