OPATCH_JAVA_ERROR : An exception of type “OPatchException” has occurred.

OPATCH_JAVA_ERROR : An exception of type “OPatchException” has occurred.

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.

You get the above error when you try to do “Opatch lsinventory” or Path for Oracle Home is not listed under the drop down when you try to install using OUI (Oracle Universal Installer).

Cause: ORACLE_HOME (10.1.2) or (10.1.3) not exists in the central Inventory.

Solution: Attach (10.1.2) and (10.1.3) ORACLE_HOME to Inventory.

[applmgr@uswodapp008 ~]$ cd $ORACLE_HOME/oui/bin
[applmgr@uswodapp008 bin]$ pwd
/ebprd/appl/product/10.1.2/oui/bin
./runInstaller -silent -attachHome ORACLE_HOME=/ebprd/appl/product/10.1.2/oui/bin ORACLE_HOME_NAME=prd_1012_home
…AttachHome’ was successful
For IAS_ORACLE_HOME
[applmgr@uswodapp008 ~]$ cd $IAS_ORACLE_HOME/oui/bin
[applmgr@uswodapp008 bin]$ pwd
/ebprd/appl/product/10.1.3/oui/bin
./runInstaller -silent -attachHome ORACLE_HOME=/ebprd/appl/product/10.1.3/oui/bin ORACLE_HOME_NAME=prd_1012_home
…AttachHome’ was successful

Now you should be able to run “Opatch lsinventory” or See the Oralce_Home installation path under OUI install.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s