My Oracle Support Banner

EM12c : EM 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 FEBRUARY 15, 2019

Applies to:

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


$/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
Copyright (c) 1996, 2011 Oracle Corporation.  All rights reserved.
Agent Version     :
OMS Version       :
Protocol Version  :
Agent Home        : <AGENT_BASE>
Agent Binaries    : <AGENT_BASE>/core/
Agent Process ID  : <PID>
Parent Process ID : <PID>
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






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

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