Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
[ora@oracle OPatch]$ opatch lsinventory
Oracle Interim Patch Installer version 12.1.0.1.3
Copyright (c) 2019, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/db/tech_st/12.1.0.2
Central Inventory : /u01/app/db/oraInventory
from : /u01/app/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 : /u01/app/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
[ora@oracle ~]$ cd $ORACLE_HOME/oui/bin
[ora@oracle bin]$ pwd
/u01/app/db/tech_st/12.1.0.2/oui/bin
[ora@oracle bin]$ vi attachHome.sh
[ora@oracle bin]$ ./attachHome.sh
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 8191 MB Passed
The inventory pointer is located at /etc/oraInst.loc
'AttachHome' was successful.
Retest issue.
[ora@oracle OPatch]$ opatch lsinventory
Issue has been resolved.
No comments:
Post a Comment