EM 12c : Agent Status Shows Unreachable. EMD_URL Mismatch in Repository. 'unable to connect http:/agentname:port/emd/main/' Reported on Resync
(Doc ID 1595044.1)
Last updated on JANUARY 10, 2022
Applies to:
Enterprise Manager Base Platform - Version 12.1.0.1.0 and laterInformation in this document applies to any platform.
Symptoms
Agent is shown Unreachable in the console
$AGENT_INST/bin/emctl status agent
does not indicate failure
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 12.1.0.2.0
OMS Version : 12.1.0.2.0
Protocol Version : 12.1.0.1.0
Agent Home : <Agent Base>/agent_inst
Agent Binaries : <Agent Base>/core/12.1.0.2.0
Agent Process ID : 29675
Parent Process ID : 29623
Agent URL : https://<Agent HOSTNAME>.<DOMAINNAME>:1830/emd/main/
Repository URL : https://<OMS HOSTNAME>.<DOMAINNAME>:4899/empbs/upload
Started at : 2013-12-27 12:33:01
Started by user : oracle
Last Reload : (none)
Last successful upload : 2014-01-21 11:33:05
Last attempted upload : 2014-01-21 11:33:05
Total Megabytes of XML files uploaded so far : 24.28
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0
Available disk space on upload filesystem : 74.92%
Collection Status : Collections enabled
Heartbeat Status : Ok
Last attempted heartbeat to OMS : 2014-01-21 11:32:26
Last successful heartbeat to OMS : 2014-01-21 11:32:26
Next scheduled heartbeat to OMS : 2014-01-21 11:33:26
---------------------------------------------------------------
Agent is Running and Ready
From console 'Agent Resync' operation fails with message 'unable to connect 'http:/<Agent HOSTNAME>.<DOMAINNAME>:port/emd/main/'
Verify the agent EMD_URL value
EM_MANAGEABLE_ENTITIES and emctl status agent shows difference EMD_URL for host and agent targets.
Example , protocol (http) mismatch or agent host name mismatch or "/" sign mismatch in URL or extra space in the URL
OR
<Agent Base>/agent_inst/bin/emctl status agent
fails with null message
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
null
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |