EM 12c: OMS Does Not Come Up After Server Reboot With java.net.SocketException: Network Is Unreachable in Emctl.log (Doc ID 1374946.1)

Last updated on MARCH 08, 2012

Applies to:

Enterprise Manager Base Platform - Version: 12.1.0.1.0 and later   [Release: 12.1 and later ]
Information in this document applies to any platform.

Symptoms

After successfull installation of OEM 12c OMS does not come up after server reboot.

+ emctl.log file will show error as below :
<TIMESTAMP> [main] ERROR oms.StatusOMSCmd processStatusOMS.300 - Network is unreachable
java.net.SocketException: Network is unreachable

at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:218)
at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:212)
at HTTPClient.HTTPConnection$EstablishConnection$2.run(HTTPConnection.java:4268)
at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:708)
at HTTPClient.HTTPConnection.doAction(HTTPConnection.java:5379)
at HTTPClient.HTTPConnection$EstablishConnection.run(HTTPConnection.java:4254)

+ emoms.trc file will show error as below,

<TIMESTAMP> [AdminMsgListener] WARN jdbc.ConnectionCache _getConnection.373 - IO Error: The Network Adapter could not establish the connection
java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection

at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:443)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:670)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:230)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:404)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:288)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:226)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:151)
at oracle.jdbc.pool.OracleImplicitConnectionCache.makeCacheConnection(OracleImplicitConnectionCache.java:1766)
at oracle.jdbc.pool.OracleImplicitConnectionCache.makeOneConnection(OracleImplicitConnectionCache.java:658)
at oracle.jdbc.pool.OracleImplicitConnectionCache.getCacheConnection(OracleImplicitConnectionCache.java:606)
at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:471)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:582)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:508)
at oracle.sysman.emSDK.core.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:357)
at oracle.sysman.emSDK.core.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:343)
at oracle.sysman.emSDK.core.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:596)
at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:215)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getSystemConnection(ConnectionService.java:1765)
at oracle.sysman.emdrep.adminmsg.AdminMsgListener.getConnection(AdminMsgListener.java:642)
at oracle.sysman.emdrep.adminmsg.AdminMsgListener.logError(AdminMsgListener.java:704)
at oracle.sysman.emdrep.adminmsg.AdminMsgListener.run(AdminMsgListener.java:244)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:381)
at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:426)
at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:710)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:256)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1176)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:318)
... 23 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at oracle.net.nt.MetricsEnabledSocket.connect(TcpNTAdapter.java:619)
at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:164)
at oracle.net.nt.ConnOption.connect(ConnOption.java:134)
at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:357)
... 28 more

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