2.1.9 and DB 4.1: Deliverdb error

Mika Iisakkila mika.iisakkila at pingrid.fi
Mon Oct 28 12:07:01 EST 2002


Some time back I posted a small patch for compiling SASL2 & imapd with
Berkeley DB 4.1 (rather straightforward, just followed the Sleepycat
upgrade docs; worked fine for SASL 2.1.7). But there seems to be a
problem which I didn't notice before, since I had duplicate delivery
suppression turned off.

Using --with-duplicate-db=db3_nosync, I get this in syslog when
a message is delivered via LMTP:

Oct 28 18:48:17 localhost master[20505]: about to exec /usr/cyrus/bin/lmtpd
Oct 28 18:48:17 localhost lmtpunix[20505]: executed
Oct 28 18:48:17 localhost lmtpd[20490]: duplicate_check: 
<3DBD6A59.5030902 at pingrid.fi>            user.moe             0
Oct 28 18:48:17 localhost lmtpd[20490]: mystore: starting txn 2147483649
Oct 28 18:48:17 localhost lmtpd[20490]: DBERROR db4: Transaction 
specified for a DB handle opened outside a transaction
Oct 28 18:48:17 localhost lmtpd[20490]: mystore: aborting txn 2147483649
Oct 28 18:48:17 localhost lmtpd[20490]: DBERROR: mystore: error storing 
<3DBD6A59.5030902 at pingrid.fi>: Invalid argument
Oct 28 18:48:17 localhost lmtpd[20490]: duplicate_mark: 
<3DBD6A59.5030902 at pingrid.fi>            user.moe             1035823697

...so I suppose something in lib/cyrusdb_db3.c still isn't quite
compatible with BDB 4.1. I get this same error in Linux and HP-UX 11.11,
so I suppose it's general and not a compilation screwup. Any
off-the-shelf ideas on how to fix this, before I plunge into the source
myself?

--mika





More information about the Info-cyrus mailing list