My Oracle Support Banner

opatch fails due to inconsistent inventory_loc in oraInst.loc (Doc ID 2022681.1)

Last updated on NOVEMBER 15, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.2 and later
Oracle Database Cloud Schema 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
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Applying a patch with opatch auto fails with the following: 

Using configuration parameter file: /u01/app/grid/crs/install/crsconfig_params
The opatch minimum version check for patch /ora_global_nfs/software/Oracle/database/PSU/17272753/17272753/16459322 failed for /u01/app/grid
The opatch minimum version check for patch /ora_global_nfs/software/Oracle/database/PSU/17272753/17272753/17082367 failed for /u01/app/grid
Opatch version check failed for oracle home /u01/app/grid
Opatch version check failed
ERROR: update the opatch version for the failed homes and retry

 

2015-06-20 19:12:52: s_run_as_user2: Running /bin/su oracle -c ' /u01/app/grid/OPatch/opatch util checkMinimumOPatchVersion -ph /netfs/ora/vol1/u01/home/oracle/17272753/16459322 -version 11.2.0.3.11 -oh /u01/app/grid '
2015-06-20 19:12:54: Removing file /tmp/file7a0DhA
2015-06-20 19:12:54: Successfully removed file: /tmp/file7a0DhA
2015-06-20 19:12:54: /bin/su successfully executed

2015-06-20 19:12:54: The opatch minimum version check for patch /netfs/ora/vol1/u01/home/oracle/17272753/16459322 failed for /u01/app/grid
2015-06-20 19:12:54: The opatch version check failed with following error
2015-06-20 19:12:54: Oracle Interim Patch Installer version 11.2.0.3.11
Copyright (c) 2015, Oracle Corporation. All rights reserved.


Oracle Home : /u01/app/grid
Central Inventory : /u01/app/oraInventoryCRS inst_group=dba
from : /u01/app/grid/oraInst.loc
OPatch version : 11.2.0.3.11
OUI version : 11.2.0.2.0
Log file location : /u01/app/grid/cfgtoollogs/opatch/opatch2015-06-20_19-12-53PM_1.log

List of Homes on this system:

OPatchSession cannot load inventory for the given Oracle Home /u01/app/grid. Possible causes are:
No read or write permission to ORACLE_HOME/.patch_storage
Central Inventory is locked by another OUI instance
No read permission to Central Inventory
The lock file exists in ORACLE_HOME/.patch_storage
The Oracle Home does not exist in Central Inventory

UtilSession failed: OracleHomeInventory gets null oracleHomeInfo

OPatch failed with error code 73

 

"opatch lsinventory -oh <ORACLE_HOME" fails with the same: 

Oracle Home : /u01/app/grid
Central Inventory : /u01/app/oraInventoryCRS inst_group=dba
from : /u01/app/grid/oraInst.loc
OPatch version : 11.2.0.3.11
OUI version : 11.2.0.2.0
Log file location : /u01/app/grid/cfgtoollogs/opatch/opatch2015-06-20_19-56-37PM_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

  

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.