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

Re: Make Test Fails: Can't connect to LFDAP server



David Hofer wrote:

n: `./data': cannot overwrite directory
make: [test-bdb] Error 1 (ignored)
ln: `./schema': File exists
make: [test-bdb] Error 1 (ignored)
ln: `ucdata/liblunicode': File exists
make: [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 389...
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: (24765) - No such process
ldap_bind: Can't contact LDAP server (81)


Test failed
./scripts/test000-rootdse failed (exit 1)


make: *** [test-bdb] Error 1

I altered defines.sh on the port number from port 9009 to port 389. But
I still get the same error as above.I am not using BIND DNS.I would like
to just use the hosts file just keep it simple with ldap using 127.0.0.l
as an IP address. I think that the slapd daemon is not running in the
test. Thank you.

Dave





Maybe the slapd is not finding some libraries? Try checking with ldd.
+----------------------------------------------------------------------------+
|   SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax:+390382476497    |
+----------------------------------------------------------------------------+