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 13.2.0.0.0 and later
Information in this document applies to any platform.

Symptoms

While applying the patch the following error occurs.

<middleware_home>/cfgtoollogs/omspatcher/omspatcher_2019-07-22_12-54-01PM_deploy.log

[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:
                            oracle.sysman.top.oms:29815382,27463295,28227329,29682903,29682890
                           
                           
                            Binaries of the following sub-patch(es) failed to get applied:
                            oracle.sysman.top.oms_13.2.0.0.0:27463295,28227329,29682890,29682903,29815382
                           
                           
                            The following sub-patches are incompatible with components installed in the OMS system:
                            27319672,28831838,28373680,27723692,26815732,29815472,27319633,27353331,27160443

 

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 ':

Changes

 

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
Changes
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.