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

Pls help: Building 1.2.11 on HP-UX 11.0



Hi,

I'm building OpenLDAP 1.2.11 on HP-UX 11.0 with native pthread support and HP
C compiler.   I'm using Berkeley DB 2.7.7.  The configuration options are :

LIBS="-lpthread -lsec" \
CPPFLAGS="-I/usr/local/BerkeleyDB/include" \
LDFLAGS="-L/usr/local/BerkeleyDB/lib" \
./configure  --prefix=/usr/local/openldap-1211db --enable-shell --with-ldbm-api=db2

-----------------------------------------------------------------
Make test fails with error :

# make
ln: .//data exists
*** Error exit code 1 (ignored)
Initiating LDAP tests...
>>>>> Executing all LDAP tests...
>>>>> Test Directory: .
>>>>> Backend: ldbm
>>>>> Starting test001-ldif2ldbm ...
running defines.sh . ldbm
Datadir is ./data
Cleaning up in ./test-db...
Running ldif2ldbm to build slapd database...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to retrieve all the entries...
Waiting 5 seconds for slapd to start...
ldapsearch failed!
>>>>> ./scripts/test001-ldif2ldbm failed (exit 32)
*** Error exit code 32

Stop.

-----------------------------------------------------------------
Error "bad file number" is found in master.log:

slapd 1.2.11-Release (Thu Aug 31 00:14:32 EAT 2000)
        root@python:/usr/local/src/openldap/servers/slapd
slapd starting
do_bind
do_bind: version 2 dn () method 128
send_ldap_result 0::
do_search
SRCH "O=UNIVERSITY OF MICHIGAN,C=US" 2 0    0 0 0
    filter: (objectclass=*)
    attrs:
=> ldbm_back_search
sizelimit: (500)
using base "O=UNIVERSITY OF MICHIGAN,C=US"
subtree_candidates: base: "O=UNIVERSITY OF MICHIGAN,C=US" lookupbase
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 "Bad file number")
<= dn2id could not open dn2id.dbb
send_ldap_result 32::
do_unbind
do_bind
do_bind: version 2 dn () method 128
send_ldap_result 0::
-----------------------------------------------------------------

Would anyone please help?

Thank you very much!
ST Wong 

--
S.T. Wong                               | Email: st-wong@cuhk.edu.hk