opatch fail with distinct errors/warnings : Latest opatch Recommended

(Doc ID 2363715.1)

Last updated on MARCH 06, 2018

Applies to:

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

Symptoms

 Apply a patch to an ORACLE_HOME may results in one of the belong warnings/errors :

 

1> Prereq "checkConflictAgainstOHWithDetail" failed.
     The details are:
     Please rebuild patch xxxxxx
     Subset patch xxxxx can't overlay superset patch xxxxx
     Summary of Conflict Analysis:
     There are no patches that can be applied now.

 

2> Unable to create Patch Object.
     Exception occured : Your Oracle Home has a constituent installed without having its prereqalso installed. This is an error condition and we exit.
     The installed patch that is out of order is: xxxxxxxxx

 

3> Prereq “checkConflictAgainstOHWithDetail” failed.
     The details are:
     Patch xxxxx is a composite patch which could not be rollback.

 

4> INFO:java.io.FileNotFoundException:
     $ORACLE_HOME\.patch_storage\<PATCH_ID>_Jul_05_2012_23_51_05\scratch\work\AlertDetailsDataObject.class (Access is denied)
     INFO: at java.io.FileOutputStream.open(Native Method)

 

5> Can't locate object method "get_abs_path" via package "Apply" at $ORACLE_HOME/OPatch/perl_modules/Apply.pm line 6368.

 

6> ERROR: Interim inventory update exception: Oneoff patch xxxxxx has no base/referencer components.
     Files on system are patched but Inventory Update has failed. Please run 'opatch lsinventory' to check if the patch has been recorded in Inventory.
     Update Inventory error
     ERROR: OPatch failed because of Inventory problem.

 

7> Datapatch fail with error “Queryable inventory could not determine the current opatch status”

 

8> While applying Windows BP, opatch fail with below error :

     [Aug 9, 2017 5:37:06 AM] [INFO] The following warnings have occurred during OPatch execution:
     [Aug 9, 2017 5:37:06 AM] [INFO] 1) OUI-67124:ApplySession failed but Oracle Home has not been modified.Bad version number in .class file
     [Aug 9, 2017 5:37:06 AM] [INFO] ——————————————————————————–
     [Aug 9, 2017 5:37:06 AM] [INFO] Finishing UtilSession at Wed Aug 09 05:37:06 EDT 2017
     [Aug 9, 2017 5:37:06 AM] [INFO] Log file location: D:\oracle2\product\root6\cfgtoollogs\opatch\opatch2017-08-09_05-36-40AM_1.log
     [Aug 9, 2017 5:37:06 AM] [INFO] Stack Description: java.lang.RuntimeException: ApplySession failed but Oracle Home has not been modified.Bad version number in .class file

 

9> opatch fail as below :

     Unable to create Patch Object.
     Exception occured : Your Oracle Home has a constituent installed without having its prereqalso installed. This is an error condition and we exit. The installed patch that is out of order is: xxxxxxxxx

 

Changes

 Apply a patch to an ORACLE_HOME

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