My Oracle Support Banner

OUD - The OPatch Utility Fails with an Error: "OPatch failed with error code 73" (Doc ID 2400319.1)

Last updated on FEBRUARY 15, 2023

Applies to:

Oracle Unified Directory - Version 11.1.2.3.0 to 12.2.1.4.0 [Release 11g to 12c]
Information in this document applies to any platform.

Symptoms

Unable run Opatch utility in OUD installation, this fails with error code 73

 

Symptom:1

Oracle Interim Patch Installer version 11.1.0.12.9
Copyright (c) 2018, Oracle Corporation. All rights reserved.

Oracle Home :  $OUD_HOME
Central Inventory : /oraInventory
  from : $OUD_HOME/oraInst.loc
OPatch version : 11.1.0.12.9
OUI version : 11.1.0.11.0
Log file location : $OUD_HOME/cfgtoollogs/opatch/opatch2018-05-15_13-06-22PM_1.log

List of Homes on this system:

  Home name= OraHome1, Location= "$OUD_HOME/agent12c/plugins/oracle.oud.odir.agent.plugin_12.1.0.2.0"
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

 

Symptom 2

12c example opatch failure:
...
OPatch/opatch lsinventory
Oracle Interim Patch Installer version 13.9.4.2.0
Copyright (c) 2023, Oracle Corporation. All rights reserved.

Oracle Home : <oracle_home>
Central Inventory : <path>/oraInventory
from : /<path>/oraInst.loc
OPatch version : 13.9.4.2.0
OUI version : 13.9.4.0.0
Log file location : /<path>/cfgtoollogs/opatch/opatch2023-02-03_15-07-14PM_1.log

OPatch detects the Middleware Home as "<path>"

LsInventorySession failed: OPatch failed to locate Central Inventory.
Possible causes are:
The Central Inventory is corrupted
The oraInst.loc file specified is not valid.

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
References


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