Monday, June 27, 2011

How to find out Oracle AIA Patches applied on the server

1. Make sure Oracle Standalone Interim Patch Installer version is equal or greater than 11.1.0.0.0
[oracle@soaserver ~]$ opatch version
Invoking Standalone OPatch 11.1.0.0.0
OPatch Version: 11.1.0.0.0
OPatch succeeded.

2. Set ORACLE_HOME variable to point to your AIA_HOME
[oracle@soaserver ~]$export ORACLE_HOME=/oracle/aia
(Where /oracle/aia is the location of AIA directory on my soaserver)

3. Set SOA_HOME varaible to point to your SOA Home
[oracle@soaserver ~]$export SOA_HOME=/oracle/orasoa

(Where /oracle/orasoa is the location of SOA directory on my soaserver)

4.Set AIA_HOME variable to point to your AIA_HOME
[oracle@soaserver ~]$export AIA_HOME=/oracle/aia

5. Use opatch lsinventory to find out the AIA Patches
[oracle@soaserver ~]$opatch lsinventory -invPtrLoc $SOA_HOME/oraInst.loc -oh $AIA_HOME -jre $SOA_HOME/jdk/jre

3 comments:

  1. Hi Santhanu,

    We have followed the above steps , but we are getting below exception . can you please us.

    Oracle Interim Patch Installer version 1.0.0.0.63
    Copyright (c) 2009 Oracle Corporation. All Rights Reserved..

    Oracle recommends you to use the latest OPatch version
    and read the OPatch documentation available in the OPatch/docs
    directory for usage. For information about the latest OPatch and
    other support-related issues, refer to document ID 293369.1
    available on My Oracle Support (https://myoraclesupport.oracle.com)

    Cannot locate oui location "/oracle/oui" in file /oracle/oraInventory/ContentsXML/comps.xml or via oraInst.loc

    ERROR: OPatch failed because of Inventory problem.

    ReplyDelete
  2. Hi Ajay,

    You are getting error because the OPatch is not correct. For AIA, you need Opatch of 11.1.0.0.0 or higher version. Try with the correct version of OPatch and let me know in case of any issue.

    Regards,
    Shantanu

    ReplyDelete
  3. Hi Shantanu,

    Even after using OPatch 11.1.0.0.0 it throws the below error:

    LsInventorySession failed:
    --------------------------------------------------------------------------------
    The Oracle Home does not meet OUI version requirement.
    This OPatch (version 11.1.0.0.0) detects OUI version 10.1.0.6.0 in the home.
    It requires OUI version 10.2 or above.


    OPatch failed with error code 73

    ReplyDelete