[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: make test, bind failed
This has already been fixed in the HEAD. Edit tests/scripts/conf.sh and
enclose the sed arguments in double-quotes:
sed -e "s/@BACKEND@/$BACKEND/" -e "s/^#$BACKEND#//"
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Jarle Tvedten
> Sent: Wednesday, March 13, 2002 2:57 AM
> To: Openldap-Software
> Subject: 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
>