Sunday, 11 December 2011

Oracle Inventory does not exists on Application Node

Issue: Oracle Inventory does not exists on Application Node

export PATH=$ORACLE_HOME/OPatch:$PATH

$ 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

Cannot open the file: /etc/oraInst.loc

Please use -invPtrLoc option and specify the correct file for OPatch to look for central inventory.

ERROR: OPatch failed because of Inventory problem.

 

 

Solution:

 1)   Check oraInst.loc file exists in /etc

2)   If file doesnot exists then create the file and add inventory location

inventory_loc=/home/applclon/oraInventory

Set Permission to oraInst.loc file

3)   Now Run the Installer to create the inventory

$ cd $ORACLE_HOME/oui/bin

$ pwd

/apps_UAT/prodclone/apps/tech_st/10.1.2/oui/bin

./runInstaller -silent -attachHome -invPtrLoc /etc/oraInst.loc ORACLE_HOME="/apps_UAT/prodclone/apps/tech_st/10.1.2" ORACLE_HOME_NAME="applclon_apps_tech_st_10_1_2"

No comments:

Post a Comment