opatchauto -nonrolling Fails with Error: "0652-050 Cannot open $GRID_HOME/cfgtoollogs/oplan/spf.txt"

(Doc ID 2113856.1)

Last updated on JULY 03, 2017

Applies to:

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


Applying patch in nonrolling mode using opatchauto. Here the combo of OJVM+GI PSU (Patch 22191676) being applied  is a nonrolling patch, thus the database needs to be down before applying the patch.

opatchauto apply /grid/22191676 -ocmrf /grid/oracle/ocmresfile.rsp -nonrolling

[WARNING] The local database instance 'ORCL2' from '/u01/grid/' is not running. SQL changes, if any, will not be applied. Please refer to the log file for more details.
Command "/bin/bash -c '/u01/grid/cfgtoollogs/oplan/checkSpfFile'" execution failed:
cat: 0652-050 Cannot open /ora12c/
/u01/grid/cfgtoollogs/oplan/checkSpfFile: line 3: [: =: unary operator expected



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