EM 12c : Enterprise Manager 12c Agent Upload or emctl pingOMS Fails with Error: Failure connecting to https://oms_hostname:port/empbs/upload : err Connection refused, Connection establishment timed out (Doc ID 1500066.1)

Last updated on JULY 18, 2017

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.
Checked for relevance on 20-Mar-2014

Symptoms

$AGENT_INST/bin/emctl upload agent

fails with the following error:
Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload error:full upload has failed: uploadXMLFiles skipped :: OMS version not checked yet. If this issue persists check trace files for ping to OMS related errors. (OMS_DOWN)

$AGENT_INST/bin/emctl pingOMS

Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD pingOMS error: Failure connecting to https://<oms_hostname>:1159/empbs/upload , err Connection refused

OR

$/AGENT_INST/bin/emctl upload agent

fails with the following error

Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
EMD upload error:Unable to connect to the agent at https://sdk2.oracle.com:3872/emd/main/ [Connection establishment timed out]

 

$/AGENT_INST/sysman/log/gcagent.log reports the following error /exception

2014-10-06 10:04:03,674 [41:C09F1BB3:GC.Upload[2]] INFO - attempting initial heartbeat
2014-10-06 10:04:33,677 [37:88AC468A:GC.SysExecutor.0 (Ping OMS)] WARN - Ping communication error
o.s.emSDK.agent.comm.exception.ConnectException [Failure connecting to https://oms.idc.oracle.com:4903/empbs/upload , err Connection establishment timed out] java.io.InterruptedIOException [Connection establishment timed out]

 

The following values are shown as 'unknown/none' executing 'emctl status agent'

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

$AGENT_INST/bin/emctl status agent
Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 12.1.0.1.0
OMS Version : (unknown)
Protocol Version : 12.1.0.1.0
Agent Home : /em_agent/cc_agent/agent_inst
Agent Binaries : /em_agent/cc_agent/core/12.1.0.1.0
Agent Process ID : 11263
Parent Process ID : 11182
Agent URL : https://<agent_hostname>:3872/emd/main/
Repository URL : https://<oms_hostname>:1159/empbs/upload
Started at : 2012-09-26 10:40:13
Started by user : oracle
Last Reload : (none)
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0
Number of XML files pending upload : 243
Size of XML files pending upload(MB) : 0.43
Available disk space on upload filesystem : 89.72%
Collection Status : Collections enabled
Last attempted heartbeat to OMS : 2012-09-26 10:40:37
Last successful heartbeat to OMS : (none)

 $/AGENT_INST/bin/emctl pingOMS

fails with the following error

Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
EMD pingOMS error: Unable to connect to the agent at https://sdk2.oracle.com:3872/emd/main/ [Connection establishment timed out]

$/AGENT_INST/bin/emctl start agent

fails with the following error

Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
Agent status could not be determined.  Check the agent process
Consult emctl.log and emagent.nohup in: /opt/oracle/oem12c/agent_inst/sysman/log

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