[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
make test, bind failed
Hi,
I am trying to install openldap-2.1alpha on a Solaris 2.8 using the
following configuration.
env CC=gcc CPPFLAGS=-D_REENTRANT \
CPPFLAGS="-I/usr/local/BerkeleyDB.4.0/include -I/usr/local/include" \
LIBS="-L/usr/local/BerkeleyDB.4.0/lib -L/usr/local/lib" \
/configure --without-threads -enable-ldbm --with-ldbm-api=berkeley
make depend
make
All compiled without error, but when I run make test I get the following:
> make test
cd tests; make test
ln: cannot create ./data: File exists
*** Error code 2 (ignored)
ln: cannot create ./schema: File exists
*** Error code 2 (ignored)
ln: cannot create ucdata/liblunicode: File exists
*** Error code 2 (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...
sed: command garbled: s/
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...
/scripts/test000-rootdse: kill: no such process
ldap_bind: Can't contact LDAP server (81)
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 1)
*** Error code 1
master.log:
-----------
/slapd
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: bind(7) failed errno=126 (Cannot assign requested address)
daemon: initialized ldap://localhost:9009/
daemon_init: 1 listeners opened
slapd init: initiated server.
bdb_open: initialize BDB backend
bdb_open: Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)
error loading ucdata (error -63)
slapd shutdown: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.
Any help would be useful..
Jarle