EM 12c, EM 13c : Enterprise Manager Cloud Control Agent Blocked Due to Plugin Mismatch, Reported in MGMT_BLOCKED_AGENTS Table: NOT_FOUND_IN_INPUT

(Doc ID 1919191.1)

Last updated on OCTOBER 18, 2017

Applies to:

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

Symptoms

Enterprise Manager (EM) 12c Cloud Control Agent status shows that it is blocked:

$/AGENT_INST/bin/emctl status agent

Heartbeat Status shows 'Agent is blocked'

Oracle Enterprise Manager Cloud Control 12c Release 2  
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 12.1.0.x.0
OMS Version       : (unknown)
Protocol Version  : 12.1.0.1.0
Agent Home        : /orcl_home/app/oracle/product/agent12c/agent_inst
Agent Binaries    : /orcl_home/app/oracle/product/agent12c/core/12.1.0.2.0
Agent Process ID  : 17170594
Parent Process ID : 33095788
Agent URL         : https://agent-ekdanta.idc.oracle.com:1830/emd/main/
Repository URL    : https://cn1304.oms.oracle.com:4904/empbs/upload
Started at        : 2014-10-14 11:44:21
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           : 778
Size of XML files pending upload(MB)         : 1.56
Available disk space on upload file system    : 25.26%
Collection Status                            : Collections enabled
Heartbeat Status                             : Agent is blocked
Last attempted heartbeat to OMS              : 2014-10-15 09:59:45
Last successful heartbeat to OMS             : (none)
Next scheduled heartbeat to OMS              : 2014-10-15 10:02:45

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

$/AGENT_INST/bin/emctl upload agent

fails with the following message

Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload error:full upload has failed: The agent is blocked by the OMS.
Plugin mismatches between agent and repository. Check plugin:[ The plug-in is oracle.sysman.db (AGENT_BLOCKED)

Blocked Reason  shows Plugin mismatch found between agent and repository. Please perform an agent resync to unblock the agent. Mismatched plugins: [ The plug-in is oracle.sysman.db

SQL query output shows 'NOT_FOUND_IN_INPUT'

SQL> select * from MGMT_BLOCKED_AGENTS where  target_guid=(Select target_guid from mgmt_targets where target_name like '%<AGENT HOST NAME>%‘);

The plug-in is oracle.sysman.db
Version in pla inventory : 12.1.0.2.0
Version on agent : null
Content type : AGENT
Error code : TARGETS_BEING_MONITORED
Error Msg : Targets are being actively monitored by this plug-in and hence upgrade/downgrade/delete is not possible,  The plug-in is oracle.sysman.db
Version in pla inventory : 12.1.0.2.0
Version on agent : null
Content type : AGENT
Error code : NOT_FOUND_IN_INPUT
Error Msg : This plug-in is present in the inventory for the given agent but has not been provided in the input] from agent https://host:3872/emd/main/ does not match with repository. Agent was blocked due to this.

\gc_inst\em\EMGC_OMS\sysman\emoms_pbs.trc reports the following message

Error Msg : This plug-in is present in the inventory for the given agent but has not been provided in the input] from agent https://myagent.oracle.com:3872/emd/main/ does not match with repository. Agent was blocked due to this match
java.lang.Exception: The plugin, [ The plug-in is oracle.sysman.db
Version in pla inventory : 12.1.0.2.0
Version on agent : null
Content type : AGENT
................
Version on agent : null
Content type : AGENT
Error code : NOT_FOUND_IN_INPUT
Error Msg : This plug-in is present in the inventory for the given agent but has not been provided in the input,  The plug-in is oracle.sysman.db
Version in pla inventory : 12.1.0.2.0
Version on agent : null
Content type : DISCOVERY
Error code : NOT_FOUND_IN_INPUT
Error Msg : This plug-in is present in the inventory for the given agent but has not been provided in the input,  The plug-in is oracle.sysman.oh
Version in pla inventory : 12.1.0.2.0
Version on agent : null
Content type : DISCOVERY
Error code : NOT_FOUND_IN_INPUT

 

Changes

 

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