Applications Management Plugin (AMP) 12.1.0.4 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 12.1.0.4.0 and later
Information in this document applies to any platform.

Symptoms

E-Business Suite 12.1.0.4.0 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 11.1.0.10.4
Copyright (c) 2016, Oracle Corporation. All rights reserved.


Oracle Home : /applmgr/agent/12c/plugins/oracle.apps.ebs.agent.plugin_12.1.0.4.0
Central Inventory : /etc/oraInventory
  from : /applmgr/agent/12c/plugins/oracle.apps.ebs.agent.plugin_12.1.0.4.0/oraInst.loc
OPatch version : 11.1.0.10.4
OUI version : 11.1.0.12.0
Log file location : /applmgr/agent/12c/plugins/oracle.apps.ebs.agent.plugin_12.1.0.4.0/cfgtoollogs/opatch/22368302_Dec_08_2016_14_30_22/apply2016-12-08_14-30-21PM_1.log

Applying interim patch '22368302' to OH '/swpkg/applmgr/agent/12c/plugins/oracle.apps.ebs.agent.plugin_12.1.0.4.0'
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.1.0.4.0. 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.1.0.4.0/inventory/ContentsXML/comps.xml 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.1.0.4.0/cfgtoollogs/opatch/22368302_Dec_08_2016_14_30_22/apply2016-12-08_14-30-21PM_1.log

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