12c Cloud Control: Agent Upgrade From To Fails At Upgrading Management Agent Step With Errors 'DetachHome failed' During Plugin Deploy Stage

(Doc ID 1531717.1)

Last updated on AUGUST 26, 2013

Applies to:

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


The Cloud Control Agent upgrade from to fails at the step "Upgrading Management Agent" with:

Content of the file  <Agent_Base_Location>/core/<Timestamp>.log

INFO: Executing command: /usr/oem/agent/core/ -jar /usr/oem/agent/core/ -emStateDir /usr/oem/agent/agent_inst -oldAgentHome /usr/oem/agent/core/ -newAgentHome /usr/oem/agent/core/
INFO: Command: /usr/oem/agent/core/ -jar /usr/oem/agent/core/ -emStateDir /usr/oem/agent/agent_inst -oldAgentHome /usr/oem/agent/core/ -newAgentHome /usr/oem/agent/core/ completed with status=0
INFO: Command: /usr/oem/agent/core/ -jar /usr/oem/agent/core/ -emStateDir /usr/oem/agent/agent_inst -oldAgentHome /usr/oem/agent/core/ -newAgentHome /usr/oem/agent/core/ completed successfully.
INFO: Executing command: /usr/oem/agent/core/ /usr/oem/agent/core/ -oracleHome /usr/oem/agent/core/ -agentDir /usr/oem/agent -pluginIdsInfoFile /usr/oem/agent/plugins_upgrade.txt -action upgrade -deleteArchive -dont_restart -emStateDir /usr/oem/agent/agent_inst
INFO: The emStateDir is /usr/oem/agent/agent_inst
INFO:  The log file is /usr/oem/agent/agent_inst/install/logs/agentplugindeploy_2012_12_17_13_45_53.log
INFO: Acquiring the lock for  /usr/oem/agent/plugins_upgrade.txt
INFO: Acquired the lock for  /usr/oem/agent/plugins_upgrade.txt
INFO: The lock file is /usr/oem/agent/agent_inst/install/logs/agentplugindeploy.lock
INFO:  The log file is /usr/oem/agent/core/
INFO: Removed the /usr/oem/agent/core/ file.
INFO: Command: /usr/oem/agent/core/ /usr/oem/agent/core/ -oracleHome /usr/oem/agent/core/ -agentDir /usr/oem/agent -pluginIdsInfoFile /usr/oem/agent/plugins_upgrade.txt -action upgrade -deleteArchive -dont_restart -emStateDir /usr/oem/agent/agent_inst completed with status=9
SEVERE: Command: /usr/oem/agent/core/ /usr/oem/agent/core/ -oracleHome /usr/oem/agent/core/ -agentDir /usr/oem/agent -pluginIdsInfoFile /usr/oem/agent/plugins_upgrade.txt -action upgrade -deleteArchive -dont_restart -emStateDir /usr/oem/agent/agent_inst failed.
SEVERE: ERROR: Agent Deployment Failed

Content of the file  <Agent_Instance_Home>/install/logs/agentplugindeploy_<Timestamp>.log

The command executed for deconfiguration is : /usr/oem/agent/agent_inst/bin/emctl remove_discovery_root plugin oracle.sysman.oh
 Oracle Enterprise Manager Cloud Control 12c Release 2 
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
EMD remove_discovery_root plugin succeeded.
 return value is : 0
The command executed for detaching home is /usr/oem/agent/core/ -detachHome -silent -waitforcompletion ORACLE_HOME=/usr/oem/agent/plugins/oracle.sysman.oh.discovery.plugin_12. -invPtrLoc /usr/oem/agent/core/ -ignoreSysPrereqs 
 The inventory pointer is located at /usr/oem/agent/core/
The inventory is located at /usr/oem/oraInventory
'DetachHome' failed.


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