Install GC Agent 11.1.0.1 fails at Config Agent File secure.log_1273470.1

rongshiyuan發表於2014-08-11

Installing the Grid Control Agent 11.1.0.1 fails at the Configuration Assistant with "Securing of the Agent failed' and "OMS not available" in the Agent File secure.log (Doc ID 1273470.1)


In this Document
  Symptoms
  Cause
  Solution


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.


Applies to:

Enterprise Manager Grid Control - Version: 11.1.0.1 and later   [Release: 11.1 and later ]
Generic Windows

Symptoms

Installation of 11g Grid Control in Windows machine, fails at agent configuration stage with following error messages in CfmLogger_.log file generated in OMS_HOME/cfgtoollogs/cf** folder:

INFO: oracle.sysman.top.agent:AgentPlugIn:perform:Configuring Agent...
INFO: oracle.sysman.top.agent:Performing targets discovery and agent configuration
INFO: oracle.sysman.top.agent:DiscoverTargets:constructor with params: eRoot=D:\Oracle\Middleware\agent11g,hname=test.com...
INFO: oracle.sysman.top.agent:configureAgent:discovery on non RAC:
.........
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)

INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant has failed its perform method

Also secure.log generated in AGENT_HOME/sysman/log has following errors:

[09-12-2010 11:33:29] USERINFO ::Agent is already stopped... Done.
[09-12-2010 11:33:29] USERINFO ::Securing agent... Started.
2010-12-09 11:33:44,232 [main] INFO agent.SecureAgentCmd secureAgent.226 - Requesting an HTTPS Upload URL from the OMS
2010-12-09 11:33:44,248 [main] INFO agent.SecureAgentCmd openPage.829 - Opening: https://test.com:1159/em/genwallet
2010-12-09 11:34:02,794 [main] INFO agent.SecureAgentCmd openPage.855 - Response Status Code: 200
2010-12-09 11:34:02,794 [main] INFO agent.SecureAgentCmd openPage.863 - RESPONSE_STATUS header: null
2010-12-09 11:34:02,794 [main] INFO agent.SecureAgentCmd openPage.864 - Response body: OMS is unavailable

Backend WLS or EM application seems to be down

2010-12-09 11:34:02,794 [main] INFO agent.SecureAgentCmd getOMSSecurePort.809 - Non-numeric response obtained: OMS is unavailable

Backend WLS or EM application seems to be down

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

Cause


The issue is due to missing hosts file entry in hosts file of OMS machine.
Also the output of following commands show that the OMS is up and accessible:

D:\oracle\Middleware\oms11g\BIN>emctl status oms -details

Oracle Enterprise Manager 11g Release 1 Grid Control
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
Console Server Host : test.com
HTTP Console Port : 7788
HTTPS Console Port : 7799
HTTP Upload Port : 4889
HTTPS Upload Port : 1159
SLB or virtual hostname: test.com
Agent Upload is unlocked.
OMS Console is unlocked.
Active CA ID: 1

Solution

* Add the following entries in hosts file, in following format:

IPAddress hostname.domainname shortname

* Now restart the OMS by issuing following command from OMS_HOME/bin:

emctl stop oms -all
emctl start oms

* Now check whether the following URL works:

https://OMSname:port/em

Once the above URL is accessible, try to secure the agent.

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

相關文章