slapd and bdb-4.2.52

Jon Falconer jfalconer at puc.edu
Wed Feb 15 16:26:20 PST 2006


Knowledgeable Ones,

I'm setting up a FreeBSD 6.0 RELEASE system. I've installed from ports:

courier-authlib-0.58_1
courier-imap-4.0.6_1,1
cyrus-sasl-2.1.21_2
db42-4.2.52_4
openldap-sasl-client-2.2.30
openldap-sasl-server-2.2.30
openssl-stable-0.9.7i
postfix-2.2.8_2,1

and other related ports.

While starting slapd I get the following log entries:

Feb 15 15:24:38 ecf3 slapd[23761]: @(#) $OpenLDAP: slapd 2.2.30 (Feb  2  2006 17:42:01) $
sysadmin at ecf3.puc.edu:/usr/ports/net/openldap22-sasl-server/work/openldap-2.2.30/servers/slapd
Feb 15 15:24:38 ecf3 slapd[23761]: bdb_db_init: Initializing BDB database
Feb 15 15:24:38 ecf3 slapd[23762]: slapd starting
Feb 15 15:25:06 ecf3 slapd[23762]: conn=0 fd=10 ACCEPT from IP=127.0.0.1:55323 (IP=0.0.0.0:389)
Feb 15 15:25:06 ecf3 slapd[23762]: conn=0 op=0 BIND dn="cn=admin,dc=ds,dc=puc,dc=edu" method=128
Feb 15 15:25:06 ecf3 slapd[23762]: conn=0 op=0 BIND dn="cn=admin,dc=ds,dc=puc,dc=edu" mech=SIMPLE ssf=0
Feb 15 15:25:06 ecf3 slapd[23762]: conn=0 op=0 RESULT tag=97 err=0 text=
Feb 15 15:25:06 ecf3 slapd[23762]: conn=0 op=1 SRCH base="dc=ds,dc=puc,dc=edu" scope=2 deref=0 filter="(objectClass=*)"
Feb 15 15:25:06 ecf3 slapd[23762]: bdb(dc=ds,dc=puc,dc=edu): illegal flag specified to txn_begin
Feb 15 15:25:06 ecf3 slapd[23762]: bdb_txn_get: BerkeleyDB 4.2.52 library needs TXN patch!
Feb 15 15:25:06 ecf3 slapd[23762]: conn=0 op=1 SEARCH RESULT tag=101 err=0 nentries=7 text=
Feb 15 15:25:06 ecf3 slapd[23762]: conn=0 op=2 UNBIND
Feb 15 15:25:06 ecf3 slapd[23762]: conn=0 fd=10 closed

Note the complaint about needing a TXN patch. I looked at the four
available patched for db-4.2.52 on sleepycat.com and none seemed related
to TXN. Can this error be ignored? does anyone know how to fix it?

TIA

Jon



More information about the freebsd-questions mailing list