./sonar.sh 在 ubuntu 上启动,但不启动声纳服务器
问题描述:
我已经使用 wget 从 sonar 下载了声纳 3.5.1 "http://dist.sonar.codehaus.org/sonar-3.5.1.zip"命令.然后我使用 unzip sonar-3.5.1.zip
命令解压.但是当我尝试使用sudo ./sonar.sh start"启动声纳时,出现错误:
I have downloaded sonar 3.5.1 from sonar using wget "http://dist.sonar.codehaus.org/sonar-3.5.1.zip" command. Then I unziped using unzip sonar-3.5.1.zip
command. But when I tried to start sonar using "sudo ./sonar.sh start", I got the error:
.../sonar-3.5.1/bin/linux-x86-64/./wrapper:Syntax error: "(" unexpected
Failed to start sonar.
我可以知道任何人的原因.
May I know the reason by anyone.
uname -a,
Linux ocrfrt 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:32:08 UTC 2012 i686 i686 i686 GNU/Linux
答
请试试这个命令:
sh sonar.sh start