由高权限目录引起的OPatch auto补丁失败一例(2)

Oracle Database 11g                                                  11.2.0.4.0

There are 1 products installed in this Oracle Home.

(篇幅原因,有省略……)

/oracle/jdbc/driver/OracleSql.class --> ORACLE_HOME/jdbc/lib/ojdbc6.jar

Patch Location in Inventory:

/u02/app/oracle/product/11.2.0/dbhome_1/inventory/oneoffs/19852360

Patch Location in Storage area:

/u02/app/oracle/product/11.2.0/dbhome_1/.patch_storage/19852360_Oct_20_2014_08_17_43

--------------------------------------------------------------------------------

OPatch succeeded.

进行正式的补丁过程。注意:这里面是需要使用root来执行opatch脚本。

[root@NCR-Standby-Asm OPatch]# ./opatch auto /upload/gidir/20485808 -ocmrf /u01/unconfig.rsp

Executing /u01/app/grid/product/11.2.0/grid/perl/bin/perl ./crs/patch11203.pl -patchdir /upload/gidir -patchn 20485808 -ocmrf /u01/unconfig.rsp -paramfile /u01/app/grid/product/11.2.0/grid/crs/install/crsconfig_params

This is the main log file: /u01/app/grid/product/11.2.0/grid/cfgtoollogs/opatchauto2015-05-25_15-03-06.log

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:

/u01/app/grid/product/11.2.0/grid/cfgtoollogs/opatchauto2015-05-25_15-03-06.report.log

2015-05-25 15:03:06: Starting Oracle Restart Patch Setup

Using configuration parameter file: /u01/app/grid/product/11.2.0/grid/crs/install/crsconfig_params

Stopping RAC /u02/app/oracle/product/11.2.0/dbhome_1 ...

Stopped RAC /u02/app/oracle/product/11.2.0/dbhome_1 successfully

patch /upload/gidir/20485808/20299013  apply successful for home  /u02/app/oracle/product/11.2.0/dbhome_1 

patch /upload/gidir/20485808/20420937/custom/server/20420937  apply successful for home  /u02/app/oracle/product/11.2.0/dbhome_1 

Stopping CRS...

Stopped CRS successfully

Error : The opatch Applicable check failed.  The patch /upload/gidir/20485808/20420937 is not applicable to /u01/app/grid/product/11.2.0/grid

Error:Patch Applicable check failed for /u01/app/grid/product/11.2.0/grid

Starting CRS...

ERROR: Prereq checkApplicable failed. Refer log file for more details.

opatch auto failed.

在补丁过程中出错,过程日志看是在关闭CRS,进行CRS升级过程中出现的错误。

2、问题分析

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/7b56ad522282f64123713e2cd3170aa4.html