sonarQube 包装器停止
sonarQube wrapper stopped
刚开始学习SonarQube,但是第一关遇到这个错误:
(在 windows 10 - 64 位上)
D:\sesn\sonarqube-6.7.5\bin\windows-x86-64>StartSonar.bat
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
jvm 1 |
jvm 1 | 2018.11.14 15:59:05 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory D:\sesn\sonarqube-6.7.5\temp
jvm 1 | 2018.11.14 15:59:05 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
jvm 1 | 2018.11.14 15:59:05 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [D:\sesn\sonarqube-6.7.5\elasticsearch]: C:\Program Files\Java\jre1.8.0_131\bin\java -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+AlwaysPreTouch -server -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -Djdk.io.permissionsUseCanonicalPath=true -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dlog4j.skipJansi=true -Xms512m -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=D:\sesn\sonarqube-6.7.5\elasticsearch -cp lib/* org.elasticsearch.bootstrap.Elasticsearch -Epath.conf=D:\sesn\sonarqube-6.7.5\temp\conf\es
jvm 1 | 2018.11.14 15:59:06 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
jvm 1 | 2018.11.14 15:59:06 INFO app[][o.e.p.PluginsService] no modules loaded
jvm 1 | 2018.11.14 15:59:06 INFO app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
jvm 1 | 2018.11.14 15:59:21 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
jvm 1 | 2018.11.14 15:59:21 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [D:\sesn\sonarqube-6.7.5]: C:\Program Files\Java\jre1.8.0_131\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=D:\sesn\sonarqube-6.7.5\temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*;./lib/server/*;D:\sesn\sonarqube-6.7.5\lib\jdbc\h2\h2-1.3.176.jar org.sonar.server.app.WebServer D:\sesn\sonarqube-6.7.5\temp\sq-process1230061572006055077properties
jvm 1 | 2018.11.14 15:59:23 INFO app[][o.s.a.SchedulerImpl] Process [web] is stopped
jvm 1 | 2018.11.14 15:59:23 INFO app[][o.s.a.SchedulerImpl] Process [es] is stopped
jvm 1 | 2018.11.14 15:59:23 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
wrapper | <-- Wrapper Stopped
我用的是32位版本,但也出现同样的错误。我通过网络搜索,解决方案无效。我应该怎么办?发送
似乎SonarQube的Web服务器启动失败:
Process [web] is stopped
我建议你看看/logs/web.log。
您应该在那里获得有关问题根本原因的更多信息。
我不知道为什么,但问题是因为我在后台有 JetBrains PhpStorm 运行。当我关闭它时,问题就解决了。
刚开始学习SonarQube,但是第一关遇到这个错误: (在 windows 10 - 64 位上)
D:\sesn\sonarqube-6.7.5\bin\windows-x86-64>StartSonar.bat
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
jvm 1 |
jvm 1 | 2018.11.14 15:59:05 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory D:\sesn\sonarqube-6.7.5\temp
jvm 1 | 2018.11.14 15:59:05 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
jvm 1 | 2018.11.14 15:59:05 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [D:\sesn\sonarqube-6.7.5\elasticsearch]: C:\Program Files\Java\jre1.8.0_131\bin\java -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+AlwaysPreTouch -server -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -Djdk.io.permissionsUseCanonicalPath=true -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dlog4j.skipJansi=true -Xms512m -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=D:\sesn\sonarqube-6.7.5\elasticsearch -cp lib/* org.elasticsearch.bootstrap.Elasticsearch -Epath.conf=D:\sesn\sonarqube-6.7.5\temp\conf\es
jvm 1 | 2018.11.14 15:59:06 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
jvm 1 | 2018.11.14 15:59:06 INFO app[][o.e.p.PluginsService] no modules loaded
jvm 1 | 2018.11.14 15:59:06 INFO app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
jvm 1 | 2018.11.14 15:59:21 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
jvm 1 | 2018.11.14 15:59:21 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [D:\sesn\sonarqube-6.7.5]: C:\Program Files\Java\jre1.8.0_131\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=D:\sesn\sonarqube-6.7.5\temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*;./lib/server/*;D:\sesn\sonarqube-6.7.5\lib\jdbc\h2\h2-1.3.176.jar org.sonar.server.app.WebServer D:\sesn\sonarqube-6.7.5\temp\sq-process1230061572006055077properties
jvm 1 | 2018.11.14 15:59:23 INFO app[][o.s.a.SchedulerImpl] Process [web] is stopped
jvm 1 | 2018.11.14 15:59:23 INFO app[][o.s.a.SchedulerImpl] Process [es] is stopped
jvm 1 | 2018.11.14 15:59:23 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
wrapper | <-- Wrapper Stopped
我用的是32位版本,但也出现同样的错误。我通过网络搜索,解决方案无效。我应该怎么办?发送
似乎SonarQube的Web服务器启动失败:
Process [web] is stopped
我建议你看看/logs/web.log。 您应该在那里获得有关问题根本原因的更多信息。
我不知道为什么,但问题是因为我在后台有 JetBrains PhpStorm 运行。当我关闭它时,问题就解决了。