Official documents
GI PSU Installation Fails With "ERROR: Prepatch Execution For DB Home ... Failed" (文档 ID 2236977.1)
GI hit patch Error
tail -f /oracle/app/product/11.2.0/cfgtoollogs/opatchauto2018-03-06_16-25-12.log2018-03-06 16:15:24: Running as user oracle: /oracle/soft/27107360/26609929/custom/server/26609929/custom/scripts/prepatch.sh -dbhome /oracle/app/oracle/product/11.2.02018-03-06 16:15:24: s_run_as_user2: Running /bin/su oracle -c ‘ /oracle/soft/27107360/26609929/custom/server/26609929/custom/scripts/prepatch.sh -dbhome /oracle/app/oracle/product/11.2.0 ‘2018-03-06 16:15:24: Removing file /tmp/dbaXQ5Me42018-03-06 16:15:24: Successfully removed file: /tmp/dbaXQ5Me42018-03-06 16:15:24: /bin/su exited with rc=1262018-03-06 16:15:24: ERROR: prepatch execution for DB home ... failed
Workaround
# ls-ltotal 13102568drwxr-xr-x 5 root system 23:08 27107360drwxr-xr-x root System 4096 Jan 14:10 opatch-rw-r--r--1 root system 129753 Jan 04:01 PATCHSEARCH.XMLDRWXRWXRW X 8 Oracle Oinstall 4096 Oct databasedrwxrwxrwx 8 grid oinstall 4096 Oct GRID-RW Xrwxrwx 1 grid oinstall 1801653734 Feb 17:54 p13390677_112040_aix64-5l_1of7.zip-rwxrwxrwx 1 grid oinstall 1170882875 Feb 17:57 p13390677_112040_aix64-5l_2of7.zip-rwxrwxrwx 1 grid oinstall 2127071138 Feb 18:02 p1339 0677_112040_AIX64-5L_3OF7.ZIP-RWXRWXRWX 1 root system 44329943 Feb 20:34 P26925532_112040_AIX64-5L.ZIP-RWXRW Xrwx 1 grid oinstall 1403937842 Feb 20:38 p27107360_112040_aix64-5l.zip-rw-r--r--1 root system 160483 974 Feb 19:42 p6880880_112000_aix64-5l.zip# chmod-r 775 27107360 # #添加可执行权限即可, re-execute the patch command #
Error:prepatch execution for DB Home ... Failed