My Oracle Support Banner

EM 12c: Newly installed Agent and Host Targets are listed with Pending Status (Doc ID 1955677.1)

Last updated on APRIL 19, 2023

Applies to:

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

Symptoms

Newly installed 12c Agent on Linux x86-64 bit OS.
The agent and host targets are shown with status pending in the console. The agent is able to start and upload fine to the OMS:

 ./emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 12.1.0.2.0
OMS Version       : 12.1.0.2.0
Protocol Version  : 12.1.0.1.0
Agent Home        : /<AGENT ORACLE HOME>/agent_inst
Agent Binaries    : /<AGENT ORACLE HOME>/core/12.1.0.2.0
Agent Process ID  : 27151
Parent Process ID : 27093
Agent URL         : https://agentmachine.domain:<port>/emd/main/
Repository URL    : https://omsmachine.domain:<port>/empbs/upload
Started at        : 2014-11-24 20:29:07
Started by user   : oracle
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    : 23.85%
Collection Status                            : Collections enabled
Heartbeat Status                             : Ok
Last attempted heartbeat to OMS              : 2014-11-25 17:20:32
Last successful heartbeat to OMS             : 2014-11-25 17:20:32
Next scheduled heartbeat to OMS              : 2014-11-25 17:21:33

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

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

However, no data has been uploaded to the OMS so far.
But trying to list the targets at the Agent side fails with:


./emctl config agent listtargets
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
2014-11-25 17:22:22,315 [main] ERROR emSDK.config  - oracle.sysman.emSDK.conf.TargetListException: Could not initialize class oracle.sysman.emSDK.emd.dtd.TargetProperty
Could not initialize class oracle.sysman.emSDK.emd.dtd.TargetProperty

-  The /<AGENT ORACLE HOME>/sysman/emd/targets.xml file has a single line entry:

<Targets AGENT_TOKEN="<UUID>"/>

-  The <AGENT_INST>/sysman/log/gcagent_mdu.log shows that the target promotion is failing with the below errors

 

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
References


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