Why do I see "nslcd[XXXX]: [yyyyyy] ldap_search_ext() failed: Can't contact LDAP server"?

Solution Verified - Updated -

Issue

  • Why do I see the following in /var/log/messages
nslcd[XXXX]: [yyyyyy] ldap_search_ext() failed: Can't contact LDAP server
nslcd[XXXX]: [yyyyyy] no available LDAP server found, sleeping 1 seconds
  • We are seeing ldap_result() timed out messages from nslcd in /var/log/messages, and our LDAP server stops offering services to clients. Also ldapsearch fails when the issue happens.

Environment

  • Red Hat Enterprise Linux 6
  • nss-pam-ldapd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.