My Oracle Support Banner

"There is no read or write permission to ORACLE_HOME" Running Opatch While Applying a OIM Patch (Doc ID 1526011.1)

Last updated on JANUARY 31, 2022

Applies to:

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

Symptoms

When trying to apply an upgrade using opatch and see an error similar to the following which indicates that the specified ORACLE_HOME cannot be found in the central inventory:

 ==============================================

Temporary Patch Installer of Oracle version # 11.1.0.9.10
Copyright (c) 2012, Oracle Corporation. All rights reserved.


Oracle Home       : $OIM_INSTALL_HOME/Middleware/Oracle_IDM1
Central Inventory : $DB_INSTALL_HOME/app/oraInventory
 from           : $OIM_INSTALL_HOME/Middleware/Oracle_IDM1/oraInst.loc
OPatch version    : 11.1.0.9.10
OUI version       : 11.1.0.9.0
Log file location : $OIM_INSTALL_HOME/Middleware/Oracle_IDM1/cfgtoollogs/opatch/13399365_Jan_31_2013_06_10_01/apply2013-01-31_06-10-01AM_1.log


OPatch detects the Middleware Home as "$OIM_INSTALL_HOME/Middleware"

Applying interim patch '13399365' to OH '$OIM_INSTALL_HOME/Middleware/Oracle_IDM1'
Verifying environment and performing prerequisite checks...
List of Homes on this system:

Home name= Ora11g_dbhome1, Location= "$DB_INSTALL_HOME/app/oracle/product/11.2.0/dbhome_1"
Home name= OH1686209508, Location= "$DB_INSTALL_HOME/Oracle/Middleware/oracle_common"
Home name= OH1221657756, Location= "$DB_INSTALL_HOME/Oracle/Middleware/Oracle_OSB1"
Home name= OH1221542467, Location= "$DB_INSTALL_HOME/Oracle/Middleware/Oracle_SOA1"
Home name= OH1221850576, Location= "$DB_INSTALL_HOME/Oracle/Middleware/Oracle_IDM1"
[ Error during Oracle Home discovery Phase]. Detail: OPatchSession no puede cargar el inventario para el directorio raíz de Oracle proporcionado $OIM_INSTALL_HOME/Middleware/Oracle_IDM1. Las posibles causas son:
There is no read or write permission to ORACLE_HOME / .patch_storage
Another instance of OUI has blocked the central inventory
There is no read permission to Central Inventory
The lock file exists in ORACLE_HOME / .patch_storage
The Oracle raíz directory does not exist in the central inventory

[ Error during Oracle Home discovery Phase]. Detail: OPatch ha fallado: ApplySession failed to prepare the system. OracleHomeInventory gets null oracleHomeInfo
Log file location: $OIM_INSTALL_HOME/Middleware/Oracle_IDM1/cfgtoollogs/opatch/13399365_Jan_31_2013_06_10_01/apply2013-01-31_06-10-01AM_1.log

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

OPatch failed with error code 22

===================

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.