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 JUNE 20, 2023

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        : <AGENT_BASE>
Agent Binaries    : <AGENT_BASE>/core/12.1.0.1.0
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

 

 

Changes

 

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
Changes
Cause
Solution
References


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