GC 11.1 Install fails at Agent CA while Securing Agent in secure.log_1118270.1

rongshiyuan發表於2014-08-11

Grid Control 11.1.0.1 Installation fails at Agent CA step while Securing the Agent with "Backend WLS or EM application seems to be down" in secure.log (Doc ID 1118270.1)


In this Document

Symptoms
Cause
Solution
References

Applies to:

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

Symptoms

Grid Control 11.1.0.1 installation is failed at Agent Configuration Step:
 
+ CfmLogger_.log

INFO: oracle.sysman.top.agent:Requested Operation Completed with Status = 0
INFO: oracle.sysman.top.agent:
The Management Agent Configuration Assistant has failed. The following failures were recorded:

Securing of the agent failed.

INFO: oracle.sysman.top.agent:Internal PlugIn for {Micro Step state:step:2:configuration in CfmAggregateInstance: oracle.sysman.top.agent:11.1.0.1.0:common:family=CFM:oh=C:\Oracle\Middleware\agent11g:label=5} failed with an unhandled exception:
java.lang.Exception:
The Management Agent Configuration Assistant has failed. The following failures were recorded:

Securing of the agent failed.

at oracle.sysman.emcp.agent.AgentPlugIn.startProcessing(AgentPlugIn.java:269)
at oracle.sysman.emcp.agent.AgentPlugIn.invoke(AgentPlugIn.java:243)
at oracle.sysman.emCfg.core.PerformMicroStep.runJavaClass(PerformMicroStep.java:540)
at oracle.sysman.emCfg.core.PerformMicroStep.executeMicroStep(PerformMicroStep.java:120)
at oracle.sysman.emCfg.core.ActionPerformer.performMicroStep(ActionPerformer.java:917)
at oracle.sysman.emCfg.core.ActionPerformer$Performer.run(ActionPerformer.java:1038)

 

And the Agent's secure.log file shows the following errors:

[main] INFO agent.SecureAgentCmd secureAgent.226 - Requesting an HTTPS Upload URL from the OMS
[main] INFO agent.SecureAgentCmd openPage.829 - Opening: https://omshost.domainname:4900/em/genwallet
[main] INFO agent.SecureAgentCmd openPage.855 - Response Status Code: 200
[main] INFO agent.SecureAgentCmd openPage.863 - RESPONSE_STATUS header: null
[main] INFO agent.SecureAgentCmd openPage.864 - Response body: OMS is unavailable

Backend WLS or EM application seems to be down

[main] INFO agent.SecureAgentCmd getOMSSecurePort.809 - Non-numeric response obtained: OMS is unavailable

Backend WLS or EM application seems to be down

[main] INFO agent.SecureAgentCmd getOMSSecurePort.811 - OMS Secure Port: -1
[main] ERROR agent.SecureAgentCmd secureAgent.231 - The OMS is not set up for Enterprise Manager Security.
[main] ERROR agent.SecureAgentCmd main.210 - Failed to secure the Agent:


Verify that OMS is actually Up and ensure that the issue is not due to Note 1186428.1 Accessing the console page shows "Backend WLS or EM application seems to be down".

Cause

  • This issue can occur if the /etc/hosts file is not setup correctly. If there is any discrepancy in the "hostname" command and the ORACLE_HOSTNAME environment variable.
  • If the installation is to be done using virtual host, you must set ORACLE_HOSTNAME environment variable as well as pass ORACLE_HOSTNAME= parameter along with the ./runInstaller. Missing either of them can cause the Installation to fail with above error.
  • Following files may not be updated with the correct hostname:
    • $GC_INST/WebTierIH1/config/OHS/ohs1/httpd.conf
    • $GC_INST/WebTierIH1/config/OHS/ohs1/httpd_em.conf
    • $GC_INST/WebTierIH1/config/OHS/ohs1/mod_wl_ohs.conf

Solution

1. Stop the OMS

/bin>/emctl stop oms
 
2. Take backup of the following files:
$GC_INST/WebTierIH1/config/OHS/ohs1/httpd.conf
$GC_INST/WebTierIH1/config/OHS/ohs1/httpd_em.conf
$GC_INST/WebTierIH1/config/OHS/ohs1/mod_wl_ohs.conf

3.Make the below changes:

Edit "ServerName" parameter in httpd.conf and httpd_em.conf files with the correct hostname.

Also Change the WebLogicHost value of the following parameter in mod_wl_ohs.conf

ErrorPage http://incorrecthost:7788/omsunavailable.html
to
ErrorPage http://correcthost:7788/omsunavailable.html

   
4. Start the OMS

/bin>/emctl start oms

 

5. Now secure the agent
/bin>/emctl secure agent

References

NOTE:1186428.1 - 11.1.0.1 Grid Control Installation fails at Agent Configuration Step due to OMS WebTier being down
@NOTE:1274885.1 - Installation of 11g grid control fails during agent configuration assistance step

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

相關文章