My Oracle Support Banner

EM 12c, EM 13c: Enterprise Manager Cloud Control Agent の emctl コマンドが Error: EMD upload error:full upload has failed and ORA-20500 で失敗する (Doc ID 2128975.1)

Last updated on OCTOBER 20, 2019

適用範囲:

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

現象

$<Agent Base>/agent_inst/bin/emctl upload agent

が以下のエラーで失敗する

Oracle Enterprise Manager Cloud Control 12c Release 3  
Copyright (c) 1996, 2013 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 Base>/agent_inst/bin/emctl status agent

Heartbeat Status が 'OMS is unreachable [bad response]' となる。

Oracle Enterprise Manager Cloud Control 12c Release 3  
Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 12.1.0.3.0
OMS Version       : (unknown)
Protocol Version  : 12.1.0.1.0
Agent Home        : <AGENT_BASE_DIR>/agent_inst
Agent Binaries    : <AGENT_BASE_DIR>/core/12.1.0.3.0
Agent Process ID  : 10490
Parent Process ID : 1397
Agent URL         : https://<AGENT HOSTNAME>:<AGENT PORT>/emd/main/
Repository URL    : https://<OMS HOSTNAME>:<OMS PORT>/empbs/upload
Started at        : 2013-09-23 09:54:48
Started by user   : <USERNAME>
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           : 0
Size of XML files pending upload(MB)         : 0
Available disk space on upload filesystem    : 91.31%
Collection Status                            : Collections enabled
Heartbeat Status                             : OMS is unreachable [bad response]
Last attempted heartbeat to OMS              : 2013-09-24 13:11:34
Last successful heartbeat to OMS             : (none)
Next scheduled heartbeat to OMS              : 2013-09-24 13:12:04

----------------------------------------------------------
Agent is Running and Ready

$<Agent Base>/agent_inst/bin/emctl pingOMS

が以下のエラーで失敗する

Oracle Enterprise Manager Cloud Control 12c Release 3  
Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
EMD pingOMS error: OMS sent an invalid response: "ERROR- Failed to update Target type Metadata"

 

<EM Instance Base>/gc_inst/em/EMGC_OMS1/sysman/log/emoms_pbs.log に以下の ORA- エラーが出力される

2013-09-24 13:59:23,535 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR gcloader.Recei
ver logp.251 - Error occurred in checking information between Agent and OMS
oracle.sysman.emSDK.core.target.DuplicateEntityException: ORA-20500: Multiple agents detected for :(host = current_host_name
)
ORA-06512: at "SYSMAN.EM_TARGET", line 3021
ORA-06512: at "SYSMAN.EM_TARGET", line 3317
ORA-06512: at "SYSMAN.EM_TARGET", line 3992
ORA-06512: at line 1

  at oracle.sysman.emdrep.target.EntityUtil.createNYMEntities(EntityUtil.java:1327)
  at oracle.sysman.emSDK.core.target.EntityManager.createNYMEntities(EntityManager.java:232)
  at oracle.sysman.core.pbs.gcloader.Receiver.doGet(Receiver.java:859)

<Agent Base>/agent_inst/sysman/log/gcagent.log に以下のエラーが出力される

2013-09-23 19:26:22,489 [1843:CB448347:GC.SysExecutor.670 (AgentSystemMonitorTask)] WARN - Subsystem (Ping Manager) returned bad status of {+ Ping Manager: *Warning* +}
2013-09-23 19:26:22,547 [1845:CFC1012A] INFO - attempting initial heartbeat
2013-09-23 19:26:22,754 [1843:CB448347] WARN - Subsystem (Upload Manager) returned bad status of {+ Upload Manager: *Warning* +}
2013-09-23 19:26:22,966 [1845:CFC1012A] WARN - improper ping interval (EM_PING_NOTIF_RESPONSE: ERROR- Failed to update Target type Metadata)
2013-09-23 19:26:22,993 [1845:CFC1012A] WARN - Ping protocol error
o.s.gcagent.ping.PingProtocolException [OMS sent an invalid response: "ERROR- Failed to update Target type Metadata"]
2013-09-23 19:26:53,123 [1854:EE8796A6:GC.SysExecutor.675 (Ping OMS)] INFO - attempting initial heartbeat
2013-09-23 19:26:53,340 [1854:EE8796A6] WARN - improper ping interval (EM_PING_NOTIF_RESPONSE: ERROR- Failed to update Target type Metadata)
2013-09-23 19:26:53,355 [1854:EE8796A6] WARN - Ping protocol error
o.s.gcagent.ping.PingProtocolException [OMS sent an invalid 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!


本書の内容
現象
原因
解決策
参照情報

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