How to attach ebs 10.1.2 oracle home to central inventory
bash-3.2$ opatch apply
Oracle Interim Patch Installer version 126.96.36.199.64
Copyright (c) 2011 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)
Oracle Home : /a01/appstier/UAT/fs2/EBSapps/10.1.2
Oracle Home Inventory : /a01/appstier/UAT/fs2/EBSapps/10.1.2/inventory
Central Inventory : /var/opt/oracle/oraInventory
from : /var/opt/oracle/oraInst.loc
OUI location : /a01/appstier/UAT/fs2/EBSapps/10.1.2/oui
OUI shared library : /a01/appstier/UAT/fs2/EBSapps/10.1.2/oui/lib/solaris/liboraInstaller.so
Java location : /a01/appstier/UAT/fs2/EBSapps/10.1.2/jdk/jre/bin/java
Log file location : /a01/appstier/UAT/fs2/EBSapps/10.1.2/.patch_storage/<patch ID>/*.log
Creating log file “/a01/appstier/UAT/fs2/EBSapps/10.1.2/.patch_storage/18752577/Apply_18752577_11-25-2017_09-57-56.log”
The Oracle Home /a01/appstier/UAT/fs2/EBSapps/10.1.2 is not registered with the Central Inventory. OPatch was not able to get details of the home from the inventory.
ERROR: OPatch failed because of Inventory problem.
When we apply patch in oracle home, OPatch checks for the inventory to understand the patch detail which already present. It gives the error above if it does not find any patch details. Since oracle home is not registered with central inventory, opatch could nt get any of the patch details thus it threw an error. We need to attach this particular oracle home to central inventory in order to overcome this error. This is one of the method to overcome this error.
bash-3.2$ cat /var/opt/oracle/oraInst.loc
Source env file
bash-3.2$ cd $ORACLE_HOME/oui/bin/
Command to be executed :
./runInstaller -silent -attachHome -invPtrLoc /var/opt/oracle/oraInst.loc ORACLE_HOME=”/a01/appstier/UAT/fs2/EBSapps/10.1.2″ ORACLE_HOME_NAME=”UAT_TOOLS_fs2_EBSapps_10_1_2″
bash-3.2$ ./runInstaller -silent -attachHome -invPtrLoc /var/opt/oracle/oraInst.loc ORACLE_HOME=”/a01/appstier/UAT/fs2/EBSapps/10.1.2″ ORACLE_HOME_NAME=”UAT_TOOLS_fs2_EBSapps_10_1_2″
Starting Oracle Universal Installer…
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-11-25_10-27-20AM. Please wait …bash-3.2$