"There is no read or write permission to ORACLE_HOME" Running Opatch While Applying a OIM Patch
(Doc ID 1526011.1)
Last updated on FEBRUARY 28, 2018
Applies to:Identity Manager - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
**Checked for Relevance on 25-Jul-2014**
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 # 22.214.171.124.10
Copyright (c) 2012, Oracle Corporation. All rights reserved.
Oracle Home : /export/home/oracle/Oracle/Middleware/Oracle_IDM1
Central Inventory : /home/oracle/app/oraInventory
from : /export/home/oracle/Oracle/Middleware/Oracle_IDM1/oraInst.loc
OPatch version : 126.96.36.199.10
OUI version : 188.8.131.52.0
Log file location : /export/home/oracle/Oracle/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 "/export/home/oracle/Oracle/Middleware"
Applying interim patch '13399365' to OH '/export/home/oracle/Oracle/Middleware/Oracle_IDM1'
Verifying environment and performing prerequisite checks...
List of Homes on this system:
Home name= Ora11g_dbhome1, Location= "/home/oracle/app/oracle/product/11.2.0/dbhome_1"
Home name= OH1686209508, Location= "/home/oracle/Oracle/Middleware/oracle_common"
Home name= OH1221657756, Location= "/home/oracle/Oracle/Middleware/Oracle_OSB1"
Home name= OH1221542467, Location= "/home/oracle/Oracle/Middleware/Oracle_SOA1"
Home name= OH1221850576, Location= "/home/oracle/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 /export/home/oracle/Oracle/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: /export/home/oracle/Oracle/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
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!