[Date Prev][Date Next] [Chronological] [Thread] [Top]

make test failed: test004 (ldap modify)



Hello!

I have a problem installing OpenLDAP 2.1.22 on my fresh RedHat 9
test system. I already compiled and installed BerkeleyDB 4.2.50 and
set the CPPFLAGS and LDFLAGS to the respective paths, in my
case "/usr/local/BerkeleyDB.4.2/include" and "/usr/local/BerkeleyDB.4.2/lib".

After setting the environment variables, OpenLDAP will compile, but
make test fails, test004 modify to be exact.

make test says:

>>>>> Starting test004-modify ...
running defines.sh
running defines.sh . bdb
Cleaning up in ./test-db...
Running slapadd to build slapd database...
Starting slapd on TCP/IP port 9009...
Testing slapd modify operations...
Waiting 5 seconds for slapd to start...
Testing modify, add, and delete...
ldapmodify failed (80)!
>>>>> ./scripts/test004-modify failed (exit 80)
make[1]: *** [test-bdb] Error 80
make[1]: Leaving directory `/root/inst/openldap-2.1.22/tests'
make: *** [test] Error 2

The previous tests ran just fine and without any error messages.
(test000-rootdse, test001-slapadd, test002-populate and test003-search)

../tests/test-db/master.log says:
---
bdb_idl_insert_key: 14 [79671e90]

<= key_change 0

<= index_entry_add( 20, "cn=Gern Jensen,ou=Information Technology Division,ou=

bdb(o=University of Michigan,c=US): lock_downgrade: Lock is no longer valid

bdb(o=University of Michigan,c=US): lock_downgrade: Lock is no longer valid

bdb(o=University of Michigan,c=US): lock_downgrade: Lock is no longer valid

bdb(o=University of Michigan,c=US): lock_downgrade: Lock is no longer valid

bdb(o=University of Michigan,c=US): PANIC: Invalid argument

bdb_add: txn_commit failed : DB_RUNRECOVERY: Fatal error, run database recover

send_ldap_result: conn=1 op=5 p=3

send_ldap_result: err=80 matched="" text="txn_commit failed"

send_ldap_response: msgid=6 tag=105 err=80

ber_flush: 31 bytes to sd 9

connection_get(9)

connection_get(9): got connid=1

connection_read(9): checking for input on id=1

ber_get_next

ber_get_next: tag 0x30 len 5 contents:

ber_get_next

ber_get_next on fd 9 failed errno=0 (Success)

connection_read(9): input error=-2 id=1, closing.

connection_closing: readying conn=1 sd=9 for close

connection_close: deferring conn=1 sd=9

conn=1 op=5 RESULT tag=105 err=80 text=txn_commit failed

slapd: entry.c:347: entry_free: Assertion `e->e_private == ((void *)0)' failed

do_unbind

conn=1 op=6 UNBIND

connection_resched: attempting closing conn=1 sd=9

connection_close: deferring conn=1 sd=9

daemon: shutdown requested and initiated.

connection_close: deferring conn=1 sd=9

---

Any ideas? I couldn't find any suitable solutions on the web so far, and i need
to implement OpenLDAP pretty soon at work. Thanks.

MfG,
Michael Lackner
--
Montanuniversität Leoben
Institut für angewandte Mathematik und Geometrie
Abteilung für Informationstechnologie, IT-Administration
michael.lackner@unileoben.ac.at  |  +43 (0)3842/402-1505
http://www.hardoverclock.com | thrawn@hardoverclock.com