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 JUNE 01, 2020

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A 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 <DIR>/22191676 -ocmrf <DIR>/ocmresfile.rsp -nonrolling

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



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

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