While Applying Patch Failed With The Error: OPatch failed: ApplySession failed to prepare the system. OracleHomeInventory gets null oracleHomeInfo (Doc ID 2155402.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Access Manager - Version 11.1.1.3.0 and later
Information in this document applies to any platform.

Symptoms

While applying interim patch, it failed with the following error:

[ Error during Oracle Home discovery Phase]. Detail: OPatchSession cannot load inventory for the given Oracle Home \oracle\product\11.1.1\as_1. 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

[ Error during Oracle Home discovery Phase]. Detail: OPatch failed: ApplySession failed to prepare the system. OracleHomeInventory gets null oracleHomeInfo Log file location: C:\oracle\product\11.1.1\as_1\xxx.log

Recommended actions: Please make sure no other OPatch or OUI processes is running. Try running $ORACLE_HOME/oui/bin/runInstsaller.

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