1. 程式人生 > >ERROR: Prepatch Execution For DB Home ... Failed

ERROR: Prepatch Execution For DB Home ... Failed

Prepatch Execution

官方文檔

GI PSU Installation Fails With "ERROR: Prepatch Execution For DB Home ... Failed" (文檔 ID 2236977.1)

GI 打補丁報錯

tail -f /oracle/app/product/11.2.0/cfgtoollogs/opatchauto2018-03-06_16-25-12.log
2018-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.0
2018-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/dbaXQ5Me4
2018-03-06 16:15:24: Successfully removed file: /tmp/dbaXQ5Me4
2018-03-06 16:15:24: /bin/su exited with rc=126

2018-03-06 16:15:24: ERROR: prepatch execution for DB home ... failed

解決方法

# ls -l
total 13102568
drwxr-xr-x    5 root     system          256 Dec 19 23:08 27107360
drwxr-xr-x   15 root     system         4096 Jan 22 14:10 OPatch
-rw-r--r--    1 root     system       129753 Jan 16 04:01 PatchSearch.xml
drwxrwxrwx    8 oracle   oinstall       4096 Oct 08 2013  database
drwxrwxrwx    8 grid     oinstall       4096 Oct 08 2013  grid
-rwxrwxrwx    1 grid     oinstall 1801653734 Feb 01 17:54 p13390677_112040_AIX64-5L_1of7.zip
-rwxrwxrwx    1 grid     oinstall 1170882875 Feb 01 17:57 p13390677_112040_AIX64-5L_2of7.zip
-rwxrwxrwx    1 grid     oinstall 2127071138 Feb 01 18:02 p13390677_112040_AIX64-5L_3of7.zip
-rwxrwxrwx    1 root     system     44329943 Feb 01 20:34 p26925532_112040_AIX64-5L.zip
-rwxrwxrwx    1 grid     oinstall 1403937842 Feb 01 20:38 p27107360_112040_AIX64-5L.zip
-rw-r--r--    1 root     system    160483974 Feb 07 19:42 p6880880_112000_AIX64-5L.zip
# chmod -R 775 27107360    ##添加可執行權限即可,重新執行打補丁命令即可
# 

ERROR: Prepatch Execution For DB Home ... Failed