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

OpenLDAP on RH9



Hello,

  I´ve been trying to install OpenLDAP in linux (Red Hat 9), but when I run the make test I get the next error:

cd tests; make test
make[1]: Entering directory `/tmp/openldap-2.1.29/tests'
ln: `./data': cannot overwrite directory
make[1]: [test-bdb] Error 1 (ignored)
ln: `./schema': File exists
make[1]: [test-bdb] Error 1 (ignored)
ln: `ucdata/liblunicode': File exists
make[1]: [test-bdb] Error 1 (ignored)
Initiating LDAP tests for BDB...
>>>>> Executing all LDAP tests...
>>>>> Test Directory: .
>>>>> Backend: bdb
>>>>> Starting test000-rootdse ...
running defines.sh
Datadir is ./data
Cleaning up in ./test-db...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to retrieve the root DSE...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
./scripts/test000-rootdse: line 57: kill: (32326) - No such process
ldap_bind: Can't contact LDAP server (81)
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 1)
make[1]: *** [test-bdb] Error 1
make[1]: Leaving directory `/tmp/openldap-2.1.29/tests'
make: *** [test] Error 2
 
Before installing OpenLDAP I had installed the next programs:
openSSL-0.9.7d.tar.gz
cyrus-sasl-2.1.18.tar.gz (with the option ./configure --with-dblib=Berkeley)
db-4.2.52.tar.gz
 
The LDAP version I have installed is:  2.1.29 (openldap-stable-20040329.tgz) The installation was made in the next way:
Env CPPFLAGS= "-I/usr/local/BerkeleyDB.4.2/include" LDFLAGS= "-L/usr/local/BerkeleyDB.4.2/lib" ./configure -with-ldbm-api=berkeley -enable-slurpd
LD_LIBRARY_PATH= /usr/local/Berkeley.4.2/lib; export LD_LIBRARY_PATH
make depend
make
make test
 
In addition, I´ve included: 
/usr/local/BerkeleyDB.4.2
/usr/lib
/usr/lib/sasl2
/usr/local/lib
in the file:/etc/ld.so.conf and I´ve run ldconfig
 
Anyone know what is the problem?. The file tests/test-db/master.log show this:

daemon_init: ldap://localhost:9009/
daemon_init: listen on ldap://localhost:9009/
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap://localhost:9009/)
daemon: initialized ldap://localhost:9009/
daemon_init: 1 listeners opened
slapd init: initiated server.
slap_sasl_init: SASL version mismatch, got 201000a, wanted 2010012.
slapd shutdown: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.
 
Thanks.
 
Best regards.
 
Raquel Sánchez.