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

Pls help: OpenLDAP 1.2.11 on HP-UX 11.0 ?



Hello,

I'm configuring OpenLDAP 1.2.11 + Berkeley DB 2.7.7 on HP-UX 11.0 with following
options:

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

There's no problm in make, but it failed in "make test":

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.

*******************************************************************************

and tests/test-db/master.log looks like this:

pd 1.2.11-Release (Tue Aug  8 16:44:11 EAT 2000)
        root@python:/usr/local/src/openldap-1.2.11/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:
send_ldap_result 32::
do_unbind
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:
send_ldap_result 32::
do_unbind
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:
send_ldap_result 32::
do_unbind
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:
send_ldap_result 32::
do_unbind
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:
send_ldap_result 32::
do_unbind
slapd shutting down - waiting for 0 threads to terminate
slapd shutting down - waiting for backends to close down
ldbm backend saving nextid
ldbm backend syncing
ldbm backend done syncing
slapd stopping
**********************************************************************

I'm using GNU gcc, make, and sed.  

Would anyone please help?

Thanks a lot.
ST Wong

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