"opatchauto apply -nonrolling" Fails: checkSpfFile: line 3: [: too many arguments

(Doc ID 2189965.1)

Last updated on OCTOBER 06, 2016

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.



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