EM 12c: Enterprise manager 12c Cloud Control Additional OMS Installation Fails at OMS Configuration Starting OMS with Message: Error Occurred: WebTier Could Not Be Started (Doc ID 1541791.1)

Last updated on JULY 21, 2017

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 to 12.1.0.2.0 [Release 12.1]
Linux x86
Linux x86-64
SUSE \ UnitedLinux x86-64

Symptoms

Enterprise Manager (EM) 12c Cloud Control Additional OMS installation failed at OMS configuration during OMS startup,

From <OMS_HOME>/cfgtoollogs/omsca/omsca_<timestamp>.log:

INFO: Executing the command: /u01/app/oracle/middleware/oms/bin/emctl start oms -admin
Mar 21, 2013 7:41:51 PM oracle.sysman.omsca.util.ProcessOutputReader run
FINE: Oracle Enterprise Manager Cloud Control 12c Release 2  
Mar 21, 2013 7:41:51 PM oracle.sysman.omsca.util.ProcessOutputReader run
FINE: Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
Mar 21, 2013 7:41:52 PM oracle.sysman.omsca.util.ProcessOutputReader run
FINE: Starting Oracle Management Server...
Mar 21, 2013 7:44:58 PM oracle.sysman.omsca.util.ProcessOutputReader run
FINE: Starting WebTier...
Mar 21, 2013 7:45:04 PM oracle.sysman.omsca.util.ProcessOutputReader run
FINE: WebTier Could Not Be Started
Mar 21, 2013 7:45:04 PM oracle.sysman.omsca.util.ProcessOutputReader run
FINE: Error Occurred: WebTier Could Not Be Started
Mar 21, 2013 7:45:04 PM oracle.sysman.omsca.util.ProcessOutputReader run
FINE: Please check /u01/app/oracle/middleware/gc_inst/em/EMGC_OMS2/sysman/log/emctl.log for error details
Mar 21, 2013 7:45:04 PM oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil execCommand
INFO: Output messages of the command /u01/app/oracle/middleware/oms/bin/emctl start oms -admin :
Oracle Enterprise Manager Cloud Control 12c Release 2  
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
Starting Oracle Management Server...
Starting WebTier...
WebTier Could Not Be Started
Error Occurred: WebTier Could Not Be Started
Please check /u01/app/oracle/middleware/gc_inst/em/EMGC_OMS2/sysman/log/emctl.log for error details

Mar 21, 2013 7:45:20 PM oracle.sysman.omsca.framework.OMSGenericAdapter cleanupRepository
FINE: Cleaning plugin info from repository completed with status:true
Mar 21, 2013 7:45:20 PM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter adapterCleanup
FINE: Succesfully cleaned the OMS from repository
Mar 21, 2013 7:45:20 PM oracle.sysman.omsca.framework.OMSGenericAdapter postDeployAndReposSetup
SEVERE: OMSCA-ERR:Post "Deploy and Repos Setup" operations failed. Check the trace file:/u01/app/oracle/middleware/oms/cfgtoollogs/omsca/omsca_20130321193218.log
Mar 21, 2013 7:45:20 PM oracle.sysman.omsca.framework.OMSCARecoveryConfig execAddOMS
SEVERE: Post "Deploy and Repos Setup" operations failed.
Mar 21, 2013 7:45:20 PM oracle.sysman.omsca.framework.OMSCARecoveryConfig execute
SEVERE: Add OMS failed

 

From <OMS_HOME>/cfgtoollogs/omsca/WebTierConfig_20130320140655.log:

2013-03-21 19:40:33,998 [main] INFO  util.WebTierUtil execCmd.430 - Running the command: /u01/app/oracle/middleware/oms/../Oracle_WT/opmn/bin/opmnctl  createinstance -oracleInstance /u01/app/oracle/middleware/gc_inst/WebTierIH2 -instanceName instance2 -adminRegistration OFF
2013-03-21 19:40:35,374 [main] INFO  util.WebTierUtil getProcessResult.490 - opmnctl cmd output: Creating Oracle Instance directories...Done
Recording OPMN ports reservations...Done
Bootstrapping OPMN configuration files...Done
Instantiating opmnctl for direct usage...Done
Skipping instance registration
Command succeeded.

