My Oracle Support Banner

EM 12c, 13c : 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 JUNE 15, 2021

Applies to:

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


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     :
OMS Version       : (unknown)
Protocol Version  :
Agent Home        : /oracle/12cagent/agent_inst
Agent Binaries    : /oracle/12cagent/core/
Agent Process ID  : 11468896
Parent Process ID : 9306166
Agent URL         : https://<Agent HOSTNAME>.<DOMAINNAME>:3872/emd/main/
Repository URL    : https://<OMS HOSTNAME>.<DOMAINNAME>:4901/empbs/upload
Started at        : 2014-11-04 08:17:59
Started by user   : <USER>
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


<OMS Instance Base>/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 - oracle.sysman.emSDK.agent.client.exception.PerformOperationException: Unable to create file /oracle/agent12c/agent_inst/ 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


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

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