My Oracle Support Banner

EM 13.4: Applying RU9 Patch Failed With An Error "OMSPatcher failed with error code 73" (Doc ID 2774855.1)

Last updated on MAY 27, 2021

Applies to:

Enterprise Manager Base Platform - Version 13.4.0.0.0 to 13.4.1.0.0 [Release 13c]
Information in this document applies to any platform.

Symptoms

In Enterprise Manager 13.4, Applying RU9 patch (32198287) fails with an error: "OMSPatcher failed with error code 73"

 

$ <OMS_HOME>/OMSPatcher/omspatcher apply
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation. All rights reserved.

OMSPatcher version : 13.9.4.5.0
OUI version : 13.9.4.0.0
Running from : <OMS_HOME>
Log file location : <OMS_HOME>/cfgtoollogs/omspatcher/opatch2021-04-27_07-04-35AM_1.log

OMSPatcher failed:

OMSPatcher finds that previous patching session is not yet completed. Please refer log file
<OMS_HOME>/cfgtoollogs/omspatcher/32198287/omspatcher_2021-04-15_07-34-27AM_deploy.log"
for the previous session and execute the script
<OMS_HOME>/.omspatcher_storage/oms_session/scripts_2021-04-15_07-33-57AM/run_script_singleoms_resume.sh"
to complete the previous session. OMSPatcher can proceed to execute new operations only if previous session is completed successfully.

Log file location: <OMS_HOME>/cfgtoollogs/omspatcher/opatch2021-04-27_07-04-35AM_1.log

OMSPatcher failed with error code 73

 

 <OMS_HOME>/cfgtoollogs/omspatcher/opatchDATE_TIMESTAMP_1.log:

 

[Apr 16, 2021 12:02:19 AM] [INFO] The following warnings have occurred during OPatch execution:
[Apr 16, 2021 12:02:19 AM] [INFO] 1) OUI-67124:CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/default_collection/134100
CopyAction::apply(): cannot mkdirs on parent directory<OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/default_collection/134100
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/default_collection/134100
...........
...........
...........
...........
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/targetType/32079768
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/targetType/32079768
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/targetType/32079768
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/targetType/32079768
[Apr 16, 2021 12:02:19 AM] [INFO] 2) OUI-67124:ApplySession failed in system modification phase... 'ApplySession::apply failed: CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/default_collection/134100
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/default_collection/134100
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/default_collection/134100
...........
...........
...........
...........
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/targetType/32079768
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/targetType/32079768
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/targetType/32079768
'
[Apr 16, 2021 12:02:19 AM] [INFO] 3) OUI-67124:
NApply restored the home. Please check your ORACLE_HOME to make sure:
- files are restored properly.
- binaries are re-linked correctly.
(use restore.[sh,bat] and make.txt (Unix only) as a reference. They are located under
"<OMS_HOME>/.patch_storage/NApply/2021-04-15_23-47-09PM"
[Apr 16, 2021 12:02:19 AM] [INFO] --------------------------------------------------------------------------------
[Apr 16, 2021 12:02:19 AM] [INFO] Finishing UtilSession at Fri Apr 16 00:02:19 CDT 2021
[Apr 16, 2021 12:02:19 AM] [INFO] Log file location:<OMS_HOME>/cfgtoollogs/opatch/opatch2021-04-15_23-47-09PM_1.log
[Apr 16, 2021 12:02:19 AM] [INFO] Stack Description: java.lang.RuntimeException: ApplySession failed in system modification phase... 'ApplySession::apply failed: CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/default_collection/134100
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/default_collection/134100
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/default_collection/134100
...........
...........
...........
...........
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/targetType/32079768
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/targetType/32079768
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/targetType/32079768
'
at oracle.opatch.OPatchActionExecutor.runApply(OPatchActionExecutor.java:139)
at oracle.opatch.ApplySession.modifySystem(ApplySession.java:1025)
at oracle.opatch.ApplySession.apply(ApplySession.java:905)
at oracle.opatch.ApplySession.processLocal(ApplySession.java:4080)
at oracle.opatch.ApplySession.process(ApplySession.java:5061)
at oracle.opatch.ApplySession.process(ApplySession.java:4923)
at oracle.opatch.OPatchACL.processApply(OPatchACL.java:310)
at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:1416)
at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:368)
at oracle.opatch.opatchutil.NApply.process(NApply.java:348)
at oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at oracle.opatch.UtilSession.process(UtilSession.java:355)
at oracle.opatch.OPatchSession.process(OPatchSession.java:2650)
at oracle.opatch.OPatch.process(OPatch.java:779)
at oracle.opatch.OPatch.main(OPatch.java:829)
Caused by: java.lang.RuntimeException: ApplySession failed in system modification phase... 'ApplySession::apply failed: CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/default_collection/134100
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/default_collection/134100
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/default_collection/134100
'
... 19 more
Caused by: java.lang.Error: ApplySession failed in system modification phase... 'ApplySession::apply failed: CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/default_collection/134100
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/default_collection/134100
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/default_collection/134100
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/targetType/32079768
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/targetType/32079768
'
... 19 more
Caused by: java.lang.RuntimeException: ApplySession::apply failed: CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/default_collection/134100
CopyAction::apply(): cannot mkdirs on parent directory <OMS_HOME>/plugins/oracle.sysman.emfa.oms.plugin_13.4.1.0.0/patched_metadata/13.4.1.0.0/default_collection/134100

 OEM -13.4

 OMSPatcher- 13.9.4.5.0

 OPatch - 13.9.4.2.5

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.