Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-21-2007, 07:03 AM   #1
LQ Newbie
Registered: Nov 2006
Posts: 29

Rep: Reputation: 15
Service ldap start gives error

Hi All,

I'm trying to getting work an LDAP server on RHEL 4 (AS) box.
I have configured /etc/openldap/slapd.conf file according to my need. The command slaptests showes success. The directory /var/lib/ldap has correct permission.

But When I type
#service ldap start
It shows -
Checking configuration files for : config file testing succeeded
Starting slapd: [FAILED]

The file /var/log/messages shows

Mar 21 16:28:02 vipin slaptest: sql_select option missing
Mar 21 16:28:02 vipin slaptest: auxpropfunc error no mechanism available
Mar 21 16:28:02 vipin ldap: succeeded
Mar 21 16:28:02 vipin slapd[21573]: sql_select option missing
Mar 21 16:28:02 vipin slapd[21573]: auxpropfunc error no mechanism available
Mar 21 16:28:02 vipin ldap: slapd startup failed

Could somebody let me know where is the problem.

Thanks in advance
Old 08-06-2007, 04:31 AM   #2
LQ Newbie
Registered: Jul 2007
Posts: 1

Rep: Reputation: 0

We are also having the same proble, the LDAP service ailed to start, please helpus out...

Thanks in advance again!

Old 08-20-2007, 12:12 PM   #3
LQ Newbie
Registered: Jun 2006
Distribution: RHEL, SLES, Fedora, Ubuntu
Posts: 14

Rep: Reputation: 0

I have had some luck by doing the following when ldap will not start: go to /var/lib/ldap/ and type in: slapd_db_recover

This helps if the bdb did notload properly after a reboot.

Good luck.
Old 11-18-2007, 11:56 PM   #4
LQ Newbie
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
I also faced the same problem...and fix is simple...
just create the following directory
mkdir /etc/openldap/cacerts

To ensure this check the output of
slapd -d -1
which runs slapd in debug mode...and thus you can ensure any other problems.

Good Luck.


having, help, im, please

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
'service squid start' gives error logicalfuzz Linux - Networking 5 06-04-2014 01:33 AM
Qmail error service wont start fotoguy Linux - General 3 01-29-2006 11:22 PM
LDAP service is not getting started dhanju Linux - Networking 0 01-06-2006 04:36 AM
Error when start service after remove LDAP blackyzero Linux - Networking 0 09-30-2004 12:02 AM
Proftpd Service Start ERROR!! poisonousmist Linux - Newbie 2 10-14-2003 09:34 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:03 PM.

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