I'm not sure I'm reading this right, but why are you putting sh I'm front of the script?
-Flavio -----Original Message----- From: "Savvas Andreas Moysidis" <[email protected]> Sent: 1/15/2015 4:39 PM To: "[email protected]" <[email protected]> Subject: Syntax error: "(" unexpected (expecting "fi") Hello There, I have downloaded the latest Zookeeper file but when I try to run this using the following command: temp-dev/zookeeper-3.4.6/bin$ sh zkServer.sh start I am getting the following error: zkServer.sh: 81: /home/javadev/temp-dev/zookeeper-3.4.6/bin/zkEnv.sh: Syntax error: "(" unexpected (expecting "fi") I've seen a number of threads ( https://issues.apache.org/jira/browse/ZOOKEEPER-1937) all suggesting to change the shebang to #!/bin/bash but that doesn't seem to work (still gives the same error). Some info about the environment I'm using: Running lsb_release -s -d prints: Ubuntu 14.04.1 LTS and running java -version prints: java version "1.8.0_25" Any ideas? Thanks, Savvas
