My Oracle Support Banner

EM 12c: emctl status agent Agent 'unavailable with metric collection error' 'Cleanup of previous target with the same name (<AGENT URL>) is in progress' Reported in MGMT_TARGETS (Doc ID 1950874.1)

Last updated on NOVEMBER 17, 2019

Applies to:

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

Symptoms

Agent status is shown 'Availability Evaluation Error' on EM 12c Console

From repository reports the following broken string

SQL>select target_name, target_type, target_guid, host_name, emd_url, broken_reason, broken_str  from mgmt_targets where target_type = 'oracle_emd' and target_name like '%<HOSTNAME>%';
   
TARGET_NAME                     target_type    TARGET_GUID    HOST_NAME    EMD_URL    BROKEN_REASON   BROKEN_STR
----------------------------------------------------------------------------------------------------
<AGENT_HOST_NAME>:<PORT> oracle_emd            B0XXXXXXXXXEEFBXX2BA84D6XXXXXXXXX
<AGENT_HOST_NAME>
https://<AGENT_HOST_NAME>:<PORT>/emd/main/
          32
Target operation is unavailable: Cleanup of previous target with the same name (oracle_emd.<AGENT_NAME>) is in progress

$/AGENT_INST/bin/emctl upload agent

is working and upload status shown latest time stamp

Here is the status of the agent:
Last successful upload : 2014-11-06 11:01:09
Last attempted upload : 2014-11-06 11:01:09
Agent is Running and Ready

EM 12c Console  Setup > Manage Cloud Console shows > Agents Shows  'Last successful Load: Nov 4, 2014 7:54:07 PM'

 

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

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