Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > AS/ES/WS v. 4 > Issue <<  108 of 616 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 7135
Last update: 11-14-05
Issue:
I could not start the OpenLDAP service in Red Hat Enterprise Linux. Where should I start looking?
Resolution:

Release Found: Red Hat Enterprise Linux 3 & 4

Symptom:
When LDAP is started with service ldap start, the logs would show the following error messages:

Nov 10 14:23:22 darkstar slaptest: sql_select option missing
Nov 10 14:23:22 darkstar slaptest: auxpropfunc error no mechanism available 
Nov 10 14:23:22 darkstar ldap:  succeeded
Nov 10 14:23:22 darkstar slapd[5503]: sql_select option missing
Nov 10 14:23:22 darkstar slapd[5503]: auxpropfunc error no mechanism available 
Nov 10 14:23:22 darkstar ldap: slapd startup failed

Solution:
There are three things to check:

  1. Make sure that /etc/openldap/ldap.conf is owned by the ldap account. If not, execute the following:

    chown ldap.ldap /etc/openldap/ldap.conf
  2. Repeat step #1 for the /etc/openldap/slapd.conf file.
  3. In Red Hat Enterprise Linux 4, try commenting out the line TLS_CACERTDIR /etc/openldap/cacerts in the /etc/openldap/ldap.conf file.

If nothing works, turn on debugging for slapd and continue troubleshooting. To enable debugging, create the file /etc/sysconfig/ldap with the following entries:

SLAPD_OPTIONS="-d 5"

For further troubleshooting of the issue, Red Hat Enterprise Linux users with subscription entitlements may access Technical Support through http://www.redhat.com/support.


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > AS/ES/WS v. 4 > Issue <<   108  of  616  >>