2013-03-21 19:40:35,375 [main] INFO  util.WebTierUtil getProcessResult.498 - opmnctl cmd error:
2013-03-21 19:40:35,375 [main] INFO  util.WebTierUtil getProcessResult.502 - opmnctl cmd exited with code 0
2013-03-21 19:40:35,376 [main] INFO  util.WebTierUtil createWlsConnPropsFile.115 - Current value of weblogic.security.TrustKeyStore system property: DemoTrust
2013-03-21 19:40:35,377 [main] INFO  util.WebTierUtil execCmd.430 - Running the command: /u01/app/oracle/middleware/oms/../Oracle_WT/opmn/bin/opmnctl  unregisterinstance -oracleInstance /u01/app/oracle/middleware/gc_inst/WebTierIH2 -adminHost t1mqmtst107.corp.apple.com -adminPort 7101 -adminProtocol t3s  -adminUsername weblogic -adminPasswordFile /u01/app/oracle/middleware/gc_inst/WebTierIH2/adminPwd.txt.delete_this -logLevel FINEST -instanceName instance2
2013-03-21 19:40:37,048 [main] INFO  util.WebTierUtil getProcessResult.490 - opmnctl cmd output: Unregistering instance
Command failed: Exception while unregistering the instance

opmnctl unregisterinstance: failed.

2013-03-21 19:40:37,048 [main] INFO  util.WebTierUtil getProcessResult.498 - opmnctl cmd error: Details are logged in /u01/app/oracle/middleware/gc_inst/WebTierIH2/diagnostics/logs/OPMN/opmn/provision.log

2013-03-21 19:40:37,050 [main] INFO  util.WebTierUtil getProcessResult.502 - opmnctl cmd exited with code 206

 

From <OMS_HOME>/cfgtoollogs/omsca/logs<Timestamp>/webtier/gc_inst/WebTierIH2/diagnostics/logs/OPMN/opmn/provision.log:

Mar 21, 2013 7:40:35 PM oracle.as.config.utl.FileUtil isWebsphereEnabled
FINE: /u01/app/oracle/middleware/Oracle_WT/.product.properties does not exist. isWebsphereEnabled=false
Mar 21, 2013 7:40:35 PM oracle.as.config.utl.FileUtil isWebsphereEnabled
FINE: /u01/app/oracle/middleware/Oracle_WT/.product.properties does not exist. isWebsphereEnabled=false
Mar 21, 2013 7:40:35 PM oracle.as.config.impl.OracleASInstanceProvisioner directoryIsPopulated
FINER: directoryIsPopulated found unexcluded file/dir: /u01/app/oracle/middleware/gc_inst/WebTierIH2/bin
Mar 21, 2013 7:40:35 PM oracle.as.config.impl.OracleASInstanceProvisioner calcDirectoryStatus
FINEST: Oracle Instance directory status: INSTANCE
Mar 21, 2013 7:40:35 PM oracle.as.config.utl.FileUtil isWebsphereEnabled
FINE: /u01/app/oracle/middleware/Oracle_WT/.product.properties does not exist. isWebsphereEnabled=false
Mar 21, 2013 7:40:35 PM oracle.as.config.impl.RuntimeServiceConnectionWLS getConnectSysprops
FINER: Loading system property settings from file: /u01/app/oracle/middleware/gc_inst/WebTierIH2/config/OPMN/opmn/wls.connect.properties
Mar 21, 2013 7:40:35 PM oracle.as.config.impl.RuntimeServiceConnectionWLS connect
FINER: Creating connection to hello there weblogic.management.mbeanservers.runtime
Mar 21, 2013 7:40:35 PM oracle.as.config.impl.RuntimeServiceConnectionWLS connect
FINER: Setting (temporary) security properties
Mar 21, 2013 7:40:36 PM oracle.as.config.impl.OracleASInstanceImpl reportProgress
FINE: Unregistering instance
Mar 21, 2013 7:40:36 PM oracle.as.config.impl.AbstractRuntimeServiceConnection getAttribute
FINER: Getting RegisterMBean attribute: RegisteredInstanceNames
Mar 21, 2013 7:40:36 PM oracle.as.config.impl.RuntimeServiceConnectionWLS disconnect
FINER: Breaking connection to mbean server
Mar 21, 2013 7:40:36 PM oracle.as.config.impl.OracleASInstanceImpl unregisterInstance
FINER: Failed to unregister instance instance2. It does not exist on the adminserver.
Mar 21, 2013 7:40:36 PM oracle.as.config.provisioner.InstallerCmdLine handleRunFailure
SEVERE: Command failed:
oracle.as.config.ProvisionException: Exception while unregistering the instance
    at oracle.as.config.impl.OracleASInstanceImpl.unregister(OracleASInstanceImpl.java:290)
    at oracle.as.config.impl.OracleASInstanceImpl.unregister(OracleASInstanceImpl.java:250)
    at oracle.as.config.provisioner.commands.UnregisterInstanceCommand.execute(UnregisterInstanceCommand.java:34)
    at oracle.as.config.provisioner.InstallerCmdLine.run(InstallerCmdLine.java:146)
    at oracle.as.config.provisioner.InstallerCmdLine.main(InstallerCmdLine.java:46)
Caused by: oracle.as.config.impl.SimpleProvisionException: Failed to unregister instance instance2. It does not exist on the adminserver.

 

 

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