My Oracle Support Banner

AD To OID Sync Fails With [Root exception is java.net.ConnectException: Connection timed out] (Doc ID 433018.1)

Last updated on OCTOBER 02, 2019

Applies to:

Oracle Internet Directory - Version 10.1.2 and later
Information in this document applies to any platform.

Symptoms

Active Directory (AD) to Oracle Internet Directory (OID) synchronization process had been working until the Infrastructure server was restarted.

Now ActiveChgImp.trc file shows error connecting to AD server:

LDAP URL : (<AD HOSTNAME>:<AD PORT> cn=<USERNAME>,dc=<COMPANY>,dc=com
Specifying binary attributes: mpegvideo objectguid objectsid guid usercertificate
orclodipcondirlastappliedchgnum
LDAP CommuncationException javax.naming.CommunicationException: <AD HOSTNAME>:<AD PORT>
[Root exception is java.net.ConnectException: Connection timed out]
<AD HOSTNAME>:<AD PORT>
Reader initialization failed!
.
However, command line ldapbinds directly to same AD host/port work fine and consistently every time, i.e. the following ldapsearch works consiste:
ldapsearch -h <AD HOSTNAME> -p <AD PORT> -D "cn=<USERNAME>,dc=<COMPANY>,dc=com"
-w <PASSWORD> -b "" -s base "objectclass=*" highestCommittedUSN

So the connection timed out error only occurs for odisrv/sync.

Changes

DNS changes made and restarted infrastructure OID server.

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


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