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

Make test failed



What the solution for the problem ?

P.S : Port 9009 it's free in my system

*** OpenLDAP-2.0.6 in RedHat 7.0 (Machine 1)

[root@gateway openldap-2.0.6]# make test
cd tests; make test
make[1]: Entering directory `/var/tmp/openldap-2.0.6/tests'
ln: ./data: cannot overwrite directory
make[1]: [test-ldbm] Error 1 (ignored)
ln: ./schema: File exists
make[1]: [test-ldbm] Error 1 (ignored)
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...    # here slapd is running
Using ldapsearch to retrieve all the entries...
Waiting 5 seconds for slapd to start...  # here no
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: kill: (7473) - No such pid
ldap_bind: Can't contact LDAP server
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 1)
make[1]: *** [test-ldbm] Error 1
make[1]: Leaving directory `/var/tmp/openldap-2.0.6/tests'
make: *** [test] Error 2
[root@gateway openldap-2.0.6]#


*** OpenLDAP 1.2.10 and OpenLDAP 1.2.11 in RedHat 6.2 (Machine 2)

[tests]# make
ln: ./data: cannot overwrite directory
make: [all-local] Error 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...
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...
ldapsearch failed!
>>>>> ./scripts/test001-ldif2ldbm failed (exit 1)
make: *** [all-local] Error 1


Thank You !

Kleyson Rios.
Brazil.