My Oracle Support Banner

Running an ovm_shell.sh script fails with SyntaxError: invalid syntax (Doc ID 2102935.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle VM - Version 3.0.1 and later
Private Cloud Appliance - Version 1.0.1 and later
Linux x86-64

Symptoms

 When using a conditional or iterative statement in an ovm_shell script, e.g. a for "loop" or an "if" statement, the commands after the conditional statement fails with the following kind of exception :

 running the command outside of the for statement does succeed, so syntax doesn't appear invalid at first glance.

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


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