This discussion is archived
7 Replies Latest reply: May 2, 2012 10:20 AM by Levi-Pereira RSS

opatch version issue

915922 Newbie
Currently Being Moderated
Hi All

I am patching GI with patch 13348650 for 11.2.0.3.1

opatch version is 11.2.0.3.0 for both cluster and db

[root@vmorarac1 bin]# /u01/app/11.2.0.3.0/grid/OPatch/opatch version
OPatch Version: 11.2.0.3.0

OPatch succeeded.
[root@vmorarac1 bin]#

[root@vmorarac1 bin]# /u01/app/oracle/product/11.2.0.3.0/dbhome_1/OPatch/opatch version
OPatch Version: 11.2.0.3.0

OPatch succeeded.
[root@vmorara

but when running the command getting error below

/u01/app/11.2.0.3.0/grid/OPatch/opatch auto /home/gridinfra/13348650 -ocmrf /u01/app/11.2.0.3.0/grid/OPatch/ocm/bin/ocm.rsp


Using configuration parameter file: /u01/app/11.2.0.3.0/grid/crs/install/crsconfig_params
Enter 'yes' if you have unzipped this patch to an empty directory to proceed (yes/no):yes
The opatch minimum version check for patch /home/gridinfra/13348650/custom failed for /u01/app/oracle/product/11.2.0.3.0/dbhome_1
The opatch minimum version check for patch /home/gridinfra/13348650/etc failed for /u01/app/oracle/product/11.2.0.3.0/dbhome_1
The opatch minimum version check for patch /home/gridinfra/13348650/files failed for /u01/app/oracle/product/11.2.0.3.0/dbhome_1
Opatch version check failed for oracle home /u01/app/oracle/product/11.2.0.3.0/dbhome_1
Opatch version check failed
update the opatch version for the failed homes and retry

Edited by: 912919 on 02-May-2012 07:11

https://updates.oracle.com/Orion/Services/download?type=readme&aru=14274976 says version should be atleast 11.2.0.1.8

Edited by: 912919 on 02-May-2012 07:12

Edited by: 912919 on 02-May-2012 07:12

Edited by: 912919 on 02-May-2012 07:16
  • 1. Re: opatch version issue
    Levi-Pereira Guru
    Currently Being Moderated
    Hi,

    You must use the OPatch utility version 11.2.0.1.8 or later to apply this patch. Oracle recommends that you use the latest released OPatch for 11.2 releases, which is available for download from My Oracle Support patch 6880880 by selecting ARU link for the 11.2.0.0.0 release. It is recommended that you download the Opatch utility and the patch in a shared location to be able to access them from any node in the cluster for the patch application on each node.

    Did you checked version of OPatch in ALL nodes of Cluster?

    Regards,
    Levi Pereira
  • 2. Re: opatch version issue
    915922 Newbie
    Currently Being Moderated
    Yes I have check opatch version for both the nodes

    and both are versions 11.2.0.3.0

    [grid@vmorarac2 ~]$ /u01/app/11.2.0.3.0/grid/OPatch/opatch version
    OPatch Version: 11.2.0.3.0

    OPatch succeeded.
    [grid@vmorarac2 ~]$ exit
    exit
    [root@vmorarac2 ~]# su - oracle
    [oracle@vmorarac2 ~]$ /u01/app/oracle/product/11.2.0.3.0/dbhome_1/OPatch/opatch version
    OPatch Version: 11.2.0.3.0

    OPatch succeeded.
    [oracle@vmorarac2 ~]$

    Edited by: 912919 on 02-May-2012 07:22
  • 3. Re: opatch version issue
    915922 Newbie
    Currently Being Moderated
    both of these also passed on both nodes


    opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir <UNZIPPED_PATCH_LOCATION>/13348650 –oh $GRID_HOME
    opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir <UNZIPPED_PATCH_LOCATION>/13348650 /custom/server/13348650 –oh $DB_HOME
  • 4. Re: opatch version issue
    915922 Newbie
    Currently Being Moderated
    is this correct

    /u01/app/11.2.0.3.0/grid/OPatch/opatch auto /home/gridinfra/13348650 -ocmrf /u01/app/11.2.0.3.0/grid/OPatch/ocm/bin/ocm.rsp
  • 5. Re: opatch version issue
    G Srikanth Explorer
    Currently Being Moderated
    Please unzip the file to a folder say patches.

    unzip p13348650_112030_Linux-x86-64.zip -d /tmp/patches

    Now specfiy the command opatch as below

    opatch auto /tmp/patches -oh /u01/app/grid/11.2.0.3 -ocmrf /u01/app/grid/11.2.0.3/OPatch/ocm/bin/ocm.rsp

    As patches folder has a file bundle.xml, 13348650(GIpatch) and 13343438(db/asm patch) which is used by opatch, here bundle.xml is need by opatch utility.

    <bundle type = "GI_BUNDLE">
    <entities>
    <entity location="13348650">
    <target type="crs"/>
    <target type="siha"/>
    </entity>
    <entity location="13348650/custom/server/13348650">
    <target type="rac" />
    </entity>
    <entity location="13343438">
    <target type="crs"/>
    <target type="rac"/>
    <target type="sidb"/>
    <target type="siha"/>
    </entity>
    </entities>
    </bundle>

    Hope i made some sense to you

    Thank you

    Regards
    G Srikanth

    Edited by: G Srikanth on May 2, 2012 4:27 PM
  • 6. Re: opatch version issue
    G Srikanth Explorer
    Currently Being Moderated
    /u01/app/11.2.0.3.0/grid/OPatch/opatch auto /home/gridinfra -ocmrf /u01/app/11.2.0.3.0/grid/OPatch/ocm/bin/ocm.rsp

    I hope the statement should be as above.
  • 7. Re: opatch version issue
    Levi-Pereira Guru
    Currently Being Moderated
    912919 wrote:
    is this correct

    /u01/app/11.2.0.3.0/grid/OPatch/opatch auto /home/gridinfra/13348650 -ocmrf /u01/app/11.2.0.3.0/grid/OPatch/ocm/bin/ocm.rsp
    Hi,




    The README says:

    Unzip the patch as grid home owner in a shared location. As the Grid home owner execute:

    %unzip p13348650_112030_<platform>.zip
    For example, if <UNZIPPED_PATCH_LOCATION> in your environment is /u01/oracle/patches, enter the following command:

    %cd /u01/oracle/patches

    opatch auto <UNZIPPED_PATCH_LOCATION> -ocmrf <ocm response file>


    So, you are executing OPatch wich wrong patch location.

    As G Srikanth mentioned your Opatch should be executed as follow:
    /u01/app/11.2.0.3.0/grid/OPatch/opatch auto /home/gridinfra -ocmrf /u01/app/11.2.0.3.0/grid/OPatch/ocm/bin/ocm.rsp
    Regards,
    Levi Pereira

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points