Applications Management Plugin (AMP) OPatch Application Fails With 'Error during Oracle Home discovery Phase' 'OPatchSession cannot load inventory' and 'Central Inventory is locked by another OUI instance'

(Doc ID 2212433.1)

Last updated on DECEMBER 19, 2016

Applies to:

Application Management Pack for Oracle E-Business Suite - Version and later
Information in this document applies to any platform.


E-Business Suite Applications Management Pack, Patch Application Issues


Applications Management Pack (AMP) plugin opatch session fails with following errors:

 opatch apply -oh $PLUGIN_HOME
Oracle Interim Patch Installer version
Copyright (c) 2016, Oracle Corporation. All rights reserved.

Oracle Home : /applmgr/agent/12c/plugins/oracle.apps.ebs.agent.plugin_12.
Central Inventory : /etc/oraInventory
  from : /applmgr/agent/12c/plugins/oracle.apps.ebs.agent.plugin_12.
OPatch version :
OUI version :
Log file location : /applmgr/agent/12c/plugins/oracle.apps.ebs.agent.plugin_12.

Applying interim patch '22368302' to OH '/swpkg/applmgr/agent/12c/plugins/oracle.apps.ebs.agent.plugin_12.'
Verifying environment and performing prerequisite checks...
[ Error during Oracle Home discovery Phase]. Detail: OPatchSession cannot load inventory for the given Oracle Home /applmgr/agent/12c/plugins/oracle.apps.ebs.agent.plugin_12. 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. Unable to create patchObject
Possible causes are:
  ORACLE_HOME/inventory/oneoffs/8999551 is corrupted.
  No read permission to above directory
Please remove one-off entry [ 8999551 ] from /applmgr/agent/12c/plugins/oracle.apps.ebs.agent.plugin_12. and retry if above directory corrupted, or Please check the contents of the directory ORACLE_HOME/inventory/oneoffs/8999551 for read permission
Log file location: /applmgr/agent/12c/plugins/oracle.apps.ebs.agent.plugin_12.


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