Opatch Apply Fails with Error Code 20 during Oracle Home Discovery Phase (Doc ID 1631715.1)

Last updated on MAY 13, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms

 Opatch online patching fails with error code 20 during Oracle Home discovery Phase:

 

opatch apply online -connectString RACDB1:sys:test:ORACLERAC1,RACDB2:sys:test:ORACLERAC2

Oracle Interim Patch Installer version 11.2.0.3.4

Copyright (c) 2012, Oracle Corporation.  All rights reserved.

  

The patch should be applied/rolled back in '-all_nodes' mode only.

Converting the RAC mode to '-all_nodes' mode.

Applying interim patch '13984324' to OH '/u01/app/oracle/product/11.2.0.3/dbhome_7'

Verifying environment and performing prerequisite checks...

[ Error during Oracle Home discovery Phase]. Detail: OPatch failed: ApplySession failed to prepare the system. oracle/cluster/install/InstallException

Log file location: /u01/app/oracle/product/11.2.0.3/dbhome_7/cfgtoollogs/opatch/13984324_Feb_03_2014_10_20_26/apply2014-02-03_10-20-26AM_1.log

 

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

OPatch failed with error code 20 

 

In Apply log :  

[Jan 29, 2014 2:52:01 PM] [ Error during Oracle Home discovery phase ] Detail: OUI-67073:OPatch failed: ApplySession failed to prepare the system. oracle/cluster/install/InstallException
[Jan 29, 2014 2:52:01 PM] OUI-67035:System is intact, OPatch will not restore the system
[Jan 29, 2014 2:52:01 PM] Finishing ApplySession at Wed Jan 29 14:52:01 GMT 2014
[Jan 29, 2014 2:52:01 PM] Total time spent waiting for user-input is 0 seconds. Finish at Wed Jan 29 14:52:01 GMT 2014
[Jan 29, 2014 2:52:01 PM] Log file location: /u01/app/oracle/product/11.2.0.3/dbhome_7/cfgtoollogs/opatch/13984324_Jan_29_2014_14_51_55/apply2014-01-29_14-51-55PM_1.log
[Jan 29, 2014 2:52:01 PM] Stack Description: java.lang.RuntimeException: ApplySession failed to prepare the system. oracle/cluster/install/InstallException
[Jan 29, 2014 2:52:01 PM] StackTrace: oracle.sysman.oii.oiip.oiipg.OiipgClusterwareInfo.createClusterwareInfo(OiipgClusterwareInfo.java:155)
[Jan 29, 2014 2:52:01 PM] StackTrace: oracle.sysman.oii.oiip.oiipg.OiipgClusterwareInfo.getClusterwareInfo(OiipgClusterwareInfo.java:180)
[Jan 29, 2014 2:52:01 PM] StackTrace: oracle.sysman.oii.oiip.oiipg.OiipgDetectCluster.<init>(OiipgDetectCluster.java:131)
[Jan 29, 2014 2:52:01 PM] StackTrace: oracle.sysman.oii.oiip.oiipg.OiipgDetectCluster.getDetectCluster(OiipgDetectCluster.java:146)
[Jan 29, 2014 2:52:01 PM] StackTrace: oracle.opatch.Rac.getLocalNode(Rac.java:1789)
[Jan 29, 2014 2:52:01 PM] StackTrace: oracle.opatch.Rac.getInstance(Rac.java:1236)
[Jan 29, 2014 2:52:01 PM] StackTrace: oracle.opatch.ApplySession.processLocal(ApplySession.java:3758)
[Jan 29, 2014 2:52:01 PM] StackTrace: oracle.opatch.ApplySession.process(ApplySession.java:5939)
[Jan 29, 2014 2:52:01 PM] StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:2063)
[Jan 29, 2014 2:52:01 PM] StackTrace: oracle.opatch.OPatch.main(OPatch.java:613)

 

Changes

Applying an interim patch on RAC environment.

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