Grid Infrastructure (GI) PSU Installation Fails With "ERROR: Prepatch Execution For DB Home ... Failed"
(Doc ID 2236977.1)
Last updated on DECEMBER 26, 2019
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
When attempting to apply a GI PSU patch, the following error occurs
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
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