SonarQube 4.5.1失败了"包装"抱怨

时间:2014-10-30 18:56:45

标签: sonarqube

http://docs.codehaus.org/display/SONAR/Setup+and+Upgrade的SonarQube文档之后,我尝试运行sonarqube,但遇到了意外错误:

[bdunn@va-play-bdunn101 local]$ sudo sonarqube/bin/macosx-universal-64/sonar.sh console
Running SonarQube...
sonarqube/bin/macosx-universal-64/sonar.sh: line 410: /usr/local/sonarqube-4.5.1/bin/macosx-universal-64/./wrapper: cannot execute binary file

我确认了wrapper.conf文件中java的路径是正确的。

看着sonar.sh,我看到了:

403    console() {
404        echo "Running $APP_LONG_NAME..."
405        getpid
406        if [ "X$pid" = "X" ]
407        then
408            # The string passed to eval must handles spaces in paths correctly.
409            COMMAND_LINE="$CMDNICE \"$WRAPPER_CMD\" \"$WRAPPER_CONF\" wrapper.syslog.ident=$APP_NAME wrapper.pidfile=\"$PIDFILE\" $ANCHORPROP $LOCKPROP"
410            eval $COMMAND_LINE
411        else
412            echo "$APP_LONG_NAME is already running."
413            exit 1
414        fi
415    }

我明白这一点:

[bdunn@va-play-bdunn101 local]$ file sonarqube/bin/macosx-universal-64/wrapper 
sonarqube/bin/macosx-universal-64/wrapper: Mach-O fat file with 2 architectures

除此之外,我不确定接下来会尝试什么。

0 个答案:

没有答案