My Oracle Support Banner

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 OCTOBER 02, 2024

Applies to:

Oracle Internet Directory - Version 11.1.1.1.0 and later
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 <OID_IP1> -p <OID_PORT> -D "cn=orcladmin" -w <PASSWORD>

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

OID Node-2

  $ORACLE_HOME/bin/ldapbind -h <OID_IP2> -p <OID_PORT> -D "cn=orcladmin" -w <PASSWORD>

                             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: <OID_HOSTNAME1>] [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: <OID_HOSTNAME1>] [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:<OID_HOSTNAME1>] [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: <OID_HOSTNAME1>] [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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.