OID 11g / 12c : Login / Authentication Fails into ODSM Console and Ldapbind Fails With Error sgslufread: Hard error on read, OS error = 104 ldap_bind: Can't contact LDAP server

(Doc ID 2334575.1)

Last updated on DECEMBER 01, 2017

Applies to:

Oracle Internet Directory - Version 11.1.1.9.0 to 12.2.1.3.0 [Release 11g to 12c]
Information in this document applies to any platform.

Symptoms

In this scenario it was two node OID high availability setup with common Oracle database. Everything was working fine individually before Loadbalancer configuration was done. Each OID node ODSM was accessible and login was successful. Once the environment was handed over for loadbalancer configuration then below symptoms were observed.

1. For orcladmin user Login / Authentication failed in ODSM Console.Which mean Weblogic Manages server hosting ODSM is up and running fine.

2. When checked from OID ORACLE_HOME, ldapbind command on physical hosts fails with below error

  OID Node-1

     $ORACLE_HOME/bin/ldapbind -h 10.98.115.921 -p 3060 -D "cn=orcladmin" -w "******"

                           sgslufread: Hard error on read, OS error = 104
                          ldap_bind: Can't contact LDAP server

OID Node-2

  $ORACLE_HOME/bin/ldapbind -h 10.98.115.931 -p 3060 -D "cn=orcladmin" -w "******"

                             sgslufread: Hard error on read, OS error = 104
                             ldap_bind: Can't contact LDAP server

 

3. Even oidldapd*.log was showing below entries
<<
...
[2017-10-24T17:44:41.592019+03:00] [OID] [ERROR:8] [23144] [OIDLDAPD] [host: hostname1.com] [pid: 18414] [tid: 2] ServerListener : Exceeding maximum number of connections allowed. Num Conns = 1024, Max Conns = 1024, Closing the connection.

[2017-10-24T17:44:45.590965+03:00] [OID] [ERROR:8] [23144] [OIDLDAPD] [host: hostname1.com] [pid: 18414] [tid: 2] ServerListener : Exceeding maximum number of connections allowed. Num Conns = 1024, Max Conns = 1024, Closing the connection.

[2017-10-24T17:44:46.171610+03:00] [OID] [ERROR:8] [23144] [OIDLDAPD] [host: hostname1.com] [pid: 18414] [tid: 2] ServerListener : Exceeding maximum number of connections allowed. Num Conns = 1024, Max Conns = 1024, Closing the connection.

[2017-10-24T17:44:46.318848+03:00] [OID] [ERROR:8] [23144] [OIDLDAPD] [host: hostname1.com] [pid: 18414] [tid: 2] ServerListener : Exceeding maximum number of connections allowed. Num Conns = 1024, Max Conns = 1024, Closing the connection.

 

Changes

 Loadbalancer configuration changes made OID go into hung state

 Once loadbalancer is stopped from using OID, then no issue is observed and both OID servers work fine and respond to ldapbind commands including ODSM login successful for orcladmin user.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms