"Severe:Omsca-Err:Securing Of Oms Failed" Error During 11g GC Instal_1234116.1

rongshiyuan發表於2014-08-03

Getting "Severe: Omsca-Err:Securing Of Oms Failed" Error During 11g GC Installation (文件 ID 1234116.1)


In this Document

Symptoms
Cause
Solution
References


APPLIES TO:

Enterprise Manager Base Platform - Version 11.1.0.1 to 11.1.0.1 [Release 11.1]
Information in this document applies to any platform.
***Checked for relevance on 04-Jul-2013***

SYMPTOMS


 Installation of 11g Grid Control fails at 'OMS Configuration' step.
omsca_20101007101216.log generated in OMS_HOME/cfgtoollogs/omsca has following error messages:
 

INFO: Output messages of the command /u01/middleware/oms11g/bin/emctl start oms -admin :
Oracle Enterprise Manager 11g Release 1 Grid Control 
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Starting WebTier...
WebTier Could Not Be Started
Error Occurred: WebTier Could Not Be Started


From /em/EMGC_OMS1/sysman/log/emctl.log

2010-10-07 14:04:25,007 [main] INFO util.WebTierUtil getProcessResult.204 - opmnctl cmd error: getaddrinfo(localhost, 1, 1) failed (Hostname and service name not provided or found):

2010-10-07 14:04:25,008 [main] INFO util.WebTierUtil getProcessResult.208 - opmnctl cmd exited with code 0
2010-10-07 14:04:25,038 [main] INFO util.WebTierUtil execCmd.134 - Running the command: /oracle/product/wls/gc_inst/WebTierIH1/bin/opmnctl startall
2010-10-07 14:04:27,629 [main] INFO util.WebTierUtil getProcessResult.196 - opmnctl cmd output: opmnctl startall: starting opmn and all managed processes...
opmnctl startall: opmn failed to start.

2010-10-07 14:04:27,630 [main] INFO util.WebTierUtil getProcessResult.204 - opmnctl cmd error: getaddrinfo(localhost, 1, 1) failed (Hostname and service name not provided or found):
getaddrinfo(localhost, 1, 1) failed (Hostname and service name not provided or found):
/oracle/product/wls/10.3.2/Oracle_WT/opmn/bin/opmn: unexpected exit: code 512

2010-10-07 14:04:27,631 [main] INFO util.WebTierUtil getProcessResult.208 - opmnctl cmd exited with code 2
2010-10-07 14:04:27,632 [main] INFO wls.OMSController startOMS.535 - WebTier Could Not Be Started
2010-10-07 14:04:27,632 [main] ERROR wls.OMSController main.264 - OMSController failed for start oms
2010-10-07 14:04:27,650 [main] ERROR wls.OMSController main.265 - OMSController Error: WebTier Could Not Be Started
java.lang.Exception: WebTier Could Not Be Started
at oracle.sysman.emctl.wls.OMSController.startOMS(OMSController.java:536)
at oracle.sysman.emctl.wls.OMSController.main(OMSController.java:219)


From OMS_HOME/cfgtoollogs/cf**/omsca_.log

INFO: oracle.sysman.top.oms: at oracle.sysman.omsca.framework.OMSConfigAssistantDriver.main(OMSConfigAssistantDriver.java:210)
INFO: oracle.sysman.top.oms:OMSCA-ERR:Bounce OMS failed.
INFO: oracle.sysman.top.oms:OMSCA-ERR:Securing of OMS failed. Check the trace file:/oracle/product/wls/10.3.2/oms11g/cfgtoollogs/omsca/omsca_20101007134203.log

CAUSE


emctl.log generated in OMS_HOME/omsca/logs20101007095254/emLogs/sysman/log has following errors:

 

2010-10-07 10:16:17,683 [main] INFO util.WebTierUtil execCmd.134 - Running the command: /u01/gc_inst/WebTierIH1/bin/opmnctl stopall
2010-10-07 10:16:17,824 [main] INFO util.WebTierUtil getProcessResult.196 - opmnctl cmd output: opmnctl stopall: opmn is not running.

2010-10-07 10:16:17,825 [main] INFO util.WebTierUtil getProcessResult.204 - opmnctl cmd error: getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory

2010-10-07 10:16:17,826 [main] INFO util.WebTierUtil getProcessResult.208 - opmnctl cmd exited with code 0
2010-10-07 10:16:17,827 [main] INFO util.WebTierUtil execCmd.134 - Running the command: /u01/gc_inst/WebTierIH1/bin/opmnctl startall
2010-10-07 10:16:20,018 [main] INFO util.WebTierUtil getProcessResult.196 - opmnctl cmd output: opmnctl startall: starting opmn and all managed processes...
opmnctl startall: opmn failed to start.


There is no loop back/local host entry int the hosts file.

SOLUTION


1) The hosts file have only the following entry:

10.10.10.10 test.oracle.com test


2) Please modify the hosts file to have the following format

127.0.0.1 localhost.localdomain localhost
10.10.10.10 test.oracle.com  test


Added loop back/local host  entry.

3)  Once done, retry the GC  installation.

REFERENCES

BUG:9968589 - SUP NOTES 11.1: OMS CONFIG FAILS WHILE STARTING WEBTIER

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1244522/,如需轉載,請註明出處,否則將追究法律責任。

相關文章