opatch lsinventory & apply fail with "LsInventorySession failed: null" and "UtilSession failed: null" OPatch failed with error code 73
(Doc ID 3037733.1)
Last updated on AUGUST 05, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
OPatch lsinv fails with below error-
oracle@test:~$ opatch lsinv
Oracle Interim Patch Installer version 12.2.0.1.42
Copyright (c) 2024, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/19c/dbhome_1
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/19c/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.42
OUI version : 12.2.0.7.0
Log file location : /u01/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2024-07-05_16-27-50PM_1.log
Lsinventory Output file location : /u01/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2024-07-05_16-27-50PM.txt
--------------------------------------------------------------------------------
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: null
OPatch failed with error code 73
Also, OPatch apply fails with below error-
oracle@test:…C/patch19_23/36233126/36233263$ opatch apply
Oracle Interim Patch Installer version 12.2.0.1.42
Copyright (c) 2024, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/19c/dbhome_1
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/19c/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.42
OUI version : 12.2.0.7.0
Log file location : /u01/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2024-07-03_21-43-46PM_1.log
Verifying environment and performing prerequisite checks...
UtilSession failed: null
OPatch failed with error code 73
Changes
Error Message aspects all verified -
1. No Soft Link in any Directory of Oracle Home Path
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 |
Changes |
Cause |
Solution |