LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 03-21-2007, 06:03 AM   #1
4ajaysingh
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, 03:31 AM   #2
matrixrevival
LQ Newbie
 
Registered: Jul 2007
Posts: 1

Rep: Reputation: 0
Hi!

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

Thanks in advance again!

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

Rep: Reputation: 0
Hello,

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, 10:56 PM   #4
saisrikanths
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.
 
  


Reply

Tags
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
'service squid start' gives error logicalfuzz Linux - Networking 4 09-28-2011 04:25 AM
Qmail error service wont start fotoguy Linux - General 3 01-29-2006 10:22 PM
LDAP service is not getting started dhanju Linux - Networking 0 01-06-2006 03:36 AM
Error when start service after remove LDAP blackyzero Linux - Networking 0 09-29-2004 11:02 PM
Proftpd Service Start ERROR!! poisonousmist Linux - Newbie 2 10-14-2003 08:34 AM


All times are GMT -5. The time now is 10:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration