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 JANUARY 27, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms