My Oracle Support Banner

oidldapd01s Log Shows "Hard error on read, OS error =..." (Doc ID 451896.1)

Last updated on JANUARY 29, 2022

Applies to:

Oracle Internet Directory - Version 10.1.4 and later
Oracle Net Services - Version 12.2.1.2.0 to 12.2.1.2.0 [Release 12.2]
Information in this document applies to any platform.

Symptoms

    • oidldapd01s log shows this error at frequent, regular, intervals. The error number varies by platform:
      For OID server on HP:
      2007/06/05:10:41:12 * ServerDispatcher :1 * sgslufread: Hard error on read, OS error = 232

      For OID server on Solaris:
      2007/06/13:08:36:26 * ServerDispatcher :1 * sgslufread: Hard error on read, OS error = 131

      For OID server on Linux:
      2008/07/01:02:41:17 * ServerDispatcher :1 * sgslufread: Hard error on read, OS error = 104

      For OID server on Windows:
      2008/07/01:02:41:17 * ServerDispatcher :1 * sgslufread: Hard error on read, OS error = 10054

      For OID server on IBM AIX:
      * ServerDispatcher :5 * sgslufread: Hard error on read, OS error = 73

      To find these and other unix/OS error codes and corresponding messages:
      On Solaris and HP:
      cd /usr/include/sys
      grep <error number or text> errno.h
      On Linux:
      cd /usr/include/asm
      grep <error number or text> errno.h
    • Wireshark/tcpdump shows many TCP sockets being started against the LDAP port and then
      dropped before any actual request is sent. This would explain the error messages in the OID
      logs. A client starts to connect then drops the connection. For example:
      Time           Source           Destination     Pro   Info
      14.011361 <SOURCE IP> <DESTINATION IP> TCP 2957 > ldap [SYN] Seq=0 Len=0 ...
      14.011384 <DESTINATION IP> <SOURCE IP> TCP ldap > 2957 {SYN, ACK] Seq=0 ...
      14.011880 <SOURCE IP> <DESTINATION IP> TCP 2957 > ldap [ACK] Se1=1 Ack=1 ...
      14.044881 <SOURCE IP> <DESTINATION IP> TCP 2957 > ldap [RST, ACK] Seq=1 Ack=1 ...
      This shows the LBR initiating, the OID server responding, and LBR replying twice.

 

  • A telnet to the OID port returns no error, and results in much the same packets and the same error in the oidldapd log:
    telnet <OID HOSTNAME> <OID_port>
    Trying 10.10.10.30...
    Connected to testsrv.
    Escape character is '^]'. Connection closed by foreign host.
  • This error was not present in 10.1.2

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
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.