GI PSU Installation Fails With "ERROR: Prepatch Execution For DB Home ... Failed"

(Doc ID 2236977.1)

Last updated on MARCH 16, 2017

Applies to:

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

Symptoms

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/prepatch.sh -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/prepatch.sh -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 prepatch.sh script as 'oracle' user fails with "Permission denied" error

 

Cause

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