"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 12.1.0.1 to 12.1.0.2 [Release 12.1]
Oracle Database - Enterprise Edition - Version 12.1.0.1 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.

Symptoms

 "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 : 12.1.0.1.9    <--(***) OPatchauto version is less than 12.1.0.1.11

:

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.

 

Cause

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