Skip to main content

OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred - 10.1.2 Home in EBS R12

There is a requirement to Install one-off patch on Developer Oracle Home of EBS R12.1.3 cloned Instance. opatch was unable to locate the Inventory. When we check the Inventory 10.1.2 Home is not included.

Error Stack  from "opatch lsinvenory":

[oradev@ERPDEV[/oradev/R12_app/apps/tech_st/10.1.2]#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           : /oradev/R12_app/apps/tech_st/10.1.2
Oracle Home Inventory : /oradev/R12_app/apps/tech_st/10.1.2/inventory
Central Inventory     : /oradev/R12_app/apps/tech_st/10.1.2/inventory
   from               : /etc/oraInst.loc
OUI location          : /oradev/R12_app/apps/tech_st/10.1.2/oui
OUI shared library    : /oradev/R12_app/apps/tech_st/10.1.2/oui/lib/ibm_aix/liboraInstaller.so
Java location         : /oradev/R12_app/apps/tech_st/10.1.2/jre/1.4.2/bin/java
Log file location     : /oradev/R12_app/apps/tech_st/10.1.2/.patch_storage//*.log

Creating log file "/oradev/R12_app/apps/tech_st/10.1.2/.patch_storage/LsInventory__11-04-2014_13-26-09.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.
[oradev@ERPDEV[/oradev/R12_app/apps/tech_st/10.1.2]#

As a workaround downloaded the latest opatch utility but still same Issue exists.

Cause: 

ORACLE_HOME (10.1.2) not exists in the central Inventory. Hence the Opatch is failing.

Solution:

Attach (10.1.2) ORACLE_HOME to an existing Inventory/new Inventory  using OUI - Installer.

[oradev@ERPDEV[/oradev/R12_app/apps/tech_st/10.1.2/oui/bin]#./runInstaller -silent -attachHome ORACLE_HOME=/oradev/R12_app/apps/tech_st/10.1.2 ORACLE_HOME_NAME=dev_1012_home
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be 5200, 5300 or 6100
                                      Passed


All installer requirements met.

Checking operating system packages: bos.adt.base,bos.adt.lib,bos.adt.libm,bos.perf.libperfstat,bos.perf.perfstat,bos.perf.proctools,X11.motif.lib    Passed
Checking swap space: must be greater than 1536 MB.   Actual 10240MB    Passed
Checking Temp space: must be greater than 1000 MB.   Actual 1264 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-11-04_02-22-21PM. Please wait ...[oradev@ERPDEV[/oradev/R12_app/apps/tech_st/10.1.2/oui/bin]#'AttachHome' was successful.

[oradev@ERPDEV[/oradev/R12_app/apps/tech_st/10.1.2/oui/bin]#


Now run opatch and check it should work fine.

[oradev@ERPDEV[/oradev]#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           : /oradev/R12_app/apps/tech_st/10.1.2
Oracle Home Inventory : /oradev/R12_app/apps/Inventory
Central Inventory     : /oradev/R12_app/apps/tech_st/10.1.2/inventory
   from               : /etc/oraInst.loc
OUI location          : /oradev/R12_app/apps/tech_st/10.1.2/oui
OUI shared library    : /oradev/R12_app/apps/tech_st/10.1.2/oui/lib/ibm_aix/liboraInstaller.so
Java location         : /oradev/R12_app/apps/tech_st/10.1.2/jre/1.4.2/bin/java
Log file location     : /oradev/R12_app/apps/tech_st/10.1.2/.patch_storage//*.log

Creating log file "/oradev/R12_app/apps/tech_st/10.1.2/.patch_storage/LsInventory__11-04-2014_14-24-29.log"

Result:

There is no Interim Patch

OPatch succeeded.
[oradev@ERPDEV[/oradev]#


These steps will be applicable also for 10.1.3 ORACLE_HOME of EBS R12 Instance.

thanks for reading.

regards,
X A H  E E R

Comments

Blogger said…
Look at the way my acquaintance Wesley Virgin's autobiography launches with this shocking and controversial video.

Wesley was in the army-and soon after leaving-he revealed hidden, "MIND CONTROL" secrets that the CIA and others used to get anything they want.

As it turns out, these are the exact same methods many celebrities (notably those who "became famous out of nothing") and top business people used to become wealthy and famous.

You probably know that you utilize only 10% of your brain.

That's really because the majority of your BRAINPOWER is UNCONSCIOUS.

Maybe that thought has even occurred INSIDE your very own head... as it did in my good friend Wesley Virgin's head 7 years back, while riding a non-registered, beat-up garbage bucket of a vehicle with a suspended driver's license and with $3 on his banking card.

"I'm very frustrated with living paycheck to paycheck! Why can't I become successful?"

You took part in those thoughts, isn't it right?

Your success story is waiting to happen. Go and take a leap of faith in YOURSELF.

WATCH WESLEY SPEAK NOW
Anonymous said…
Thanks for this Trouble shooting steps

Popular posts from this blog

Disable Firewall on Oracle Linux 8

In this blogpost we will see how we can stop/disable the firewall on Oracle Linux 8, the firewall command is same in both linux 7 an linux 8. The below listed is the procedure for stopping and disabling the  firewall on Oracle Linux 8. - Here we can see the firewall deamon in active state - Here when we stop the firewall in previous command, now the firewall daemon is dead - For permanent disabling the firewall on server, we can use "disable" option The following commands will be helpful: #systemctl status firewalld #systemctl stop firewalld #systemctl disable firewalld #systemctl enable firewalld #systemctl start firewalld Hope it helps !! Thanks for reading :) regards, X A H E E R

Enable Desktop on Oracle Solaris 11.4

Oracle Solaris 11 installation has multiple options to choose for installation of an Operating Environment, but mostly Oracle Solaris text install media is used and this installation media doesn't offer the GUI Desktop Environment by default after the installation. This blog post will explain how we can enable the desktop for Oracle Solaris 11.4 operating system, after the completion of installation. We have to install "solaris-desktop" package and reboot the machine and GUI desktop will be enabled for the Operating System. In this blog post my virtual machine is connected to the internet and hence I am able to use available pupblic repository for package installation, if in case internet is not available for the server/machine then we have configure the local/Server  repository for the installation. Follow the below steps for desktop package installation: After installation of dekstop package we are now able to login with GUI desktop environment...

Oracle Applications R12.2 Installation on Linux using virtual box

Oracle E-Business suite R12.2 is released a month ago. I received too many requests from my followers to demonstrate this Installation. This is a step by step detailed article for Installing Oracle E-business suite R12,2 on Oracle Enterprise Linux 5.7 (64-bit). I've used oracle virtual box for Installing Linux. Note:  This Installation is demonstrated on virtual machine with 8GB RAM and Installation completed in 7 hours. I am not sure whether this Installation will work with less than this .  My Virtual Machine configuration: CPU    = 1 core RAM   = 8 GB HDD   =  380 GB Software's Required: 1) Oracle Virtual Box 2) Oracle Enterprise Linux 5.7 (64-bit) 3) Oracle E-Business suite R12.2 for LinuxX86-64-bit Installation Steps: Hardware requirements Create virtual machine and Install operating system Operating System pre-requisites Prepare Stage Area Install Oracle EBS R12.2 software Verify Insta...