Right After Install, the Grid Control Agent Generates ERROR-Agent is blocked. Blocked reason is: Agent is out-of-sync with repository (Doc ID 1307816.1)

Last updated on MAY 23, 2016

Applies to:

Enterprise Manager Base Platform - Version 10.2.0.5 to 11.1.0.1 [Release 10.2 to 11.1]
Information in this document applies to any platform.

Symptoms

After installing the agent, it generates the following errors in the emagent.trc file.

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"


In this case, there is no issue with the agent start and Securing the Agent is always successful.

./emctl secure agent
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Agent successfully stopped... Done.
Securing agent... Started.
Enter Agent Registration Password :
Agent successfully restarted... Done.
Securing agent... Successful.

But the command emctl status agent shows:

Last successful upload : (none)
Last attempted upload : (none)
Last successful heartbeat to OMS : unknown

emctl upload agent does not give the error as "EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet"

But gives the error similar to the following:


[oraoem@lgpodb002 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: Failed to upload file A0000001.xml: HTTP error.


Resynchronization of the agent as per the document <Note 799618.1> does not resolve the issue and gives an error message that resynchronization is failed.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms