Opatch Commands Failing with Error: "OPatch finds invalid inventory. The patch storage directory '$ORACLE_HOME\.patch_storage' is present but Standalone Inventory '$ORACLE_HOME\sainventory' is not present."
(Doc ID 1477475.1)
Last updated on JUNE 07, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.3 and laterOracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
opatch command is not taking the central Inventory lcoation and throwing the errors as listed below:
Instead of Oracle Central Inventory it is showing as Oracle Home Inventory
>opatch lsinv
Oracle Interim Patch Installer version 11.2.0.3.0
Copyright (c) 2012, Oracle Corporation. All rights reserved.
Oracle Home : D:\app\oracle\product\11.2.0.3_64_db
Oracle Home Inventory : n/a
OPatch version : 11.2.0.3.0
Product information : n/a
Log file location : D:\app\oracle\product\11.2.0.3_64_db\cfgtoollogs\opatch\opatch2012-07-24_04-33-54AM_1.log
Patch history file: D:\app\oracle\product\11.2.0.3_64_db\cfgtoollogs\opatch\opatch_history.txt
LsInventorySession failed:
OPatch finds invalid inventory. The patch storage directory 'D:\app\oracle\product\11.2.0.3_64_db\.patch_storage' is present but Standalone Inventory 'D:\app\oracle\product\11.2.0.3_64_db\sainventory' is not present.
OPatch failed with error code = 73
+++++++++++++++++
Also observed above that Instead of Oracle Central Inventory it is showing as Oracle Home Inventory .
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |