ERROR-Agent is blocked. Blocked reason is: Agent is out-of-sync with repository, mavenrepository
[oracle@node2-prod1 bin]$ ./emctl status agentOracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0 Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.---------------------------------------------------------------Agent Version : 11.1.0.1.0OMS Version : 11.1.0.1.0Protocol Version : 11.1.0.0.0Agent Home : /u01/app/oracle/agenthome/agent11gAgent binaries : /u01/app/oracle/agenthome/agent11gAgent Process ID : 16033Parent Process ID : 16011Agent URL : https://node2.us.oracle.com:3872/emd/main/Repository URL : https://edsir1p8.us.oracle.com:4900/em/uploadStarted at : 2015-07-08 14:09:31Started by user : oracleLast Reload : 2015-07-08 14:16:21Last successful upload : (none)Last attempted upload : (none)Total Megabytes of XML files uploaded so far : 0.00**Number of XML files pending upload : 60**Size of XML files pending upload(MB) : 18.71Available disk space on upload filesystem : 83.22%Last attempted heartbeat to OMS : 2015-07-08 14:30:57Last successful heartbeat to OMS : unknown---------------------------------------------------------------Agent is Running and Ready[oracle@node2-prod1 bin]$ ./emctl uploadOracle 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.
[oracle@node2-prod1 bin]$ ./emctl uploadOracle 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.[oracle@node2-prod1 bin]$ ./emctl verifykeyOracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0 Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.-----------------------------------------------------verifykey: Successfully Completed communication with agent EMD pingOMS error: Invalid ping response "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**"
Go to GC,
Setup-> Find the agent that is not synchronized and runAgent resynchronization
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.