My Oracle Support Banner

OEM 13.2 Fleet Maintenance Patching Fails With sh: syntax error at line 1: `(' unexpected (Doc ID 2456035.1)

Last updated on FEBRUARY 12, 2019

Applies to:

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

Symptoms

EM 13.2 OMS

When attempting to patch a 12.1.0.2 database using Fleet Maintenance, it fails with an error:

$OMS_HOME/bin/emcli db_software_maintenance -performOperation -name="Update DB" -purpose=UPDATE_DB -target_type=oracle_database
-target_list=OEM12T -normal_credential="ORACLE_HOST_CREDENTIALS:SYSMAN" -privilege_credential="ORACLE_PRIVILEGED_CREDENTIALS:DBADMIN"

ERROR
-----------------------
The process errors out with the following message:

Directive Type is SUB_Perl
Dir to CD is /tmp/JOB_66F19A720E330412E0540010E03DFB94

Final command line to execute is $PERL_HOME/perl "/tmp/JOB_66F19A720E330412E0540010E03DFB94/startDBInstance.pl" -debug false -oh /oracle/product/12.1.0.2.180116_JVM -os OEM12T -startupdbsids -startuplisteners -startupdbcontrol -startupisqlplus -homeVersion 12.1.0.2.0 -tns_admin /oracle/network/admin ${from_rac} -parallel false -primaryDBSids -physicalStdySids -agent_db_plugin_home /oracle/product/agent12101/agent_13.2.0.0.0/plugins/oracle.sysman.db.agent.plugin_13.2.2.0.0 -cdbPdbList ${cdbPdbList} -switch_home /oracle/product/12.1.0.2.170418 -switchbackMode -db_tns_admin $(target.db_tns_admin) -startManagedRecovery=""

The output of the directive is:
sh: syntax error at line 1: `(' unexpected

Deleted temporary destination directory /tmp/JOB_66F19A720E330412E0540010E03DFB94
Process returned : 2.

 

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.