Dbstart And Dbshut Scripts Return ''Test: Argument Expected'' Error (Doc ID 369923.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.2 and later
Oracle Solaris on SPARC (64-bit)
***Checked for relevance on 07-Dec-2016***


Symptoms

Setup automated database startup/shutdown using dbstart/dbshut scripts but error is returned from call to dbora script.

Whenever /etc/init.d/dbora is invoked, the dbstart and dbshut return the error:
" ../bin/dbshut: test: argument expected "

A similar issue may result in errors such as:   ORACLE_HOME=<path to ORACLE_HOME>: is not an identifier

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