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

test ldap startup failure



Hi All

As mentioned before I'm trying to completely install version 2.1.6.
I'm at the stage where I run "make test". Its failing though with this
message:

cd tests; make test
make[1]: Entering directory `/opt/openldap-2.1.3/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 9012...
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...
kill: (6713) - No such pid
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 `/opt/openldap-2.1.3/tests'
make: *** [test] Error 2


At first I thought it was the port no that was clashing but it isn't.
As you can see above I even changed the port no in
../tests/scripts/defines.sh but to no avail.

I then thought it could a permissions thing because of the 3rd line:
"ln: ./data: cannot overwrite directory" but Iam root and I made sure
all the openldap directories and files have groupname and username
'root'.

I also had a look at the config.log and can't see much wrong there,
although I could be wrong.

Has anyone got any ideas what is happening?

Kind regards
Jose Correia
ISIS (Unibase)