Run the following to check for conlficts in $GRID_HOME or $ORACLE_HOME in RAC:

#GRID_HOME/OPatch/opatchauto apply <UNZIPPED_PATCH_LOCATION>/22646084 -analyze -ocmrf <ocm response file>

Create OCM response file if it does not exist:

Response file has two default locations:

<ORACLE_HOME>/OPatch/ocm.rsp or <ORACLE_HOME>/OPatch/ocm/bin/ocm.rsp

In this example, the response file will be created in the second default location.

As grid user:

$ cd $ORACLE_HOME/OPatch/ocm/bin
$ ./emocmrsp

Once created, verify with the following command:

$ cd $ORACLE_HOME/OPatch/
$ ls -l
..
-rw-r–r– 1 grid oinstall 621 Oct 21 15:03 ocm.rsp
Example:

[root@d00.qa.alinafe.net ~]# $GRID_HOME/OPatch/opatchauto apply ~/SCRIPTS/UPGRADE/PATCH/22646084 -analyze -ocmrf $ORACLE_HOME/OPatch/ocm.rsp

……..
WARNING: the option -ocmrf is deprecated and no longer needed. OPatch no longer checks for OCM configuration. It will be removed in a future release.
………….
[init:init] Executing OPatchAutoBinaryAction action on home /u01/app/12.1.0/grid

Executing OPatch prereq operations to verify patch applicability on RAC Home……..
Executing OPatch prereq operations to verify patch applicability on CRS Home……..
……………………

Executing prereq operations before applying on CRS Home
Executing prereq operations before applying on RAC Home
…………………………
Reason: Failed during Analysis: CheckConflictAgainstOracleHome Failed, [ Prerequisite Status: FAILED, Prerequisite output:
Summary of Conflict Analysis:

Patches that can be applied now without any conflicts are :
22502555

Following patches have conflicts. Please contact Oracle Support and get the merged patch of the patches :
21075138, 22291127

Following patches will be rolled back from Oracle Home on application of the patches in the given list :
20877664, 20476175, 19141838

Whole composite pat …
OPATCHAUTO-72053: Analysis for the patches failed.
OPATCHAUTO-72053: Command execution failed.
OPATCHAUTO-72053: Please check the summary for more details.
OPatchAuto successful.

Advertisements