My Oracle Support Banner

EM 13.5: OMS upgrade to 13.5 failed with an error "Port XXXX for adminPort is already in use on machine "EMGC_MACHINE(x)". (Doc ID 2794562.1)

Last updated on JULY 18, 2022

Applies to:

Enterprise Manager Base Platform - Version 13.5.0.0.0 to 13.5.0.0.0 [Release 13c]
Information in this document applies to any platform.

Symptoms

OMS upgrade from 13.3 to 13.5 got failed at "OMS Configuration" step with the below error:

The action configuration is performing

------------------------------------------------------
The plug-in OMS Configuration is running

Executing the OMSCA command...

Check the log files of the OMS Configuration Assistant at: <OMS_HOME>/cfgtoollogs/omsca

The plug-in OMS Configuration has failed its perform method
------------------------------------------------------
The action configuration has failed its perform method

<OMS_HOME>/cfgtoollogs/cfgfw/oracle.sysman.top.oms_YYYY-MM-DD_HH-MM-SS-PM.log:

INFO: oracle.sysman.top.oms:Configuring webtier ......
INFO: oracle.sysman.top.oms:java.lang.Exception: CREATING_OHS_COMP_FAILED
INFO: oracle.sysman.top.oms: at oracle.sysman.omsca.adapter.wls.OMSWLSAdapter.adapterConfigWebTier(OMSWLSAdapter.java:2814)
INFO: oracle.sysman.top.oms: at oracle.sysman.omsca.framework.OMSGenericAdapter.configWebTier(OMSGenericAdapter.java:313)
INFO: oracle.sysman.top.oms: at oracle.sysman.omsca.framework.OMSCAUpgradeInstall.execute(OMSCAUpgradeInstall.java:578)
INFO: oracle.sysman.top.oms: at oracle.sysman.omsca.framework.OMSConfigAssistantDriver.main(OMSConfigAssistantDriver.java:289)
INFO: oracle.sysman.top.oms:OMSCA-ERR:Configuring WebTier failed
INFO: oracle.sysman.top.oms:
INFO: oracle.sysman.top.oms:OMSCA-ERR:Configuring WebTier failed. Check the trace file:<OMS_HOME>/cfgtoollogs/omsca/omsca_YYYYMMDDHHMMSS.log
INFO: oracle.sysman.top.oms:
INFO: oracle.sysman.top.oms: RCU Logfile: <OMS_HOME>/cfgtoollogs/cfgfw/logs/emsecrepmgr.log

<OMS_HOME>/cfgtoollogs/omsca/omsca_YYYYMMDDHHMMSS.log

 

Jun 23, 2021 5:40:25 PM oracle.sysman.omsca.util.ProcessOutputReader run
FINE: Name of Exception: wlstModule.WLSTException
Jun 23, 2021 5:40:25 PM oracle.sysman.omsca.util.ProcessOutputReader run
FINE: Code of Exception: Error occurred while performing invoke : Port 9999 for adminPort is already in use on machine "EMGC_MACHINE1".
Jun 23, 2021 5:40:25 PM oracle.sysman.omsca.util.ProcessOutputReader run
FINE: SEVERE: Exception occurred while creating OHS Instance
Jun 23, 2021 5:40:25 PM oracle.sysman.omsca.util.ProcessOutputReader run
FINE: Use dumpStack() to view the full stacktrace :
Jun 23, 2021 5:40:25 PM oracle.sysman.omsca.util.ProcessOutputReader run
FINE: Wed Jun 23 17:40:25 ICT 2021
Jun 23, 2021 5:40:25 PM oracle.sysman.omsca.util.ProcessOutputReader run
FINE: SEVERE: Exception occurred while creating OHS Instance
Jun 23, 2021 5:40:26 PM oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil execCommand
INFO: Output messages of the command :
WARNING: This is a deprecated script. Please invoke the wlst.sh script under oracle_common/common/bin.

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Wed Jun 23 17:40:20 ICT 2021
Creating OHS Instance

.........
.........
Starting an edit session ...
Started edit session, be sure to save and activate your changes once you are done.
This Exception occurred at Wed Jun 23 17:40:25 ICT 2021.
javax.management.MBeanException: Port 9999 for adminPort is already in use on machine "EMGC_MACHINE1".
No stack trace available.
Name of Exception: wlstModule.WLSTException
Code of Exception: Error occurred while performing invoke : Port 9999 for adminPort is already in use on machine "EMGC_MACHINE1".
Use dumpStack() to view the full stacktrace :
Wed Jun 23 17:40:25 ICT 2021
SEVERE: Exception occurred while creating OHS Instance

Jun 23, 2021 5:40:26 PM oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil execCommand
INFO: error messages of the command :
SEVERE: Exception occurred while creating OHS Instance

Jun 23, 2021 5:40:26 PM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter adapterConfigWebTier
FINE: Creating OHS Instance completed with exitCode 17
Jun 23, 2021 5:40:26 PM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter adapterConfigWebTier
SEVERE: Exception occurred while configuring WebTier:
java.lang.Exception: CREATING_OHS_COMP_FAILED
at oracle.sysman.omsca.adapter.wls.OMSWLSAdapter.adapterConfigWebTier(OMSWLSAdapter.java:2814)
at oracle.sysman.omsca.framework.OMSGenericAdapter.configWebTier(OMSGenericAdapter.java:313)
at oracle.sysman.omsca.framework.OMSCAUpgradeInstall.execute(OMSCAUpgradeInstall.java:578)
at oracle.sysman.omsca.framework.OMSConfigAssistantDriver.main(OMSConfigAssistantDriver.java:289)

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.