Monday, June 11, 2012

OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred

Error:

=====
OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
Can not get a list of inventory on this home.
ERROR: OPatch failed because of Inventory problem.

Scenario :
========
$ opatch lsinventory
Oracle Interim Patch Installer version 1.0.0.0.57
Copyright (c) 2007 Oracle Corporation. All Rights Reserved..

We recommend you refer to the OPatch documentation under
OPatch/docs for usage reference. We also recommend using
the latest OPatch version. For the latest OPatch version
and other support related issues, please refer to document
293369.1 which is viewable from metalink.oracle.com

Oracle Home : /test/apps/tech_st/10.1.2
Oracle Home Inventory : /test/apps/tech_st/10.1.2/inventory
Central Inventory : /test/apps/tech_st/10.1.2/oraInventory
from : /etc/oraInst.loc
OUI location : /test/apps/tech_st/10.1.2/oui
OUI shared library : /test/apps/tech_st/10.1.2/oui/lib/ibm_aix/liboraInstaller.so
Java location : /test/apps/tech_st/10.1.2/jre/1.4.2/bin/java
Log file location : /test/apps/tech_st/10.1.2/.patch_storage//*.log
Creating log file "/test/apps/tech_st/10.1.2/.patch_storage/LsInventory__05-31-2012_15-53-50.log"
Result:
LsInventory: OPatch Exception while accessing O2O

OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
OPatch Exception:
OUI found no such ORACLE_HOME set in the environment
Can not get details for given Oracle Home
An exception occurs
null
There is no Interim Patch
OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
Can not get a list of inventory on this home.
ERROR: OPatch failed because of Inventory problem.

Solution:
=======

How To Create, Update or Rebuild The Central Inventory For Oracle Applications EBS R12 [ID 742477.1]

1. cd /test/apps/tech_st/10.1.2/appsutil/clone
2. $ perl ouicli.pl
3. Retest the issue

No comments: