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 12.1.0.5.0 and later
Information in this document applies to any platform.

Symptoms

Installed Enterprise Manager (EM) 12.1.0.5 Cloud Control OMS and EM 12.1.0.4 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(T4CTTIoer.java:462)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
  at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)

$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          : 12.1.0.4.0
OMS Version            : (unknown)
Protocol Version       : 12.1.0.1.0
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
o.s.gcagent.ping.PingProtocolException [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)

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


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