Full_Name: Peter S�rensen Version: 2.0.3 OS: HPUX 11.00.A URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (130.225.156.237) I Have configured and compiled openldap 2.0.3 with ssl, sasl BerkelyDB 2.7.7 and threads. Some warning but no errors. When trying to test - test001 fails as follows: Initiating LDAP tests for LDBM... >>>>> Executing all LDAP tests... >>>>> Test Directory: . >>>>> Backend: ldbm >>>>> Starting test000-rootdse ... running defines.sh . ldbm Datadir is ./data Cleaning up in ./test-db... Starting slapd on TCP/IP port 9009... Using ldapsearch to retrieve all the entries... Waiting 5 seconds for slapd to start... dn: namingContexts: o=OpenLDAP Project,l=Internet supportedControl: 2.16.840.1.113730.3.4.2 supportedExtension: 1.3.6.1.4.1.4203.1.11.1 supportedExtension: 1.3.6.1.4.1.1466.20037 supportedLDAPVersion: 2 supportedLDAPVersion: 3 subschemaSubentry: cn=Subschema >>>>> Test succeeded >>>>> ./scripts/test000-rootdse completed OK. >>>>> waiting 10 seconds for things to exit >>>>> Starting test001-slapadd ... running defines.sh . ldbm Datadir is ./data Cleaning up in ./test-db... Starting slapd on TCP/IP port 9009... Using ldapsearch to retrieve all the entries... Waiting 5 seconds for slapd to start... ldapsearch failed (32)! >>>>> ./scripts/test001-slapadd failed (exit 32) *** Error exit code 32 *** Error exit code 1 master.log contains following: @(#) $OpenLDAP: slapd 2.0.3-Release (Thu Sep 21 09:51:29 METDST 2000) $ root@b1000:/work/packages/openldap-2.0.3/servers/slapd daemon_init: listen on ldap://localhost:9009/ daemon_init: 1 listeners to open... ldap_url_parse(ldap://localhost:9009/) daemon: initialized ldap://localhost:9009/ daemon_init: 1 listeners opened slapd init: initiated server. slap_sasl_init: initialized! TLS: PRNG not been seeded with enough dataslapd startup: initiated. slapd starting connection_get(7): got connid=0 connection_read(7): checking for input on id=0 ber_get_next ber_get_next: tag 0x30 len 12 contents: do_bind ber_get_next ber_get_next on fd 7 failed errno=246 (Operation would block) ber_scanf fmt ({iat) ber: ber_scanf fmt (o}) ber: do_bind: version=3 dn="" method=128 send_ldap_result: conn=0 op=0 p=3 send_ldap_response: msgid=1 tag=97 err=0 ber_flush: 14 bytes to sd 7 do_bind: v3 anonymous bind connection_get(7): got connid=0 connection_read(7): checking for input on id=0 ber_get_next ber_get_next: tag 0x30 len 67 contents: ber_get_next ber_get_next on fd 7 failed errno=246 (Operation would block) do_search ber_scanf fmt ({aiiiib) ber: ber_scanf fmt (o) ber: ber_scanf fmt ({v}}) ber: => ldbm_back_search dn2entry_r: dn: "O=UNIVERSITY OF MICHIGAN,C=US" => dn2id( "O=UNIVERSITY OF MICHIGAN,C=US" ) => ldbm_cache_open( "./test-db/dn2id.dbb", 7, 600 ) <= ldbm_cache_open NULL "./test-db/dn2id.dbb" errno=9 reason="unknown") <= dn2id could not open dn2id.dbb send_ldap_result: conn=0 op=1 p=3 send_ldap_response: msgid=2 tag=101 err=32 ber_flush: 14 bytes to sd 7 connection_get(7): got connid=0 connection_read(7): checking for input on id=0 ber_get_next ber_get_next: tag 0x30 len 5 contents: ber_get_next ber_get_next on fd 7 failed errno=246 (Operation would block) do_unbind connection_closing: readying conn=0 sd=7 for close connection_resched: attempting closing conn=0 sd=7 connection_close: conn=0 sd=7 connection_get(7): got connid=1 connection_read(7): checking for input on id=1 ber_get_next ber_get_next: tag 0x30 len 12 contents: ber_get_next ber_get_next on fd 7 failed errno=246 (Operation would block) do_bind ber_scanf fmt ({iat) ber: ber_scanf fmt (o}) ber: do_bind: version=3 dn="" method=128 send_ldap_result: conn=1 op=0 p=3 send_ldap_response: msgid=1 tag=97 err=0 ber_flush: 14 bytes to sd 7 do_bind: v3 anonymous bind connection_get(7): got connid=1 connection_read(7): checking for input on id=1 ber_get_next ber_get_next: tag 0x30 len 67 contents: ber_get_next ber_get_next on fd 7 failed errno=246 (Operation would block) do_search ber_scanf fmt ({aiiiib) ber: ber_scanf fmt (o) ber: ber_scanf fmt ({v}}) ber: => ldbm_back_search dn2entry_r: dn: "O=UNIVERSITY OF MICHIGAN,C=US" => dn2id( "O=UNIVERSITY OF MICHIGAN,C=US" ) => ldbm_cache_open( "./test-db/dn2id.dbb", 7, 600 ) <= ldbm_cache_open NULL "./test-db/dn2id.dbb" errno=9 reason="unknown") <= dn2id could not open dn2id.dbb send_ldap_result: conn=1 op=1 p=3 send_ldap_response: msgid=2 tag=101 err=32 ber_flush: 14 bytes to sd 7 connection_get(7): got connid=1 connection_read(7): 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 7 failed errno=246 (Operation would block) do_unbind connection_closing: readying conn=1 sd=7 for close connection_resched: attempting closing conn=1 sd=7 connection_close: conn=1 sd=7 connection_get(7): got connid=2 connection_read(7): checking for input on id=2 ber_get_next ber_get_next: tag 0x30 len 12 contents: ber_get_next ber_get_next on fd 7 failed errno=246 (Operation would block) do_bind ber_scanf fmt ({iat) ber: ber_scanf fmt (o}) ber: do_bind: version=3 dn="" method=128 send_ldap_result: conn=2 op=0 p=3 send_ldap_response: msgid=1 tag=97 err=0 ber_flush: 14 bytes to sd 7 do_bind: v3 anonymous bind connection_get(7): got connid=2 connection_read(7): checking for input on id=2 ber_get_next ber_get_next: tag 0x30 len 67 contents: ber_get_next ber_get_next on fd 7 failed errno=246 (Operation would block) do_search ber_scanf fmt ({aiiiib) ber: ber_scanf fmt (o) ber: ber_scanf fmt ({v}}) ber: => ldbm_back_search dn2entry_r: dn: "O=UNIVERSITY OF MICHIGAN,C=US" => dn2id( "O=UNIVERSITY OF MICHIGAN,C=US" ) => ldbm_cache_open( "./test-db/dn2id.dbb", 7, 600 ) <= ldbm_cache_open NULL "./test-db/dn2id.dbb" errno=9 reason="unknown") <= dn2id could not open dn2id.dbb send_ldap_result: conn=2 op=1 p=3 send_ldap_response: msgid=2 tag=101 err=32 ber_flush: 14 bytes to sd 7 connection_get(7): got connid=2 connection_read(7): checking for input on id=2 ber_get_next ber_get_next: tag 0x30 len 5 contents: ber_get_next ber_get_next on fd 7 failed errno=246 (Operation would block) do_unbind connection_closing: readying conn=2 sd=7 for close connection_resched: attempting closing conn=2 sd=7 connection_close: conn=2 sd=7 connection_get(7): got connid=3 connection_read(7): checking for input on id=3 ber_get_next ber_get_next: tag 0x30 len 12 contents: ber_get_next ber_get_next on fd 7 failed errno=246 (Operation would block) do_bind ber_scanf fmt ({iat) ber: ber_scanf fmt (o}) ber: do_bind: version=3 dn="" method=128 send_ldap_result: conn=3 op=0 p=3 send_ldap_response: msgid=1 tag=97 err=0 ber_flush: 14 bytes to sd 7 do_bind: v3 anonymous bind connection_get(7): got connid=3 connection_read(7): checking for input on id=3 ber_get_next ber_get_next: tag 0x30 len 67 contents: ber_get_next ber_get_next on fd 7 failed errno=246 (Operation would block) do_search ber_scanf fmt ({aiiiib) ber: ber_scanf fmt (o) ber: ber_scanf fmt ({v}}) ber: => ldbm_back_search dn2entry_r: dn: "O=UNIVERSITY OF MICHIGAN,C=US" => dn2id( "O=UNIVERSITY OF MICHIGAN,C=US" ) => ldbm_cache_open( "./test-db/dn2id.dbb", 7, 600 ) <= ldbm_cache_open NULL "./test-db/dn2id.dbb" errno=9 reason="unknown") <= dn2id could not open dn2id.dbb send_ldap_result: conn=3 op=1 p=3 send_ldap_response: msgid=2 tag=101 err=32 ber_flush: 14 bytes to sd 7 connection_get(7): got connid=3 connection_read(7): checking for input on id=3 ber_get_next ber_get_next: tag 0x30 len 5 contents: ber_get_next ber_get_next on fd 7 failed errno=246 (Operation would block) do_unbind connection_closing: readying conn=3 sd=7 for close connection_resched: attempting closing conn=3 sd=7 connection_close: conn=3 sd=7 connection_get(7): got connid=4 connection_read(7): checking for input on id=4 ber_get_next ber_get_next: tag 0x30 len 12 contents: ber_get_next ber_get_next on fd 7 failed errno=246 (Operation would block) do_bind ber_scanf fmt ({iat) ber: ber_scanf fmt (o}) ber: do_bind: version=3 dn="" method=128 send_ldap_result: conn=4 op=0 p=3 send_ldap_response: msgid=1 tag=97 err=0 ber_flush: 14 bytes to sd 7 do_bind: v3 anonymous bind connection_get(7): got connid=4 connection_read(7): checking for input on id=4 ber_get_next ber_get_next: tag 0x30 len 67 contents: ber_get_next ber_get_next on fd 7 failed errno=246 (Operation would block) do_search ber_scanf fmt ({aiiiib) ber: ber_scanf fmt (o) ber: ber_scanf fmt ({v}}) ber: => ldbm_back_search dn2entry_r: dn: "O=UNIVERSITY OF MICHIGAN,C=US" => dn2id( "O=UNIVERSITY OF MICHIGAN,C=US" ) => ldbm_cache_open( "./test-db/dn2id.dbb", 7, 600 ) <= ldbm_cache_open NULL "./test-db/dn2id.dbb" errno=9 reason="unknown") <= dn2id could not open dn2id.dbb send_ldap_result: conn=4 op=1 p=3 send_ldap_response: msgid=2 tag=101 err=32 ber_flush: 14 bytes to sd 7 connection_get(7): got connid=4 connection_read(7): checking for input on id=4 ber_get_next ber_get_next: tag 0x30 len 5 contents: ber_get_next ber_get_next on fd 7 failed errno=246 (Operation would block) do_unbind connection_closing: readying conn=4 sd=7 for close connection_resched: attempting closing conn=4 sd=7 connection_close: conn=4 sd=7 connection_get(7): got connid=5 connection_read(7): checking for input on id=5 ber_get_next ber_get_next: tag 0x30 len 12 contents: ber_get_next ber_get_next on fd 7 failed errno=246 (Operation would block) do_bind ber_scanf fmt ({iat) ber: ber_scanf fmt (o}) ber: do_bind: version=3 dn="" method=128 send_ldap_result: conn=5 op=0 p=3 send_ldap_response: msgid=1 tag=97 err=0 ber_flush: 14 bytes to sd 7 do_bind: v3 anonymous bind connection_get(7): got connid=5 connection_read(7): checking for input on id=5 ber_get_next ber_get_next: tag 0x30 len 67 contents: ber_get_next ber_get_next on fd 7 failed errno=246 (Operation would block) do_search ber_scanf fmt ({aiiiib) ber: ber_scanf fmt (o) ber: ber_scanf fmt ({v}}) ber: => ldbm_back_search dn2entry_r: dn: "O=UNIVERSITY OF MICHIGAN,C=US" => dn2id( "O=UNIVERSITY OF MICHIGAN,C=US" ) => ldbm_cache_open( "./test-db/dn2id.dbb", 7, 600 ) <= ldbm_cache_open NULL "./test-db/dn2id.dbb" errno=9 reason="unknown") <= dn2id could not open dn2id.dbb send_ldap_result: conn=5 op=1 p=3 send_ldap_response: msgid=2 tag=101 err=32 ber_flush: 14 bytes to sd 7 connection_get(7): got connid=5 connection_read(7): checking for input on id=5 ber_get_next ber_get_next: tag 0x30 len 5 contents: ber_get_next ber_get_next on fd 7 failed errno=246 (Operation would block) do_unbind connection_closing: readying conn=5 sd=7 for close connection_resched: attempting closing conn=5 sd=7 connection_close: conn=5 sd=7 slap_sig_shutdown: signal 1 daemon: shutdown requested and initiated. slapd shutdown: waiting for 0 threads to terminate slapd shutdown: initiated ldbm backend syncing ldbm backend done syncing ====> cache_release_all slapd shutdown: freeing system resources. slapd stopped. Can anyone help on this? Regards and thanks Peter S�rensen/University of Southern Denmark email: maspsr@dou.sdu.dk
It appears like the underlying database cannot create files in the test subdirectories. This is usually a case of inappropriate permissions.
changed state Open to Feedback
Kurt, You are right. The problem was related to a wrong version of BerkeleyDB. I recompiled openldap 2.0.4 with a correct version and all tests passed succesfully. regards and thanks Peter ----- Original Message ----- From: "Kurt Zeilenga" <openldap-its@OpenLDAP.org> To: <maspsr@dou.sdu.dk> Sent: Saturday, September 30, 2000 6:56 PM Subject: Re: test suite test001 fails (ITS#758) > It appears like the underlying database cannot create files in the > test subdirectories. This is usually a case of inappropriate > permissions. >
changed notes changed state Feedback to Closed
db issue, close