EM 13c: Enterprise Manager 13.2 Cloud Control Agent Upgrade Cleanup on MS Windows Fails with Error: Missing braces on \o{} in regex

(Doc ID 2346799.1)

Last updated on JANUARY 13, 2018

Applies to:

Enterprise Manager Base Platform - Version to [Release 13.2]
Microsoft Windows x64 (64-bit)


Upgrading the Enterprise Manager (EM) 12c Cloud Control Agent to 13.2 on the MS Windows platform results in the following job error:

The command running here is d:\oracle\agent\GoldImage_em132p170831win64\agent_13.\sysman\install\AgentCleanup.pl-agentHome d:\oracle\agent\GoldImage_em132p170831win64\agent_13.
The instance home is d:/oracle/agent/agent_inst
The log file is D:\oracle\agent\agent_inst\install\logs\cleanup\agentcleanup_2017-09-08_11-32-57.log

Creating the file D:\oracle\agent\GoldImage_em132p170831win64\agent_13.\install\oldHomes.deinstall with D:\oracle\agent\GoldImage_em132p170531win64_3\agent_13.,D:\oracle\agent\agent_13. and value passed is D:\oracle\agent\GoldImage_em132p170531win64_3\agent_13.,D:\oracle\agent\agent_13.
The command executed is D:\oracle\agent\GoldImage_em132p170531win64_3\agent_13.\oui\bin\detachHome.cmd -silent ORACLE_HOME=D:\oracle\agent\GoldImage_em132p170531win64_3\agent_13.  -nowait WARNING: Ignoring ORACLE_HOME=value on the command line (cannot override the Oracle Home to be detached
Launcher log file is D:\Oracle\agent\agent_inst\sysman\emd\upload\OraInstall2017-09-08_11-32-57AM\launcher2017-09-08_11-32-57AM.log.
Starting Oracle Universal Installer

Checking swap space: must be greater than 500 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)

'detachHome' was successful.
Logs successfully copied to C:\Program Files\Oracle\Inventory\logs.
return value is : 0

The file D:\oracle\agent\agent_13.\oui\bin\detachHome.cmd does not exist, skipping detach home for D:\oracle\agent\agent_13.
Current base directory is D:\oracle\agent\GoldImage_em132p170831win64 and the old base directory is D:\oracle\agent\GoldImage_em132p170531win64_3Missing braces on \o{} in regex; marked by <-- HERE in m/D:\o <-- HERE racle\agent\GoldImage_em132p170531win64_3/ at d:\oracle\agent\GoldImage_em132p170831win64\agent_13.\sysman\install\AgentCleanup.pl line 583.

Exit Code :255
Finished getting the info details
The script is perlScript :  m_scriptLoc d:\oracle\agent\GoldImage_em132p170831win64\agent_13.\sysman\install

While it is possible to clean up each old MS Windows EM 12c Agent file path, an option is required for those environments where many such Agents are affected.






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