ERROR: Prepatch Execution For DB Home ... Failed

官方文档

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    ##添加可执行权限即可,重新执行打补丁命令即可
#

相关文章

Java Oracle 结果集是Java语言中处理数据库查询结果的一种方...
Java AES和Oracle AES是现代加密技术中最常使用的两种AES加密...
Java是一种广泛应用的编程语言,具备可靠性、安全性、跨平台...
随着移动互联网的发展,抽奖活动成为了营销活动中不可或缺的...
Java和Oracle都是在计算机领域应用非常广泛的技术,他们经常...
Java 是一门非常流行的编程语言,它可以运行于各种操作系统上...