Installation problem ([: 175: ==: unexpected operator)
Ubuntu 8.10,bash shell. I have tried to install again and i couldn't solve the problem. I could not confirm settings and installation starts all over again.
Output:
Enter Tomcat Shutdown Port (default:8005):
Using default Tomcat shutdown port => 8005
[: 175: ==: unexpected operator
Port is available
Enter Presto Admin Agent Port (default:8282):
Using default Tomcat port => 8282
=============== Please review the settings ===================
Java Home => /usr/lib/jvm/java-6-sun-1.6.0.10
Tomcat HTTP Port => 8080
Tomcat HTTPS Port => 8443
Tomcat Shutdown Port => 8005
Presto Repository Port =>
Presto Admin Agent Port => 8282
.......Confirm (y/n) ?
[: 175: ==: unexpected operator
I am running Ubuntu 8.10 and I can run ./setup.sh script just fine and get Presto up and running.
Having said that I think I know what causing problem on your box. I think when your type "./setup.sh" your OS uses /bin/sh and not bash. (On Ubuntu /bin/sh does not point to bash like on other Linuxes but to dash).
The reason I think this way because I can reproduce your problem by putting
#!/bin/sh
as a first line of setup.sh script.
Can you please try to run
bash setup.sh
instead of
./setup.sh
Try it and let me know if it works.
Like I said I run Ubuntu 8.10 and never had problems, so we get you up and running too ;)











I can't install Preto Mashup Platform. When I want to set default Tomcat Shutdown Port,I get errorr :
Using default Tomcat shutdown port => 8005
[: 175: ==: unexpected operator
Port is available
after that I can set Presto Admin Agent Port,and installation proces return to start.It is not possible to finish installation!!!!Why?