Enterprise Manager 11.1 Agent Upload is Failing With: ERROR-Agent is blocked. Blocked reason is: Agent is out-of-sync with repository (文档 ID 1362430.1)
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.
SymptomsEnterprise Manager 11.1.0.1.0 Grid Control Agent fails to upload with the below error:
<PATH>\agent11g\BIN>emctl upload agent
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet. If this issue persists check trace files for ping to OMS related errors.
2011-09-27 11:09:13,387 Thread-3800 ERROR pingManager: Did not receive valid response to ping "ERROR-Agent is blocked. Blocked reason is: Agent is out-of-sync with repository. This most likely means that the agent was reinstalled or recovered. Please contact an EM administrator to unblock the agent by performing an agent resync from the console. Please contact EM adminstrator to unblock the agent"
- Login to the grid console >> Setup >> Agents >> Navigate to the problematic agent home page >>
"Upload metric data" button is greyed out.
- Agent Resynchronization (Setup >> Agents >> Navigate to the problematic agent home page >> Click on Agent resynchronization) returns:
oracle.sysman.emSDK.emd.comm.CommException: IOException in reading Response :: Connection reset
- Testing the patching setup (setup >> patching setup >> <enter agent url under " Test URL">/click on test) works correctly.
- From the OMS box it is possible to ping the Agent box without any problem
- The following errors are seen in the $<oms instance home>/gc_inst/em/EMGC_OMS1/sysman/log/emoms.trc:
2011-09-27 13:17:42,866 [EMUI_13_17_40_/console/admin/rep/emdConfig/emdTargetsMain$target=<TARGET_NAME>$type=oracle*_emd] ERROR emdConfig.EmdConfigTargetsData getEmdTargetsList.2043 - IOException in reading Response :: Connection reset
oracle.sysman.emSDK.emd.comm.CommException: IOException in reading Response :: Connection reset
at oracle.sysman.emSDK.emd.comm.EMDClient.parseResponseStream(EMDClient.java:2861)
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:2578)
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:2511)
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:2456)
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:2405)
at oracle.sysman.emSDK.emd.comm.EMDClient.getMetadataTypes(EMDClient.java:658)
CauseThis issue is logged as an unpublished bug.
Solution1. Stop the agent: <AGENT_HOME>/BIN> emctl stop agent
2. Secure the agent which will generate a new key:
<AGENT_HOME>/BIN> emctl secure agent
3. Start the agent:
<AGENT_HOME>/BIN> emctl start agent
4. Login to the grid console >> Setup >> Agents >> Navigate to the problematic agent home page >> Click on Agent resynchronization
5. Once the Agent resynchronization succeeds, perform an agent upload:
<AGENT_HOME>/BIN> ./emctl upload
|