opatch prereq CheckConflict fails with Exception occured : PatchObject constructor:Input file does not exist (Doc ID 788181.1)

Last updated on JULY 12, 2017

Applies to:

Oracle Universal Installer - Version 10.2.0.3 and later
Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.
Reviewed for currency Aug-27-2012

Symptoms

Following error is reported while checking for conflict among patches which are to be applied (where one of the patches is a napply patch)

For example, which checking for conflict between two patches Patch 608154 and Patch 5892355

Patch 6081547 and Patch 5892355 are taken here as an example only, to explain the issue and they should not be applied to the Oracle Home unless it was advised by Oracle.

$ opatch prereq CheckConflictAmongPatchesWithDetail -phBaseDir $ORACLE_HOME/patches 

Invoking OPatch 10.2.0.4.6

Oracle Interim Patch Installer version 10.2.0.4.6
Copyright (c) 2009, Oracle Corporation.  All rights reserved.

PREREQ session

Oracle Home       : /opt/oracle/product/10.2.0.3
Central Inventory : /opt/oracle/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 10.2.0.4.6
OUI version       : 10.2.0.3.0
OUI location      : /opt/oracle/product/10.2.0.3/oui
Log file location : /opt/oracle/product/10.2.0.3/cfgtoollogs/opatch/opatch2009-03-30_17-22-35PM.log

Patch history file: /opt/oracle/product/10.2.0.3/cfgtoollogs/opatch/opatch_history.txt

Invoking prereq "checkconflictamongpatcheswithdetail"
Prereq "checkConflictAmongPatchesWithDetail" not executed
Unable to create Patch Object.
Exception occured : PatchObject constructor: Input file
"/opt/oracle/product/10.2.0.3/patches/6081547/etc/config/actions" or
"/opt/oracle/product/10.2.0.3/patches/6081547/etc/config/inventory" does not exist.
    
OPatch succeeded.

Changes

Would like to know whether there is any potential conflict between patches before they are applied.

For example, while checking for conflict between two patches 6081547 (napply patch) and 5892355

When Patch 6081547 was unzipped, four other patch directories are created and 6081547 is not present, even though the fix for concerned bug is included in the napply patch.


$ cd $ORACLE_HOME/patches/6081547

$ ls -l

drwxr-xr-x 4 oracle oracle 4096 Jun 22 2007 5209867
drwxr-xr-x 4 oracle oracle 4096 Mar 5 16:56 5844945
drwxr-xr-x 4 oracle oracle 4096 Mar 5 16:17 5998544
drwxr-xr-x 4 oracle oracle 4096 Jun 22 2007 6010833

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