EM12c: Enterprise Manager 12c Cloud Control OMS Start OMS Fails after Server Reboot with Error: java.net.UnknownHostException: Found in Emctl.log (Doc ID 1398977.1)

Last updated on SEPTEMBER 01, 2017

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Symptoms

Trying to start 12c Cloud Control after the OMS server reboot, it fails with following error :

./emctl start oms
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Starting WebTier...
WebTier Successfully Started
Starting Oracle Management Server...
Oracle Management Server is Down


The following error messages are observed in emctl.log :

2012-01-23 19:35:57,767 [main] DEBUG oms.StatusOMSCmd pingOMSCheck.341 - Attempting to connect to https://<omshostname>:7302/em/faces/logon/core-uifwk-console-login
2012-01-23 19:35:57,769 [main] ERROR oms.StatusOMSCmd processStatusOMS.309 - oms hostname.domain.com
java.net.UnknownHostException: oms hostname.domain.com
at java.net.InetAddress.getAllByName0(InetAddress.java:1158)
........
........
at HTTPClient.HTTPConnection$EstablishConnection.run(HTTPConnection.java:4254)
2012-01-23 19:35:57,770 [main] INFO wls.OMSController statusOMS.1354 - statusOMS finished with result: 9
...........
...........
2012-01-23 19:22:46,528 [Thread-1] INFO wls.OMSController run.1744 - <OUT>NMProcess: <Jan 23, 2012 7:22:46 PM> <SEVERE> <Fatal error in node manager server>
2012-01-23 19:22:46,528 [Thread-1] INFO wls.OMSController run.1744 - <OUT>NMProcess: java.net.BindException: Cannot assign requested address
2012-01-23 19:22:46,529 [Thread-1] INFO wls.OMSController run.1744 - <OUT>NMProcess: at java.net.PlainSocketImpl.socketBind(Native Method)
2012-01-23 19:22:46,529 [Thread-1] INFO wls.OMSController run.1744 - <OUT>NMProcess: at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
........
........
2012-01-23 19:22:54,268 [Thread-1] INFO wls.OMSController run.1744 - <OUT>The Node Manager logs will be under /DATA/oracle/Middleware/gc_inst/NodeManager/emnodemanager
2012-01-23 19:22:54,268 [Thread-1] INFO wls.OMSController run.1744 - <OUT>Node Manager starting in the background
2012-01-23 19:22:54,269 [Thread-1] INFO wls.OMSController run.1744 - <OUT>Connecting to Node Manager ...
2012-01-23 19:22:54,269 [Thread-1] INFO wls.OMSController run.1744 - <OUT>This Exception occurred at Mon Jan 23 19:22:54 IST 2012.
2012-01-23 19:22:54,270 [Thread-2] INFO wls.OMSController run.1744 - <ERR>weblogic.nodemanager.NMConnectException: Connection refused. Could not connect to NodeManager. Check that it is running at hostname:7404.
2012-01-23 19:22:54,270 [Thread-2] INFO wls.OMSController run.1744 - <ERR> at java.net.PlainSocketImpl.socketConnect(Native Method)
2012-01-23 19:22:54,270 [Thread-1] INFO wls.OMSController run.1744 - <OUT>Node Manager is not up, sleeping for five seconds...


The following error messages are observed in nodemanager.log :

<Jan 23, 2012 7:22:44 PM> <INFO> <Loading domains file: /DATA/oracle/Middleware/gc_inst/NodeManager/emnodemanager/nodemanager.domains>
<Jan 23, 2012 7:22:46 PM> <INFO> <Loading identity key store: FileName=/DATA/oracle/Middleware/wlserver_10.3/server/lib/DemoIdentity.jks, Type=jks, PassPhraseUsed=true>
<Jan 23, 2012 7:22:46 PM> <INFO> <Loaded node manager configuration properties from '/DATA/oracle/Middleware/gc_inst/NodeManager/emnodemanager/nodemanager.properties'>
<Jan 23, 2012 7:22:46 PM> <INFO> <GCDomain> <EMGC_OMS1> <Startup configuration properties loaded from "/DATA/oracle/Middleware/gc_inst/user_projects/domains/GCDomain/servers/EMGC_OMS1/data/nodemanager/startup.properties">
<Jan 23, 2012 7:22:46 PM> <SEVERE> <Fatal error in node manager server>
java.net.BindException: Cannot assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at javax.net.ssl.impl.SSLServerSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.<init>(ServerSocket.java:194)
at javax.net.ssl.SSLServerSocket.<init>(SSLServerSocket.java:106)
at javax.net.ssl.impl.SSLServerSocketImpl.<init>(Unknown Source)
at javax.net.ssl.impl.SSLServerSocketFactoryImpl.createServerSocket(Unknown Source)

Changes

 

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