The 10g or 11g Management Agent Resync is failing With Error "java.net.SocketException: Connection timed out:could be due to invalid address" (Doc ID 1438643.1)

Last updated on AUGUST 25, 2015

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.
***Checked for relevance on 23-Sep-2013***

Symptoms

Agent upload is not working and the following errors are reported in emagent.trc:

2012-01-26 16:13:28,507 Thread-1239 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"


$ emctl status agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 10.2.0.5.0
OMS Version : 10.2.0.5.0
Protocol Version : 10.2.0.5.0
Agent Home : /oraa/app/oracle/product/1020/agent10g
Agent binaries : /oraa/app/oracle/product/1020/agent10g
Agent Process ID : 2060306
Parent Process ID : 1315026
Agent URL : https://<agenthostname.domain>:3872/emd/main/
Repository URL : https://<omshostname.domain>:1159/em/upload
Started at : 2012-01-27 15:37:48
Started by user : oracle
Last Reload : 2012-01-27 15:37:48
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 128
Size of XML files pending upload(MB) : 13.30
Available disk space on upload filesystem : 47.89%
Last attempted heartbeat to OMS : 2012-01-27 15:38:29
Last successful heartbeat to OMS : unknown
---------------------------------------------------------------
Agent is Running and Ready

Agent resync is failing with the below error:

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