Hello, I have built openldap 2.4.23 (with Berkeley DB 5.2.36) on a Suse
SLES11 64bit machine and I am trying to verify the install by running the
tests.
The following test fails:
>>>>> Starting test005-modrdn for bdb...
running defines.sh
Running slapadd to build slapd database...
Starting slapd on TCP/IP port 9011...
Testing slapd modrdn operations...
Testing modrdn(deleteoldrdn=0)...
./scripts/test005-modrdn: line 65: 2291 Segmentation fault $SLAPD -f
$CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1
ldapmodrdn failed (255)!
./scripts/test005-modrdn: line 70: kill: (2291) - No such process
>>>>> ./scripts/test005-modrdn failed for bdb (exit 255)
make: *** [bdb-yes] Error 255
The log output for this test is:
>>> slap_listener(ldap://localhost:9011/)
conn=1001 fd=21 ACCEPT from IP=127.0.0.1:60661 (IP=127.0.0.1:9011)
connection_get(21)
connection_get(21): got connid=1001
connection_read(21): checking for input on id=1001
ber_get_next
ber_get_next: tag 0x30 len 46 contents:
op tag 0x60, time 1320032341
ber_get_next
conn=1001 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <cn=Manager,dc=example,dc=com>
=> ldap_bv2dn(cn=Manager,dc=example,dc=com,0)
<= ldap_bv2dn(cn=Manager,dc=example,dc=com)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=Manager,dc=example,dc=com)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=manager,dc=example,dc=com)=0
<<< dnPrettyNormal: <cn=Manager,dc=example,dc=com>,
<cn=manager,dc=example,dc=com>
conn=1001 op=0 BIND dn="cn=Manager,dc=example,dc=com" method=128
do_bind: version=3 dn="cn=Manager,dc=example,dc=com" method=128
==> bdb_bind: dn: cn=Manager,dc=example,dc=com
conn=1001 op=0 BIND dn="cn=Manager,dc=example,dc=com" mech=SIMPLE ssf=0
do_bind: v3 bind: "cn=Manager,dc=example,dc=com" to
"cn=Manager,dc=example,dc=com"
send_ldap_result: conn=1001 op=0 p=3
send_ldap_result: err=0 matched="" text=""
send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 21
conn=1001 op=0 RESULT tag=97 err=0 text=
connection_get(21)
connection_get(21): got connid=1001
connection_read(21): checking for input on id=1001
ber_get_next
ber_get_next: tag 0x30 len 104 contents:
op tag 0x6c, time 1320032341
ber_get_next
conn=1001 op=1 do_modrdn
ber_scanf fmt ({mmb) ber:
do_modrdn: dn (cn=James A Jones 1, ou=Alumni Association, ou=People,
dc=example, dc=com) newrdn (cn=James A Jones III) n
ewsuperior ()
ber_scanf fmt (}) ber:
>>> dnPrettyNormal: <cn=James A Jones 1, ou=Alumni Association, ou=People,
>>>dc=example, dc=com>
=> ldap_bv2dn(cn=James A Jones 1, ou=Alumni Association, ou=People,
dc=example, dc=com,0)
<= ldap_bv2dn(cn=James A Jones 1, ou=Alumni Association, ou=People,
dc=example, dc=com)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=James A Jones 1,ou=Alumni
Association,ou=People,dc=example,dc=com)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=james a jones 1,ou=alumni
association,ou=people,dc=example,dc=com)=0
<<< dnPrettyNormal: <cn=James A Jones 1,ou=Alumni
Association,ou=People,dc=example,dc=com>, <cn=james a jones 1,ou=alumn
i association,ou=people,dc=example,dc=com>
>>> dnPrettyNormal: <cn=James A Jones III>
=> ldap_bv2dn(cn=James A Jones III,0)
<= ldap_bv2dn(cn=James A Jones III)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=James A Jones III)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=james a jones iii)=0
<<< dnPrettyNormal: <cn=James A Jones III>, <cn=james a jones iii>
conn=1001 op=1 MODRDN dn="cn=James A Jones 1,ou=Alumni
Association,ou=People,dc=example,dc=com"
bdb_dn2entry("cn=james a jones 1,ou=alumni
association,ou=people,dc=example,dc=com")
==>bdb_modrdn(cn=James A Jones 1,ou=Alumni
Association,ou=People,dc=example,dc=com,cn=James A Jones III,NULL)
slap_queue_csn: queing 0x2b3f483d6210
20111031033901.351643Z#000000#000#000000
bdb_dn2entry("cn=james a jones 1,ou=alumni
association,ou=people,dc=example,dc=com")
=> bdb_dn2id_children("cn=james a jones 1,ou=alumni
association,ou=people,dc=example,dc=com")
<= bdb_dn2id_children("cn=james a jones 1,ou=alumni
association,ou=people,dc=example,dc=com"): no (-30988)
bdb_modrdn: wr to children of entry ou=alumni
association,ou=people,dc=example,dc=com OK
bdb_modrdn: parent dn=ou=Alumni Association,ou=People,dc=example,dc=com
>>> dnNormalize: <cn=James A Jones III,ou=Alumni
>>>Association,ou=People,dc=example,dc=com>
=> ldap_bv2dn(cn=James A Jones III,ou=Alumni
Association,ou=People,dc=example,dc=com,0)
<= ldap_bv2dn(cn=James A Jones III,ou=Alumni
Association,ou=People,dc=example,dc=com)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=james a jones iii,ou=alumni
association,ou=people,dc=example,dc=com)=0
<<< dnNormalize: <cn=james a jones iii,ou=alumni
association,ou=people,dc=example,dc=com>
bdb_modrdn: new ndn=cn=james a jones iii,ou=alumni
association,ou=people,dc=example,dc=com
=> bdb_dn2id("cn=james a jones iii,ou=alumni
association,ou=people,dc=example,dc=com")
<= bdb_dn2id: get failed: BDB0073 DB_NOTFOUND: No matching key/data pair
found (-30988)
=> bdb_dn2id_delete 0xc: "cn=james a jones 1,ou=alumni
association,ou=people,dc=example,dc=com"
Any ideas what may be wrong? Is this a significant failure?
Thank you
Gaby
--
Gabriella Turek
Sr. Software Engineer
National Institute for Water & Atmospheric Research (NIWA)