My Oracle Support Banner

"opatchauto apply -nonrolling" Fails: checkSpfFile: line 3: [: too many arguments (Doc ID 2189965.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Standard Edition - Version to [Release 12.1]
Oracle Database - Enterprise Edition - Version to [Release 12.1]
Information in this document applies to any platform.


 "opatchauto apply -nonrolling" command fails with following messages when DB instance is down.

# opatchauto apply /XXX/XXX -ocmrf /XXX/unconfig.rsp -nonrolling
OPatch Automation Tool
Copyright (c)2014, Oracle Corporation. All rights reserved.

OPatchauto Version :    <--(***) OPatchauto version is less than


Command "/bin/bash -c
'/u01/app/oracle/product/12.1.0/dbhome_1/cfgtoollogs/oplan/checkSpfFile'" execution failed:
/u01/app/oracle/product/12.1.0/dbhome_1/cfgtoollogs/oplan/checkSpfFile: line 3: [: too many arguments


Command failure exception

opatchauto failed with error code 2.



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.