Grid Infrastructure (GI) PSU Installation Fails With "ERROR: Prepatch Execution For DB Home ... Failed"

(Doc ID 2236977.1)

Last updated on JULY 13, 2018

Applies to:

Oracle Database - Enterprise Edition - Version and later
Generic UNIX
Generic Linux


When attempting to apply a GI PSU patch, the following error occurs

Stopping RAC /u01/app/oracle/product/dbhome_1 ...
Stopped RAC /u01/app/oracle/product/dbhome_1 successfully

ERROR: prepatch execution for DB home ... failed

The patch log has the below error

2017-02-17 15:04:16: Running as user oracle: /patches/24436338/23054319/custom/server/23054319/custom/scripts/ -dbhome /u01/app/oracle/product/dbhome_1
2017-02-17 15:04:16: s_run_as_user2: Running /bin/su oracle -c ' /patches//24436338/23054319/custom/server/23054319/custom/scripts/ -dbhome /u01/app/oracle/product/dbhome_1 '
2017-02-17 15:04:16: Removing file /tmp/fileSO2PEq
2017-02-17 15:04:16: Successfully removed file: /tmp/fileSO2PEq
2017-02-17 15:04:16: /bin/su exited with rc=126

2017-02-17 15:04:16: ERROR: prepatch execution for DB home ... failed

Manual execution of script as 'oracle' user fails with "Permission denied" error



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