EM 11g: Opatch Fails on OMS or Agent Oracle Home with Error: OracleHomeInventory gets null oracleHomeInfo (Doc ID 1400906.1)

Last updated on MAY 29, 2015

Applies to:

Enterprise Manager Base Platform - Version 11.1.0.1 to 11.1.0.1 [Release 11.1]
Information in this document applies to any platform.

Symptoms

The Opatch commands on the 11g OMS or Management Agent Oracle Homes fail with the following error:


Oracle Interim Patch Installer version 11.1.0.9.4
Copyright (c) 2011, Oracle Corporation. All rights reserved.


Oracle Home : /oracle/OMS/Middleware/oms11g
Central Inventory : /oracle/app/oraInventory
from : /oracle/OMS/Middleware/oms11g/oraInst.loc
OPatch version : 11.1.0.9.4
OUI version : 11.1.0.8.0
Log file location : /oracle/OMS/Middleware/oms11g/cfgtoollogs/opatch/opatch2012-01-11_17-20-05PM_1.log


OPatch detects the Middleware Home as "/oracle/OMS/Middleware"

List of Homes on this system:

Home name= OraDb11g_home1, Location= "/u01/app/oracle/product/11.2.0.2/db01"
Home name= agent11g1, Location= "/oracle/OMS/Middleware/agent11g"
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

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