Re: cyrus-imapd-2.1.3 w/ BDB4: small typo in log output ofimapd,pop3d?

2002-03-12 Thread Amos Gouaux

 On Tue, 12 Mar 2002 08:10:26 +0100,
 Birger Toedtmann [EMAIL PROTECTED] (bt) writes:

bt I just set up cyrus-imapd-2.1.3 on a RH7.2 box that has BDB4 installed (re-
[...]
bt   Mar 12 07:57:50 testbox pop3d[19141]: DBERROR db3: 9 lockers

That's okay.  I don't know why it logs that with db3, but that's
nothing to be alarmed over.

-- 
Amos




Re: cyrus-imapd-2.1.3 w/ BDB4: small typo in log output ofimapd,pop3d?

2002-03-12 Thread Scott Adkins

--On Tuesday, March 12, 2002 8:10 AM +0100 Birger Toedtmann 
[EMAIL PROTECTED] wrote:

 I just set up cyrus-imapd-2.1.3 on a RH7.2 box that has BDB4 installed
 (re- compiled src.rpm).  Any ldd's of the imapd/pop3d binaries show
 correct bindings  to /lib/libdb-4.0.so, so everything seems ok - service
 works nice - despite some log  messagess:

   Mar 12 07:57:50 testbox pop3d[19141]: DBERROR db3: 9 lockers
 ^^^

 Mmmh.  As far as I could see, this may not directly lie within
 cyrus-imapd's code but BDB4s, but I could not find the string db3 in
 any of them (imapd, db-4.0.so).

 Ideas?
 Regards,
 Birger

If it bothers you too much, take a look at lib/cyrusdb_db3.c and search
for errpfx.  You should see the following line:

dbenv-set_errpfx(dbenv, db3);

As you can see, if is a BerkeleyDB call that sets the a prefix string to be
prepended to the error messages that BerkeleyDB produces.  Maybe it should
simply be db?  At least until other things are implemented, such as dbm,
mysql, etc (which I doubt ever will be) :)

Scott
--
 +-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-+
  Scott W. Adkinshttp://www.cns.ohiou.edu/~sadkins/
   UNIX Systems Engineer  mailto:[EMAIL PROTECTED]
ICQ 7626282 Work (740)593-9478 Fax (740)593-1944
 +-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-+
 PGP Public Key available at http://www.cns.ohiou.edu/~sadkins/pgp/


msg06545/pgp0.pgp
Description: PGP signature