My Oracle Support Banner

Opmnctl Create Component Fails With Java Error IO Error: The Network Adapter Could Not Establish The Connection (Doc ID 2055226.1)

Last updated on JANUARY 24, 2017

Applies to:

Oracle Internet Directory - Version 11.1.1.7.0 to 11.1.1.9.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

Running opmnctl command to create new OID component fails with follow message:

opmnctl createcomponent -componentType OID -componentName oid2 -adminPort 7001 -Db_info “mydbserver.us.oracle.com:1521:orcl.us.oracle.com” -Port 3162 -Sport 3132


Command requires login to weblogic admin server (infra.vm.oracle.com):
 Username: weblogic
 Password:

Creating empty component directories...Done
Provisioning OID files for oid2
 OID onCreate....

Enter ODS password:
java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:489)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:678)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:234)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)
at java.sql.DriverManager.getConnection(DriverManager.java:571)
at java.sql.DriverManager.getConnection(DriverManager.java:233)
at oracle.iam.management.oid.install.wls.SQLConnection.<init>(SQLConnection.java:118)
at oracle.iam.management.oid.install.wls.OIDComponentHelper._getODSConn(OIDComponentHelper.java:1927)
at oracle.iam.management.oid.install.wls.OIDComponentHelper.validateODSParams(OIDComponentHelper.java:261)
at oracle.iam.management.oid.install.wls.OIDComponent.onCreate(OIDComponent.java:127)
at oracle.as.config.impl.OracleASComponentBaseImpl.createComponent(OracleASComponentBaseImpl.java:597)
at oracle.as.config.impl.OracleASComponentBaseImpl.create(OracleASComponentBaseImpl.java:106)
at oracle.as.config.provisioner.commands.CreateComponentCommand.execute(CreateComponentCommand.java:40)
at oracle.as.config.provisioner.InstallerCmdLine.run(InstallerCmdLine.java:146)
at oracle.as.config.provisioner.InstallerCmdLine.main(InstallerCmdLine.java:46)
Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:398)
at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:438)
at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:711)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:257)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1229)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:326)
... 15 more
Caused by: java.net.UnknownHostException: “mydbserver.us.oracle.com: Name or service not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1295)
at java.net.InetAddress.getAllByName0(InetAddress.java:1248)
at java.net.InetAddress.getAllByName(InetAddress.java:1164)
at java.net.InetAddress.getAllByName(InetAddress.java:1098)
at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:130)
at oracle.net.nt.ConnOption.connect(ConnOption.java:137)
at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:374)
... 20 more
   Skipping oid2 unregistration. It is not currently registered with the adminserver.
   Deleting oid2 directories
   Invoking opmn reload...Done
Command failed: Exception in onCreate()
Details are logged in /u01/app/ldsora/product/Middleware/asinst_1/diagnostics/logs/OPMN/opmn/provision.log

 

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.