My Oracle Support Banner

OVD 11g ldapsearch Fails with "Error Ldap_result: Can't Contact LDAP Server" "java.net.SocketException: Socket closed" (Doc ID 2417343.1)

Last updated on AUGUST 30, 2023

Applies to:

Oracle Virtual Directory - Version 11.1.1.9.0 and later
Information in this document applies to any platform.

Symptoms

Attempting to search OVD 11g using  ldapsearch command fails with
 
"ldap_result: Can not contact LDAP server" after a few seconds of issuing the command

Example of search:
ldapsearch -h <OVD_HOSTNAME> -p <PORT> -D cn=orcladmin -w <PASSWORD> '(&(objectclass=person)(orclmemberof=cn=<GROUP>,cn=<CN>,dc=<COMPANY>,dc=com))'
ldap_result: Can't contact LDAP server

Errors found in OVD diagnostic log

[2018-06-20T17:40:56.706-03:00] [octetstring] [TRACE] [OVD-00001] [com.octetstring.vde.MessageHandler] [tid: xx] [ecid: <ECID>] Transmission to <IP_ADDRESS> interrupted.
[2018-06-20T17:40:56.707-03:00] [octetstring] [TRACE] [] [com.octetstring.vde.OperationHandler] [tid: xx] [ecid: <ECID>] Operation error Error occured in communicating with client: java.net.SocketException: Socket closed.

 

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


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