2012-05-24

Opatch version check failed


The error message :
The opatch minimum version  check for patch /oradata/patches_oracle_software/13696242_GI_DB/13696242/custom/server/13696242 failed  for /product/11gR2/db_1
The opatch minimum version  check for patch /oradata/patches_oracle_software/13696242_GI_DB/13696224 failed  for /product/11gR2/db_1
Opatch version check failed for oracle home  /product/11gR2/db_1
Opatch version  check failed
update the opatch version for the failed homes and retry


Cause : upgrade also the OPatch from the Oracle database software .

See also the oracle metalink below for other possible causes



OPatch Version Check Failed While Applying 11.2.0.2 GI Bundle Patch [ID 1308858.1]

Applies to:

Oracle Server - Enterprise Edition - Version: 11.2.0.2 to 11.2.0.2 - Release: 11.2 to 11.2 Information in this document applies to any platform.

Symptoms

While using OPatch 11.2.0.1.5 to try to apply an 11.2.0.2 GI bundle, OPatch fails with the following errors:
# opatch auto /u01/app/grid/stage/10157506 Executing /usr/bin/perl /u01/app/11.2.0/grid_2/OPatch/crs/patch112.pl -patchdir /u01/app/grid/stage -patchn 10157506 -paramfile /u01/app/11.2.0/grid_2/crs/install/crsconfig_params opatch auto log file location is /u01/app/11.2.0/grid_2/OPatch/crs/../../cfgtoollogs/opatchauto2011-03-25_13-42-37.log Detected Oracle Clusterware install Using configuration parameter file: /u01/app/11.2.0/grid_2/crs/install/crsconfig_params OPatch is bundled with OCM, Enter the absolute OCM response file path: /home/grid/ocm.rsp Enter 'yes' if you have unzipped this patch to an empty directory to proceed (yes/no):yes The opatch minimum version check for patch /u01/app/grid/stage/10157506/custom failed for /u01/app/oracle/11.2.0/db_2 The opatch minimum version check for patch /u01/app/grid/stage/10157506/etc failed for /u01/app/oracle/11.2.0/db_2 The opatch minimum version check for patch /u01/app/grid/stage/10157506/files failed for /u01/app/oracle/11.2.0/db_2 Opatch version check failed for oracle home /u01/app/oracle/11.2.0/db_2 Opatch version check failed update the opatch version for the failed homes and retry
OPatch 11.2.0.1.5 is a valid OPatch version to use when applying 11.2.0.2 GI bundles

Cause

In this specific case, the 11.2.0.2 GI bundle patch was unzipped in /u01/app/grid/stage and the following files/directories were unpacked:
% ls -l /u01/app/grid/stage/ total 229252 drwxr-xr-x 5 grid oinstall 4096 Nov 27 14:49 10157506 drwxr-xr-x 4 grid oinstall 4096 Nov 26 17:07 10158965 -rw-r--r-- 1 grid oinstall 422 Nov 27 14:49 bundle.xml -rw-r--r-- 1 grid oinstall 234420169 Mar 30 09:37 p10157506_112020_Linux-x86-64.zip -rw-rw-r-- 1 grid oinstall 77383 Dec 11 05:11 README.html -rw-rw-r-- 1 grid oinstall 21 Dec 11 03:19 README.txt
Earlier GI bundle patch README.html states the following:
To patch GI home and all Oracle RAC database homes of the same version: #opatch auto <path to 11.2.0.2 GIBUNDLE>
As this instruction is not 100% clear, the customer executed the following which is wrong:
# opatch auto /u01/app/grid/stage/10157506
Later GI bundle patch README.html will have the following instead:
#opatch auto <UNZIPPED_PATCH_LOCATION>

Solution

Apply the 11.2.0.2 GI patch bundle by running this command:
# opatch auto /u01/app/grid/stage
NOTE: The above command is just an example. If the 11.2.0.2 GI patch bundle is unzipped in a different directory on your server, you need to pass that directory name to the 'opatch auto' command.

Niciun comentariu:

Trimiteți un comentariu