EM 12c : emctl status agent Blocked- Resync Success 'PerformOperationException: Unable to create file <AGENT_INST> No such file or directory' Reported in emoms.log/trc (Doc ID 1951431.1)

Last updated on JANUARY 19, 2015

Applies to:

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

Symptoms

Agent unreachable and blocked in 12c Cloud Control console. Resync also not unblocking it even though it is successful

SQL query returns  blocked Error code : NOT_FOUND_IN_INPUT

SQL>select * from MGMT_BLOCKED_AGENTS where  target_guid='<target_guid from above query>';

$/AGENT_INST/bin/emctl status agent

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

Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 12.1.0.3.0
OMS Version       : (unknown)
Protocol Version  : 12.1.0.1.0
Agent Home        : /oracle/12cagent/agent_inst
Agent Binaries    : /oracle/12cagent/core/12.1.0.3.0
Agent Process ID  : 11468896
Parent Process ID : 9306166
Agent URL         : https://staring.oracle.com:3872/emd/main/
Repository URL    : https://Stoms.oracle.com:4901/empbs/upload
Started at        : 2014-11-04 08:17:59
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           : 96
Size of XML files pending upload(MB)         : 0.09
Available disk space on upload filesystem    : 44.22%
Collection Status                            : Collections enabled
Heartbeat Status                             : Agent is blocked
Blocked Reason    : 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
Last attempted heartbeat to OMS              : 2014-11-05 06:53:58
Last successful heartbeat to OMS             : (none)
Next scheduled heartbeat to OMS              : 2014-11-05 06:56:58

 

/gc_inst/em/EMGC_OMS1/sysman/log/emoms.log reports the following error during agent resync operation

2014-11-04 13:54:52,855 [RemoteJobWorker 523142] ERROR agentdeploy.AgentPluginDeploy deployPlugin.2027 -
2014-11-04 13:54:52,861 [RemoteJobWorker 523142] ERROR agentdeploy.AgentPluginDeploy deployPlugin.2487 - java.security.PrivilegedActionException: oracle.sysman.emSDK.agent.client.exception.PerformOperationException: Unable to create file /oracle/agent12c/agent_inst/oracle.sysman.db_12.1.0.5.0_AGENT_22.zip: No such file or directory
2014-11-04 13:54:52,867 [RemoteJobWorker 523142] ERROR agentdeploy.AgentPluginDeploy runDeployScript.1067 - Exception occured while performing action: deploy on agent: A210C646EED46520771A731AE4213DA6 for plugin: oracle.sysman.db
2014-11-04 13:54:52,876 [RemoteJobWorker 523142] ERROR ResyncState.class logp.251 - deployment of plugins failed
2014-11-04 13:54:59,807 [RemoteJobWorker 523142] ERROR ResyncState.class logp.251 - No Such Target Exception occured while Saving Monitoring Settings to EMD oracle.sysman.emSDK.emd.comm.NoSuchTargetException: the has target "has_starinprrac01 " does not exist

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