Running an script fails with SyntaxError: invalid syntax

(Doc ID 2102935.1)

Last updated on FEBRUARY 10, 2016

Applies to:

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


 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.


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