The opatchauto fails With "checkSpfFile: Line 3: [: Too Many Arguments" on the standby environment. (Doc ID 2185289.1)

Last updated on SEPTEMBER 29, 2016

Applies to:

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

Symptoms

The opatchauto fails with "checkSpfFile: line 3: [: too many arguments" on the physical standby environment.

The opatchauto log shows the following errors :

2016-08-27 09:11:27,506 INFO [1] com.oracle.cie.common.util.reporting.CommonReporter - Reporting console output : Message{id='null', message='Command: /bin/sh -c '/opt/oracle/product/12.1.0.2/db_1/cfgtoollogs/opatchautodb/checkSpfFile'
Failure summary:
/opt/oracle/product/12.1.0.2/db_1/cfgtoollogs/opatchautodb/checkSpfFile: line 3: [: too many arguments >>>>>>>>>>> checkSpfFile: line 3: [: too many arguments
Command: /bin/sh -c '/opt/oracle/product/12.1.0.2/db_1/cfgtoollogs/opatchautodb/checkSpfFile'
Failure summary:
/opt/oracle/product/12.1.0.2/db_1/cfgtoollogs/opatchautodb/checkSpfFile: line 3: [: too many arguments

2016-08-27 09:11:27,506 INFO [1] com.oracle.cie.common.util.reporting.CommonReporter - Reporting console output : Message{id='null', message='OPATCHAUTO-72053: Analysis for the patches failed.
OPATCHAUTO-72053: Command execution failed.
OPATCHAUTO-72053: Please check the summary for more details.'}

 

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