Scenario :
=========
While running opatch lsinventory we get the following error in db Tier
Error :
======
$ opatch lsinventory
Invoking OPatch 11.1.0.6.2
Oracle Interim Patch Installer version 11.1.0.6.2
Copyright (c) 2007, Oracle Corporation. All rights reserved.
Oracle Home : /test/oracledb/db/tech_st/11.1.0
Central Inventory : /testapps/apps/tech_st/10.1.2/oraInventory
from : /etc/oraInst.loc
OPatch version : 11.1.0.6.2
OUI version : 11.1.0.7.0
OUI location : /test/oracledb/db/tech_st/11.1.0/oui
Log file location : /test/oracledb/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2013-04-04_15-47-50PM.log
List of Homes on this system:
Home name= TEST_WEBOH__testapps_apps_tech_st_10_1_3, Location= "/testapps/apps/tech_st/10.1.3"
Home name= TEST_TOOLS__testapps_apps_tech_st_10_1_2, Location= "/testapps/apps/tech_st/10.1.2"
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
Oracle Home dir. path does not exist in Central Inventory
Oracle Home is a symbolic link
Oracle Home inventory is corrupted
LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo
OPatch failed with error code 73
Reason :
======
The Central Inventory is pointing to Wrong location and also the path inside the Inventory may points to PROD. So just change the inventory location to point to TEST and also check whether it presents.
Solution:
=========
Change the Location points to TEST in the following
$ cat /etc/oraInst.loc
/test/oracledb/db/tech_st/11.1.0/admin/oui/TEST_test/oraInventory
$ pwd
/test/oracledb/db/tech_st/11.1.0/admin/oui/TEST_test/oraInventory/ContentsXML
$ cat inventory.xml_bkp |grep PROD
Change the following path points to TEST
$ cat inventory.xml |grep PROD
Reference Note id:
=================
OPatch Fails With "LsInventorySession failed:OracleHomeInventory gets null oracleHomeInfo" [ID 728417.1]
To create the New Inventory :
============================
Note : Please replace
No comments:
Post a Comment