12c: Plug-in Deployment on Standalone Agent Fails if the Associated ORACLE_HOME is Shared

(Doc ID 2122369.1)

Last updated on APRIL 04, 2016

Applies to:

Enterprise Manager Base Platform - Version to [Release 12.1]
Information in this document applies to any platform.


While trying to upgrade DB plugin from to on a standalone agent (say : agent_A.domain ) fails with below error:

$ emcli deploy_plugin_on_agent -agent_names="agent_A.domain:port" -plugin="oracle.sysman.db:" 
Error: For the plug-in "Oracle Database(oracle.sysman.db)" to be deployed on the given input agents, it needs to be deployed on some of its dependent agents. 
Retry the deployment with include_dependent_agents option to proceed deployment with dependent agents also.
Plug-in "Oracle Database(oracle.sysman.db)" is already deployed on management agents "agent_B.domain:port".

The error reports that the plugin needs to be deployed on other dependent agent (say : agent_B.domain) as well. Using the suggested flag also reports an error:

$ emcli deploy_plugin_on_agent -agent_names="agent_A.domain:port" -plugin="oracle.sysman.db:" -include_dependent_agents
Internal plug-in deployment error: EMS-01015: Error occurred while deploying AGENT plug-in.
Agent side plug-in deployment failed
For details, check the Management Server logs.
Plug-in "Oracle Database(oracle.sysman.db)" is already deployed on management agents "agent_B.domain:port".

Attempting to re-deploy the plugin on the other agent (agent_B.domain)  fails with:

$ emcli redeploy_plugin_on_agent -agent_names="agent_A.domain:port" -plugin="oracle.sysman.db:" -include_dependent_agents
Redeployment of a plug-in overwrites the existing OracleHome of a plug-in and you
will lose any patch(es) that has been applied on plug-in OracleHome.
Do you want to continue with redeploy [yes/no] ?
Prerequisites check failed
For agent : https://agent_A.domain:port/emd/main/
Error re-deploying the plug-in of version The plug-in version currently deployed on this agent: is different from

This issue can occur for deployment of any other plugin as well.
The same errors can also occur if the plugin deployment is being attempted from 12c Cloud Console UI.


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