My Oracle Support Banner

EM13C: Fleet UPDATE_DB/UPDATE_RACDB Fails In Step "Start standby database instance" With Error "sh: ${data.STANDBY_START_OPTION}: bad substitution" (Doc ID 2646755.1)

Last updated on MARCH 09, 2020

Applies to:

Enterprise Manager for Oracle Database - Version 13.2.2.0.0 and later
Information in this document applies to any platform.

Symptoms

In Enterprise Manager (EM) Cloud Control, while running UPDATE_DB/UPDATE_RACDB using Fleet Maintenance in case of non-rolling applicable patches such as OJVM, Starting the standby database from a patched home fails with error "sh: ${data.STANDBY_START_OPTION}: bad substitution"

$ emcli db_software_maintenance -performOperation -name="OH" -purpose=UPDATE_DB -target_type=oracle_database
-target_list="standby.us.oracle.com" -normal_credential="DATAGUARD:SYSMAN" -privilege_credential="DATAGUARDROOT:SYSMAN" -dataguard_role=standby
-startupDatabase=true -skipSwitchDatabase=true -input_file="data:/scratch/karththi/inputfiles/deploy_OH.prop"

Job Steps Log for Job :Start standby database instance:
-------------------------------------------------------------

Final command line to execute is $PERL_HOME/perl
"/tmp/JOB_8F4F20BA21CF1EF0E05388947B0A496C/startDBInstance.pl" -debug false -oh /u01/karthikastandby -os standby -startupdbsids -startuplisteners-startupdbcontrol -startupisqlplus -homeVersion 12.2.0.1.0 -tns_admin /u01/karthikastandby/network/admin,/u01/karthikastandby/network/admin ${from_rac} -parallel false -primaryDBSids -physicalStdySids standby -agent_db_plugin_home /u02/karth/agent_13.4.0.0.0/plugins/oracle.sysman.db.agent.plugin_13.4.1.0.0 -cdbPdbList ${cdbPdbList} -switch_home /u01/karthikastandby -switchbackMode -db_tns_admin /u01/karthikastandby/network/admin -startManagedRecovery -standbyStartOption ${data.STANDBY_START_OPTION}

The output of the directive is:
sh: ${data.STANDBY_START_OPTION}: bad substitution

Cause

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
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.