LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-08-2005, 04:31 PM   #1
LAdProg2005
Member
 
Registered: Oct 2005
Posts: 50

Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
connection problem elamigo2004 Linux - Software 0 06-21-2004 05:09 PM
problem with connection dkitt10 Linux - Networking 9 05-28-2004 12:47 AM
Connection problem Aradorn Linux - Networking 1 04-01-2004 04:23 PM
Connection problem :( Goblin Linux - Distributions 14 08-30-2003 05:21 AM
idea: sharing net connection, method: iptables..., problem: broken net connection :( danny2055 Linux - Networking 4 06-09-2003 07:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration