Inventory load failed in Oracle APPS R12

Inventory load failed in Oracle APPS R12

 

Inventory load failed… OPatch cannot load inventory for the given Oracle Home in Oracle APPS R12.

 

Possible causes are:

 

oradev@oracle OPatch]$ opatch lsinventory

Oracle Interim Patch Installer version 12.1.0.1.3

Copyright (c) 2019, Oracle Corporation.  All rights reserved.

Oracle Home           : /u02/ORADEV/db/tech_st/12.1.0.2

Central Inventory    : /u02/ORADEV/db/oraInventory

from                            : /u02/ORADEV/db/tech_st/12.1.0.2/oraInst.loc

OPatch version         : 12.1.0.1.3

OUI version               : 12.1.0.2.0

Log file location        : /u02/ORADEV/db/tech_st/12.1.0.2/cfgtoollogs/opatch/opatchAM_1.log

 

List of Homes on this system :

 

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

 

Solution :

oradev@oracle ~]$ cd $ORACLE_HOME/oui/bin

oradev@oracle bin]$ pwd

/u02/ORADEV/db/tech_st/12.1.0.2/oui/bin

oradev@oracle bin]$ vi attachHome.sh

oradev@oracle bin]$ ./attachHome.sh

Starting Oracle Universal Installer…

Checking swap space: must be greater than 500 MB.   Actual 10240 MB    Passed

The inventory pointer is located at /etc/oraInst.loc

‘AttachHome’ was successful.

Retest issue.

oradev@oracle OPatch]$ opatch lsinventory

Issue has been resolved.

Recent Posts