Issue 758 - test suite test001 fails
Summary: test suite test001 fails
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-09-21 08:44 UTC by maspsr@dou.sdu.dk
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description maspsr@dou.sdu.dk 2000-09-21 08:44:37 UTC
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  
Comment 1 Kurt Zeilenga 2000-09-30 09:56:42 UTC
It appears like the underlying database cannot create files in the
test subdirectories.  This is usually a case of inappropriate
permissions.
Comment 2 Kurt Zeilenga 2000-09-30 09:56:59 UTC
changed state Open to Feedback
Comment 3 maspsr@dou.sdu.dk 2000-10-02 10:47:56 UTC
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.
>

Comment 4 Kurt Zeilenga 2000-10-03 17:29:40 UTC
changed notes
changed state Feedback to Closed
Comment 5 OpenLDAP project 2014-08-01 21:06:12 UTC
db issue, close