My Oracle Support Banner

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

Last updated on FEBRUARY 16, 2019

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 '<AGENT_HOME>/agent_inst/sysman/emd/upload/upload/badfile/uplF_P4_S0_I32755.xml' to '<AGENT_HOME>/agent_inst/sysman/emd/upload/upload/badfile/uplF_P4_S0_I32755.xml'. OUI-10186:The source file '<AGENT_HOME>/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 : <AGENT_INST_HOME>
Agent Binaries : <AGENT_HOME>
Agent Process ID : 21823592
Parent Process ID : 12517442
Agent URL : https://agentHostName:1830/emd/main/
Repository URL : https://agentHostName:1159/empbs/upload
Started at : 2014-08-11 23:41:22
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 : 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 <AGENT_BASE>/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: <AGENT_BASE>/core/12.1.0.4.0/oui/bin/runInstaller -debug -ignoreSysPrereqs -clone -forceClone -silent -waitForCompletion -nowait ORACLE_HOME=<AGENT_BASE>/core/12.1.0.4.0 -noconfig ORACLE_HOME_NAME=<Name> -invPtrLoc <AGENT_BASE>/core/12.1.0.3.0/oraInst.loc -force
INFO: Starting Oracle Universal Installer...
...........
INFO: You can find the log of this install session at:
INFO: ../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: <AGENT_BASE>/agent_inst/bin to <AGENT_BASE>/agent_inst/bin
INFO: Just for debugging ...
INFO: Finished copying ...
INFO: Just for debugging ...
SEVERE: backup exception message:OUI-10185:Unable to copy '<AGENT_BASE>/agent_inst/sysman/emd/upload/upload/badfile/uplF_P4_S0_I32755.xml' to '<AGENT_BASE>/agent_inst/sysman/emd/upload/upload/badfile/uplF_P4_S0_I32755.xml'. OUI-10186:The source file '<AGENT_BASE>/agent_inst/sysman/emd/upload/upload/badfile/uplF_P4_S0_I32755.xml' does not exist.
.......
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 <AGENT_BASE>/core/12.1.0.3.0/bin/emctl_upgrade does not exist
SEVERE: The emctl file in instancehome <AGENT_BASE>/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

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
Symptoms
Cause
Solution
References


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