My Oracle Support Banner

EM 12c, EM 13c : Enterprise Manager emctl upload agent Fails , status agent 'Heartbeat Status : OMS responded illegally [ERROR- Failed to update Target type Metadata]' 'ORA-20504: Target Type does not exist : host:4.4' Reported in emoms_pbs.log (Doc ID 2040538.1)

Last updated on SEPTEMBER 04, 2023

Applies to:

Enterprise Manager Base Platform - Version and later
Information in this document applies to any platform.


Installed Enterprise Manager (EM) Cloud Control OMS and EM Agent . Agent upload fails due to type_meta_version:

$AGENT_INST/bin/emctl upload  agent

Oracle Enterprise Manager Cloud Control 12c Release 4  
Copyright (c) 1996, 2014 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)

$/gc_inst/em/EMGC_OMS1/sysman/log/emoms_pbs.log  reports the following error

2015-07-30 16:22:01,234 [[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR gcloader.Receiver logp.251 - Error occurred while updating metadata
java.sql.SQLException: ORA-20504: Target Type does not exist : host:4.4
ORA-06512: at "SYSMAN.EM_TARGET", line 9796
ORA-06512: at "SYSMAN.EM_TARGET", line 9896
ORA-06512: at "SYSMAN.EM_TARGET", line 9980
ORA-06512: at line 1
  at oracle.jdbc.driver.T4CTTIoer.processError(
  at oracle.jdbc.driver.T4CTTIoer.processError(
  at oracle.jdbc.driver.T4C8Oall.processError(

$AGENT_INST/bin/emctl status agent

Oracle Enterprise Manager Cloud Control 12c Release 4  
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
Agent Version          :
OMS Version            : (unknown)
Protocol Version       :
Agent Home             : AGENT_INST_HOME
Agent Log Directory    : AGENT_INST_HOME/sysman/log
Agent Binaries         : AGENT_HOME
Agent Process ID       : 3867214
Parent Process ID      : 7209012
Agent URL              : https://hostname:3872/emd/main/
Local Agent URL in NAT : https://hostname:3872/emd/main/
Repository URL         : https://hostname:4903/empbs/upload
Started at             : 2015-07-30 15:44:18
Started by user        : oracle
Operating System       : AIX version 7.1 (ppc64)
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           : 509
Size of XML files pending upload(MB)         : 0.73
Available disk space on upload filesystem    : 35.79%
Collection Status                            : Collections enabled
Heartbeat Status       : OMS responded illegally [ERROR- Failed to update Target type Metadata]
Last attempted heartbeat to OMS              : 2015-07-31 09:38:09
Last successful heartbeat to OMS             : (none)
Next scheduled heartbeat to OMS              : 2015-07-31 09:38:39

Agent is Running and Ready

 /AGENT_INST/sysman/log/gcagent.log reports the following message

2015-07-30 11:15:06,654 [99:B6D626C4:GC.SysExecutor.6 (Ping OMS)] WARN - Ping protocol error [OMS sent an invalid response: "ERROR- Failed to update Target type Metadata"]
2015-07-30 11:15:36,664 [97:A772DC06] INFO - attempting initial heartbeat
2015-07-30 11:15:36,781 [97:A772DC06] WARN - improper ping interval (EM_PING_NOTIF_RESPONSE: ERROR- Failed to update Target type Metadata)


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
 a. OMS
 b. OMS
Solution  OMS OMS

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.