Installation of OID 10.1.4 Fails at Configuration Assistant and oidca.log Showing "java.net.ConnectException: Connection refused"

(Doc ID 2410785.1)

Last updated on JUNE 15, 2018

Applies to:

Oracle Fusion Middleware - Version 10.1.4.0.1 to 10.1.4.0.1 [Release AS10gR2]
Information in this document applies to any platform.

Symptoms

Installing Oracle Internet Directory as part of Identity Management 10.1.4.0.1.

The software was installed successfully, including the default Oracle Database 10.1.0.5, and the linking phase completed successfully.

The problem occurred during the Configuration Assistant step while running the "Internet Directory Configuration Assistant".

All steps prior to this step completed successfully, but this step produces a core dump and all Configuration Assistants after this is skipped.

ERROR within installActions<date-time>.log :

Launched configuration assistant 'Internet Directory Configuration Assistant'
Tool type is: Recommended.
The command being spawned is: '/opt/app/oracle/product/OID/bin/oidca mode=OID <connect info>

Start output from spawned process:
----------------------------------
Oracle Internet Directory Configuration failed. Please see log file: /opt/app/oracle/product/OID/ldap/log/oidca.log

End output from spawned process.
----------------------------------
Configuration assistant "Internet Directory Configuration Assistant" failed
Oracle Internet Directory Configuration failed. Please see log file: /opt/app/oracle/product/OID/ldap/log/oidca.log

 

ERROR within oidca.log:

javax.naming.CommunicationException: [Root exception is java.net.ConnectException: Connection refused]
at oracle.ldap.util.jndi.ConnectionUtil.returnInitialLdapContext(ConnectionUtil.java:491)
at oracle.ldap.util.jndi.ConnectionUtil.getDefaultDirCtx(ConnectionUtil.java:134)
at oracle.ldap.util.jndi.ConnectionUtil.getDefaultDirCtx(ConnectionUtil.java:156)
at oracle.ldap.oidinstall.backend.OIDConfiguration.isOIDSrvUp(OIDConfiguration.java:961)
at oracle.ldap.oidinstall.backend.OIDConfigWrapper.configOID(OIDConfigWrapper.java:277)
at oracle.ldap.oidinstall.OIDCA.doSilent(OIDCA.java:508)
at oracle.ldap.oidinstall.OIDCA.run(OIDCA.java:845)
at oracle.ldap.oidinstall.OIDCA.main(OIDCA.java:984)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:462)
at java.net.Socket.connect(Socket.java:412)
at java.net.Socket.(Socket.java:308)
at java.net.Socket.(Socket.java:124)
at com.sun.jndi.ldap.Connection.createSocket(Connection.java:346)
at com.sun.jndi.ldap.Connection.(Connection.java:181)
at com.sun.jndi.ldap.LdapClient.(LdapClient.java:119)
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1668)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2599)
at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:290)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.ldap.InitialLdapContext.(InitialLdapContext.java:133)
at oracle.ldap.util.jndi.ConnectionThread.run(ConnectionThread.java:61)
Fri Jun 08 17:58:43 EDT 2018Could not contact OID server.
Stopping OID Server using OPMN..
oracle.ldap.oidinstall.backend.OIDCAException: OID Server could not be started. Please see the log files.
at oracle.ldap.oidinstall.backend.OIDConfiguration.isOIDSrvUp(OIDConfiguration.java:972)
at oracle.ldap.oidinstall.backend.OIDConfigWrapper.configOID(OIDConfigWrapper.java:277)
at oracle.ldap.oidinstall.OIDCA.doSilent(OIDCA.java:508)
at oracle.ldap.oidinstall.OIDCA.run(OIDCA.java:845)
at oracle.ldap.oidinstall.OIDCA.main(OIDCA.java:984)

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