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 JANUARY 13, 2018

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

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:


emdctl.trc reports the below errors:

2012-01-26 16:13:31,056 Thread-1 WARN http: nmehl_connect_internal: connect failed to (agenthostname.domain:3872): Connection refused (error = 79)
2012-01-26 16:13:31,056 Thread-1 ERROR main: nmectla_agentctl: Error connecting to https://agenthostname.domain:3872/emd/main/. Returning status code 1


emoms.trc reports the below errors:

2012-01-26 12:39:06,611 [EMUI_12_37_51_/console/admin/rep/emdConfig/emdTargetsMain$target=<agenthostname.domain>_3A3872$type=oracle*_emd] ERROR emdConfig.EmdConfigTargetsData getEmdTargetsList.1998 - CommException: Unable to get list of targets from emd-getEmdTargetsList()
2012-01-26 12:39:06,612 [EMUI_12_37_51_/console/admin/rep/emdConfig/emdTargetsMain$target=<agenthostname.domain>_3A3872$type=oracle*_emd] ERROR emdConfig.EmdConfigTargetsData getEmdTargetsList.2000 - java.net.SocketException: Connection timed out:could be due to invalid address
oracle.sysman.emSDK.emd.comm.CommException: java.net.SocketException: Connection timed out:could be due to invalid address
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java(Compiled Code))
at oracle.sysman.emSDK.emd.comm.EMDClient.getMetadataTypes(EMDClient.java:644)
at oracle.sysman.eml.admin.rep.emdConfig.EmdConfigTargetsData.getEmdSupportedTypes(EmdConfigTargetsData.java:3037)
at oracle.sysman.eml.admin.rep.emdConfig.EmdConfigTargetsData.getEmdTargetsList(EmdConfigTargetsData.java:1991


2012-01-26 13:51:07,402 [JobWorker 2267641:Thread-95] ERROR jobs.pingCfmEMDDown pingHost.608 - TimeoutException caught pinging the host for EMD URL https://<agenthostname.domain>:3872/emd/main/

Changes

 

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