EM 12c : Agent Upgrade Failed With 'SEVERE backup exception message : OUI-10185:Unable to copy ' (Doc ID 1922095.1)

Last updated on DECEMBER 14, 2015

Applies to:

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

Symptoms

Upgrading Enterprise Manager Cloud Console Agent from 12.1.0.x to 12.1.0.4 failed while taking backup of upload/* files

SEVERE: backup exception message:OUI-10185:Unable to copy '/apps/oracle/product/12.1.0.1.AGT/agent_inst/sysman/emd/upload/upload/badfile/uplF_P4_S0_I32755.xml' to '/opt/oracle/product/12.1.0.1.AGT/backup_agtup/backup_2014-08-11_23-39-08-PM/agent_inst/sysman/emd/upload/upload/badfile/uplF_P4_S0_I32755.xml'. OUI-10186:The source file '/apps/oracle/product/12.1.0.1.AGT/agent_inst/sysman/emd/upload/upload/badfile/uplF_P4_S0_I32755.xml' does not exist.


From Agent Upgrade Console error snipett

Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
agentVersion=12.1.0.3.0

Exit Code :0
The version is 12.1.0.3.0
Checking for the version 12.1.0.4.0
The agent is not upgraded successfully

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 : 12.1.0.4.0
Protocol Version : 12.1.0.1.0
Agent Home : /apps/oracle/product/12.1.0.1.AGT/agent_inst
Agent Binaries : /opt/oracle/product/12.1.0.1.AGT/core/12.1.0.3.0
Agent Process ID : 21823592
Parent Process ID : 12517442
Agent URL : https://myagent.oracle.com:1830/emd/main/
Repository URL : https://oem12c.oracle.com:1159/empbs/upload
Started at : 2014-08-11 23:41:22
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 : 1
Size of XML files pending upload(MB) : 0
Available disk space on upload filesystem : 36.63%
Collection Status : Collections enabled
Heartbeat Status : Ok
Last attempted heartbeat to OMS : 2014-08-11 23:41:29
Last successful heartbeat to OMS : 2014-08-11 23:41:29
Next scheduled heartbeat to OMS : 2014-08-11 23:42:29

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

 Backup of agent instance home failed.
Check latest /opt/oracle/product/12.1.0.1.AGT/core/12.1.0.4.0/cfgtoollogs/agentDeploy/agentDeploy_.log
 Backup of agent instance home failed.0

/AGENT_HOME/cfgtoollogs/cfgfw/agentDeploy.log reports following exception

INFO: Clone start time:2014-08-11_23-39-34-PM
INFO: Executing command: /opt/oracle/product/12.1.0.1.AGT/core/12.1.0.4.0/oui/bin/runInstaller -debug -ignoreSysPrereqs -clone -forceClone -silent -waitForCompletion -nowait ORACLE_HOME=/opt/oracle/product/12.1.0.1.AGT/core/12.1.0.4.0 -noconfig ORACLE_HOME_NAME=agent12c2 -invPtrLoc /opt/oracle/product/12.1.0.1.AGT/core/12.1.0.3.0/oraInst.loc -force
INFO: Starting Oracle Universal Installer...
...........
INFO: Arg:32:AGENT_INSTANCE_HOME=/apps/oracle/product/12.1.0.Oracle Universal Installer, Version 11.1.0.12.0 Production
INFO: Copyright (C) 1999, 2014, Oracle. All rights reserved.
INFO:
INFO: You can find the log of this install session at:
INFO: /opt/oracle/oraInventory/logs/cloneActions2014-08-11_11-39-34PM.log
INFO: .................................................................................................... 100% Done.
INFO: Installation in progress (Monday, August 11, 2014 11:39:44 PM CDT)
INFO: ................................................... 51% Done.
INFO: Install successful
INFO: Linking in progress (Monday, August 11, 2014 11:39:53 PM CDT)
INFO: Link successful
INFO: Setup in progress (Monday, August 11, 2014 11:39:53 PM CDT)
INFO: ................................ 100% Done.
INFO: Setup successful
..........
INFO: Copying from: /apps/oracle/product/12.1.0.1.AGT/agent_inst/bin to /opt/oracle/product/12.1.0.1.AGT/backup_agtup/backup_2014-08-11_23-39-08-PM/agent_inst/bin
INFO: Just for debugging ...
INFO: Finished copying ...
INFO: Copying from: /apps/oracle/product/12.1.0.1.AGT/agent_inst/sysman/config to /opt/oracle/product/12.1.0.1.AGT/backup_agtup/backup_2014-08-11_23-39-08-PM/agent_inst/sysman/config
INFO: Just for debugging ...
INFO: Finished copying ...
INFO: Copying from: /apps/oracle/product/12.1.0.1.AGT/agent_inst/sysman/emd to /opt/oracle/product/12.1.0.1.AGT/backup_agtup/backup_2014-08-11_23-39-08-PM/agent_inst/sysman/emd
INFO: Just for debugging ...
SEVERE: backup exception message:OUI-10185:Unable to copy '/apps/oracle/product/12.1.0.1.AGT/agent_inst/sysman/emd/upload/upload/badfile/uplF_P4_S0_I32755.xml' to '/opt/oracle/product/12.1.0.1.AGT/backup_agtup/backup_2014-08-11_23-39-08-PM/agent_inst/sysman/emd/upload/upload/badfile/uplF_P4_S0_I32755.xml'. OUI-10186:The source file '/apps/oracle/product/12.1.0.1.AGT/agent_inst/sysman/emd/upload/upload/badfile/uplF_P4_S0_I32755.xml' does not exist.
.......
INFO: Directory is deleted : /opt/oracle/product/12.1.0.1.AGT/sbin_new
SEVERE:
ERROR: Agent Deployment Failed
INFO: File is deleted : /opt/oracle/oraInventory/ContentsXML/comps.xml
INFO: File is deleted : /opt/oracle/oraInventory/ContentsXML/inventory.xml
INFO: File is deleted : /opt/oracle/oraInventory/ContentsXML/libs.xml
INFO: Directory is deleted : /opt/oracle/oraInventory/ContentsXML
SEVERE: The emctl file /opt/oracle/product/12.1.0.1.AGT/core/12.1.0.3.0/bin/emctl_upgrade does not exist
SEVERE: The emctl file in instancehome /apps/oracle/product/12.1.0.1.AGT/agent_inst/bin/emctl_upgrade does not exist
INFO: Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: Starting agent ................ started.

 

 

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