My Oracle Support Banner

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

Last updated on FEBRUARY 03, 2019

Applies to:

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

Symptoms

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/12.1.0.2' 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/12.1.0.2/cfgtoollogs/oplan/spf.txt.
/u01/grid/cfgtoollogs/oplan/checkSpfFile: line 3: [: =: unary operator expected

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.