Opatch in newly installed environment: Opatch version check failed (Doc ID 2186039.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms


Opatch fails:

# /u01/app/11.2.0/grid/OPatch/opatch auto /tmp/23615403

Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /tmp -patchn 23615403 -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params

This is the main log file: /u01/app/11.2.0/grid/cfgtoollogs/opatchauto2016-09-20_14-15-11.log

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2016-09-20_14-15-11.report.log

2016-09-20 14:15:11: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params


OPatch is bundled with OCM, Enter the absolute OCM response file path:
/u01/app/11.2.0/grid/OPatch/ocm/ocm.rsp
The opatch minimum version check for patch /tmp/23615403/23054359 failed for /u01/app/11.2.0/grid
The opatch minimum version check for patch /tmp/23615403/23054319 failed for /u01/app/11.2.0/grid
The opatch minimum version check for patch /tmp/23615403/22502505 failed for /u01/app/11.2.0/grid
Opatch version check failed for oracle home /u01/app/11.2.0/grid
Opatch version check failed
ERROR: update the opatch version for the failed homes and retry

opatch auto failed.

 

UtilSession failed: IPMRWServices::verifyPatchStorageDirectory() cannot read or write to /u01/app/grid/product/11.2.0/grid/.patch_storage

 

Opatch version details:

grid@node11:/u01/app/11.2.0/grid/OPatch$ opatch version
OPatch Version: 11.2.0.3.15

OPatch succeeded.

oracle@node11:/u01/app/oracle/product/11.2.0/db_1/OPatch$ opatch version
OPatch Version: 11.2.0.3.15

OPatch succeeded.

 

Changes

Applying a patch in a new cluster

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