SonarQube 6.1自行停止。没开始

时间:2017-05-04 05:56:05

标签: sonarqube sonar-runner

我已经安装了Sonar qube 6.1。我已经通过执行sonar.sh start并使用sonar.sh status检查状态来启动声纳。几秒钟后,声纳通过在wrapper.log文件中写下面的语句来停止自己。请帮助我解决这个问题。

2017.05.04 07:01:13 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube-6.1/temp
2017.05.04 07:01:13 INFO  app[][o.s.p.m.JavaProcessLauncher] Launch process[es]: /usr/java/jdk1.8.0_111/jre/bin/java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djna.nosys=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=/opt/sonarqube-6.1/temp -javaagent:/usr/java/jdk1.8.0_111/jre/lib/management-agent.jar -cp ./lib/common/*:./lib/search/* org.sonar.search.SearchServer /opt/sonarqube-6.1/temp/sq-process4451619261882420874properties
2017.05.04 07:01:23 INFO  app[][o.s.p.m.Monitor] Process[es] is up
2017.05.04 07:01:23 INFO  app[][o.s.p.m.JavaProcessLauncher] Launch process[web]: /usr/java/jdk1.8.0_111/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=/opt/sonarqube-6.1/temp -javaagent:/usr/java/jdk1.8.0_111/jre/lib/management-agent.jar -cp ./lib/common/*:./lib/server/*:/opt/sonarqube-6.1/lib/jdbc/h2/h2-1.3.176.jar org.sonar.server.app.WebServer /opt/sonarqube-6.1/temp/sq-process3625744255132410453properties
2017.05.04 07:01:25 INFO  app[][o.s.p.m.Monitor] Process[es] is stopping
2017.05.04 07:01:26 INFO  app[][o.s.p.m.Monitor] Process[es] is stopped

1 个答案:

答案 0 :(得分:1)

es是ElasticSearch,它是一个为数据编制索引以加速搜索的组件。也许您的索引已损坏。您可以通过删除${SONARQUBE_HOME}/data/es/目录的内容来重建它们,然后重试。