My Oracle Support Banner

EM 13c: Patch Apply Failed with Error "Execution of PRE script failed, with return value = 127" (Doc ID 2569224.1)

Last updated on AUGUST 23, 2019

Applies to:

Enterprise Manager Base Platform - Version and later
Information in this document applies to any platform.


While applying the patch the following error occurs.


[Jul 22, 2019 12:55:04 PM]   ApplyReport Log File: <middleware_home>/cfgtoollogs/opatch/opatch2019-07-22_12-54-00PM_1.log
[Jul 22, 2019 12:56:15 PM]   Applying sub-patch(es) "27463295,28227329,29682890,29682903,29815382"
[Jul 22, 2019 12:56:25 PM]   NApplyReport Log file: <middleware_home>/cfgtoollogs/opatch/opatch2019-07-22_12-54-00PM_1.log
[Jul 22, 2019 12:57:29 PM]   Exception Occured while executing Apply Operation: ApplySession failed in system modification phase... 'Execution of PRE script failed, with return value = 127'
[Jul 22, 2019 12:57:29 PM]   NApply Logfile: <middleware_home>/cfgtoollogs/opatch/opatch2019-07-22_12-54-00PM_1.log
[Jul 22, 2019 12:57:29 PM]   OMSPatcher failed to apply following patch(es) "27463295" "28227329" "29682890" "29682903" "29815382"  to core/plugin Oracle home(s).
[Jul 22, 2019 12:57:30 PM]   Copying all logs to: <middleware_home>/cfgtoollogs/omspatcher/2019-07-22_12-53-52PM_SystemPatch_29893490_1
[Jul 22, 2019 12:57:30 PM]   Text file output: /<middleware_home>/cfgtoollogs/omspatcher/2019-07-22_12-53-52PM_SystemPatch_29893490_1/text_output/execution.txt
[Jul 22, 2019 12:57:30 PM]   Patching summary:
                            The following sub-patch(es) are applicable:
                            Binaries of the following sub-patch(es) failed to get applied:
                            The following sub-patches are incompatible with components installed in the OMS system:


Execution of 'sh <PATCH_STAGE_LOCATION>/oms_pluggin patch/29893490/29682903/custom/scripts/pre -apply 29682903 ':
[Jul 23, 2019 2:21:29 PM] [INFO] Return Code = 127
[Jul 23, 2019 2:21:29 PM] [INFO] Execution of ' Command and arguments of pre/post scripts is restricted to be viewed in log file ':




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

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