openLpad connection problem
Hi everyone,
i am having trouble configuring openldap.
BerkeleyDB.4.2
cd db-4.2.52
cd build_unix
../dist/configure
make
make install
cyrus-sasl-2.1.21
tar zxvf cyrus-sasl-2.1.21.tar.gz
cd cyrus-sasl-2.1.21
./configure --with-bdb-libdir=/usr/local/BerkeleyDB.4.1/lib
--with-bdb-incdir=/usr/local/BerkeleyDB.4.1/include/
--with-openssl=/home/usr/Desktop/downloads/openssl-0.9.8
make
make install
tar zxvf openldap-openldap-2.2.26.tar.gz
cd openldap-2.2.26
env CPPFLAGS="-I/usr/local/include -I/home/usr/Desktop/downloads/openssl-0.9.8/include -I/usr/local/BerkeleyDB.4.2/include"
LDFLAGS="-L/home/usr/Desktop/downloads/openssl-0.9.8/lib -L/usr/local/lib/db4"
./configure --with-tls --with-cyrus-sasl --enable-wrappers --enable-crypt --enable-bdb
make
make test
-----------when i get to this point it gives me error
Initiating LDAP tests for BDB...
Cleaning up test run directory leftover from previous run.
Running ./scripts/all...
>>>>> Executing all LDAP tests for bdb
>>>>> Starting test000-rootdse ...
running defines.sh
Starting slapd on TCP/IP port 9011...
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 48: kill: (28624) - No such process
ldap_bind: Can't contact LDAP server (-1)
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 1)
make[2]: *** [bdb-yes] Error 1
make[2]: Leaving directory `/home/mit/Desktop/downloads/openldap-2.2.26/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/home/mit/Desktop/downloads/openldap-2.2.26/tests'
make: *** [test] Error 2
when i try to go find slapd in libexec i can't find anything
i also try to run it on root: /usr/sbin/slapd -d to find out if it even run but it can't find the file....i don't whats wrong or if i missed a step...please help...
thanks in advance..pooja
|