EM12c : EM Agent Upload Agent Not Shown in the Console UI 'ORA-20502 Multiple agents detected for agent URL' Reported in emoms_pbs.trc (Doc ID 1478869.1)

Last updated on NOVEMBER 14, 2014

Applies to:

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

Symptoms

$/AGENT_INST/bin/emctl upload agent

Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
EMD upload completed successfully

But no targets are discovered / visible in the Coud Console UI.

$/AGENT_INST/bin/emctl status agent

Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 12.1.0.1.0
OMS Version       : 12.1.0.1.0
Protocol Version  : 12.1.0.1.0
Agent Home        : /oracle/product/agent12c
Agent Binaries    : /oracle/product/agent12c/core/12.1.0.1.0
Agent Process ID  : 10944572
Parent Process ID : 14090364
Agent URL         : https://agentmachine.domain:3872/emd/main/
Repository URL    : https://omsmachine.domain:4900/empbs/upload
Started at        : 2012-07-02 11:15:36
Started by user   : oracle
Last Reload       : (none)
Last successful upload                       : (none)
Last attempted upload                        : 2012-07-02 11:18:36
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    : 95.13%
Collection Status                            : Collections enabled
Last attempted heartbeat to OMS              : 2012-07-02 11:19:42
Last successful heartbeat to OMS             : 2012-07-02 11:19:42

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

/gc_inst/em/EMGC_OMS/sysman/log/emoms_pbs.trc  reports the following ORA error

2012-07-10 15:09:06,896 [GCLoader[metadata] - https://agentmachine.domain:3872/emd/main/] ERROR gcloader.Receiver logp.251 - UPLOAD FAILED: emdUrl=https://agentmachine.domain:3872/emd/main/ trackingKey=1.1341947344000 type=metadata e=java.sql.SQLException: ORA-20502: Multiple agents detected for : (agent URL = https://agentmachine.domain:3872/emd/main/)
ORA-06512: at "SYSMAN.EM_TARGET", line 2807
ORA-06512: at "SYSMAN.EM_TARGET", line 3020
ORA-06512: at "SYSMAN.EM_TARGET", line 3439
ORA-06512: at line 1

 

 

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