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

Re: make test fails: openldap 2.1.3 on RH 7.3



use debug
start slapd with /usr/local/libexec/slapd -d 255 or so on 
read slapd manual..
then from there we can debug..

----- Original Message ----- 
From: "Jatin Nansi" <jatin.nansi@timesgroup.com>
To: <openldap-software@OpenLDAP.org>
Sent: Wednesday, August 14, 2002 3:38 PM
Subject: make test fails: openldap 2.1.3 on RH 7.3


> Hi
> 
> config parameters:
> 
> ./configure --with-cyrus-sasl --with-readline --with-threads --with-tls 
> --enable-slapd --enable-cleartext --enable-crypt --enable-spasswd 
> --enable-bdb --enable-slurpd
> 
> after compiling properly, make test fails as under:
> 
> cd tests; make test
> make[1]: Entering directory 
> `/home/jatin/installation/openldap/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 9009...
> Using ldapsearch to retrieve the root DSE...
> ./scripts/test000-rootdse: line 48: 29797 Segmentation fault      $SLAPD 
> -f $DBCONF -h $MASTERURI -d $LVL $TIMING >$MASTERLOG 2>&1
> 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: (29797) - 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 
> `/home/jatin/installation/openldap/openldap-2.1.3/tests'
> make: *** [test] Error 2
> 
> I did make install anyways, and even after creating a correct 
> slapd.conf, slapd fails to start.
> No error messages whatsoever...
> And as said by Pierangelo in a mail yesterday, I did check for 
> libraries, ld.so.conf
> and did ldconfig -v. Everything appears OK.
> 
> what could be wrong ?
> 
> TIA
> 
> Jatin
> 
>