--> Wrapper Started as Console
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.java
2016.12.26 19:08:41 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[search]: C:\Program Files\Java\jdk1.7.0_79\jre\bin\java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=G:\sonarqube-5.2\temp -cp ./lib/common/*;./lib/search/* org.sonar.search.SearchServer C:\Users\123\AppData\Local\Temp\sq-process8416848714671865444properties
2016.12.26 19:08:42 INFO es[o.s.p.ProcessEntryPoint] Starting search
2016.12.26 19:08:42 INFO es[o.s.s.SearchSettings] Elasticsearch listening on 127.0.0.1:9001
2016.12.26 19:08:42 INFO es[o.elasticsearch.node] [sonar-1482750521244] version[1.7.2], pid[17928], build[e43676b/2015-09-14T09:49:53Z]
2016.12.26 19:08:42 INFO es[o.elasticsearch.node] [sonar-1482750521244] initializing ...
2016.12.26 19:08:42 INFO es[o.e.plugins] [sonar-1482750521244] loaded [], sites []
2016.12.26 19:08:42 INFO es[o.elasticsearch.env] [sonar-1482750521244] using [1] data paths, mounts [[?? (G:)]], net usable_space [42.1gb], net total_space [130gb], types [NTFS]
2016.12.26 19:08:44 WARN es[o.e.bootstrap] JNA not found. native methods will be disabled.
2016.12.26 19:08:44 INFO es[o.elasticsearch.node] [sonar-1482750521244] initialized
2016.12.26 19:08:44 INFO es[o.elasticsearch.node] [sonar-1482750521244] starting ...
2016.12.26 19:08:45 INFO es[o.e.transport] [sonar-1482750521244] bound_address {inet[/127.0.0.1:9001]}, publish_address {inet[/127.0.0.1:9001]}
2016.12.26 19:08:45 INFO es[o.e.discovery] [sonar-1482750521244] sonarqube/k0YA_VxKT3SJSrPBWOLocw
2016.12.26 19:08:48 INFO es[o.e.cluster.service] [sonar-1482750521244] new_master [sonar-1482750521244][k0YA_VxKT3SJSrPBWOLocw][LIFeForYoung][inet[/127.0.0.1:9001]]{rack_id=sonar-1482750521244}, reason: zen-disco-join (elected_as_master)
2016.12.26 19:08:48 INFO es[o.elasticsearch.node] [sonar-1482750521244] started
2016.12.26 19:08:48 INFO es[o.e.gateway] [sonar-1482750521244] recovered [0] indices into cluster_state
2016.12.26 19:08:48 INFO app[o.s.p.m.Monitor] Process[search] is up
2016.12.26 19:08:48 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[web]: C:\Program Files\Java\jdk1.7.0_79\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx768m -Xms256m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=G:\sonarqube-5.2\temp -cp ./lib/common/*;./lib/server/*;G:\sonarqube-5.2\lib\jdbc\h2\h2-1.3.176.jar org.sonar.server.app.WebServer C:\Users\123\AppData\Local\Temp\sq-process48341410542191902properties
2016.12.26 19:08:49 INFO web[o.s.p.ProcessEntryPoint] Starting web
2016.12.26 19:08:49 INFO web[o.s.s.app.Webapp] Webapp directory: G:\sonarqube-5.2\web
2016.12.26 19:08:50 INFO web[o.a.c.h.Http11NioProtocol] Initializing ProtocolHandler ["http-nio-0.0.0.0-9000"]
2016.12.26 19:08:50 ERROR web[o.a.c.h.Http11NioProtocol] Failed to initialize end point associated with ProtocolHandler ["http-nio-0.0.0.0-9000"]
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method) ~[na:1.7.0_79]
at sun.nio.ch.Net.bind(Net.java:444) ~[na:1.7.0_79]
at sun.nio.ch.Net.bind(Net.java:436) ~[na:1.7.0_79]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214) ~[na:1.7.0_79]
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[na:1.7.0_79]
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:343) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:730) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:457) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:120) [tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.connector.Connector.initInternal(Connector.java:960) [tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:567) [tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851) [tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139) [tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:340) [tomcat-embed-core-8.0.18.jar:8.0.18]
at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:61) [sonar-server-5.2.jar:na]
at org.sonar.server.app.WebServer.start(WebServer.java:40) [sonar-server-5.2.jar:na]
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:77) [sonar-process-5.2.jar:na]
at org.sonar.server.app.WebServer.main(WebServer.java:66) [sonar-server-5.2.jar:na]
2016.12.26 19:08:50 ERROR web[o.a.c.c.StandardService] Failed to initialize connector [Connector[HTTP/1.1-9000]]
org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-9000]]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106) [tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:567) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851) [tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139) [tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:340) [tomcat-embed-core-8.0.18.jar:8.0.18]
at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:61) [sonar-server-5.2.jar:na]
at org.sonar.server.app.WebServer.start(WebServer.java:40) [sonar-server-5.2.jar:na]
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:77) [sonar-process-5.2.jar:na]
at org.sonar.server.app.WebServer.main(WebServer.java:66) [sonar-server-5.2.jar:na]
Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
at org.apache.catalina.connector.Connector.initInternal(Connector.java:962) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-8.0.18.jar:8.0.18]
... 10 common frames omitted
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method) ~[na:1.7.0_79]
at sun.nio.ch.Net.bind(Net.java:444) ~[na:1.7.0_79]
at sun.nio.ch.Net.bind(Net.java:436) ~[na:1.7.0_79]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214) ~[na:1.7.0_79]
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[na:1.7.0_79]
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:343) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:730) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:457) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:120) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.connector.Connector.initInternal(Connector.java:960) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
... 11 common frames omitted
2016.12.26 19:08:50 WARN web[o.s.p.ProcessEntryPoint] Fail to start web
java.lang.RuntimeException: org.apache.catalina.LifecycleException: Failed to initialize component [StandardServer[-1]]
at com.google.common.base.Throwables.propagate(Throwables.java:160) ~[guava-17.0.jar:na]
at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:64) ~[sonar-server-5.2.jar:na]
at org.sonar.server.app.WebServer.start(WebServer.java:40) [sonar-server-5.2.jar:na]
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:77) ~[sonar-process-5.2.jar:na]
at org.sonar.server.app.WebServer.main(WebServer.java:66) [sonar-server-5.2.jar:na]
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [StandardServer[-1]]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:340) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:61) ~[sonar-server-5.2.jar:na]
... 3 common frames omitted
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [StandardService[Tomcat]]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
... 6 common frames omitted
Caused by: org.apache.catalina.LifecycleException: Failed to initialize connector [Connector[HTTP/1.1-9000]]
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:574) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) ~[tomcat-embed-core-8.0.18.jar:8.0.18]
... 8 common frames omitted
2016.12.26 19:08:50 INFO app[o.s.p.m.TerminatorThread] Process[search] is stopping
2016.12.26 19:08:50 INFO es[o.s.p.StopWatcher] Stopping process
2016.12.26 19:08:50 INFO es[o.elasticsearch.node] [sonar-1482750521244] stopping ...
2016.12.26 19:08:50 INFO es[o.elasticsearch.node] [sonar-1482750521244] stopped
2016.12.26 19:08:50 INFO es[o.elasticsearch.node] [sonar-1482750521244] closing ...
2016.12.26 19:08:50 INFO es[o.elasticsearch.node] [sonar-1482750521244] closed
2016.12.26 19:08:50 INFO app[o.s.p.m.TerminatorThread] Process[search] is stopped
<-- Wrapper Stoppednode
一.多是你的這個端口被佔用。web
二.多是你的這個端口沒打開。(我就是這種狀況。)apache
在sonar.properties文件下找到 配置端口文件 打開 9000端口。bootstrap