My Oracle Support Banner

EM 12c 13c : emctl status agent に 'Heartbeat Status : OMS responded illegally [ERROR- Failed to update Target type Metadata]' と出力され、'ORA-20504: Target Type does not exist : host:4.4' が emoms_pbs.log に出力され、emctl upload agent が失敗します (Doc ID 2202067.1)

Last updated on FEBRUARY 03, 2019

適用範囲:

Enterprise Manager Base Platform - バージョン 12.1.0.5.0 以降
この文書の内容はすべてのプラットフォームに適用されます。
本文書利用上のご注意
  本文書は英語の文書 <Document 2040538.1> (最終メジャー更新日: 2016年06月10日) の日本語翻訳版です。
  英語の文書のメジャー更新に応じて本文書を随時更新いたします。

現象

12.1.0.5 OMS と 12.1.0.4 Agent を使用すると、type_meta_version で Agent のアップロードが失敗します。

$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  に以下のエラーが出力されます。

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             : /oracle/app/oracle/agent/agent_inst
Agent Log Directory    : /oracle/app/oracle/agent/agent_inst/sysman/log
Agent Binaries         : /oracle/app/oracle/agent/core/12.1.0.4.0
Agent Process ID       : 3867214
Parent Process ID      : 7209012
Agent URL              : https://nms25:3872/emd/main/
Local Agent URL in NAT : https://nms25:3872/emd/main/
Repository URL         : https://oracle01: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 に以下のエラーが出力されます。

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)

 

 

原因

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


本書の内容
現象
原因
 a. 12.1.0.5 OMS
 b. 13.1.0.0 OMS
解決策
 12.1.0.5  OMS
 13.1.0.0 OMS
参照情報

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