2 qq 25096021 qq_25096021 于 2015.07.10 13:12 提问

sonar安装,启动问题,在线等大神

sonar启动不了
日志:
2015.07.10 08:59:58 ERROR web[o.a.c.h.Http11Protocol] Failed to initialize end point associated with ProtocolHandler ["http-bio-0.0.0.0-9000"]
java.net.BindException: Address already in use /0.0.0.0:9000
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:411) ~[tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:640) ~[tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:434) ~[tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.connector.Connector.initInternal(Connector.java:978) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:813) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:341) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:61) [sonar-server-4.5.4.jar:na]
at org.sonar.server.app.WebServer.start(WebServer.java:40) [sonar-server-4.5.4.jar:na]
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:77) [sonar-process-4.5.4.jar:na]
at org.sonar.server.app.WebServer.main(WebServer.java:65) [sonar-server-4.5.4.jar:na]
Caused by: java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method) ~[na:1.6.0_43]
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383) ~[na:1.6.0_43]
at java.net.ServerSocket.bind(ServerSocket.java:328) ~[na:1.6.0_43]
at java.net.ServerSocket.(ServerSocket.java:194) ~[na:1.6.0_43]
at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:55) ~[tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:401) ~[tomcat-embed-core-7.0.54.jar:7.0.54]
... 15 common frames omitted
2015.07.10 08:59:58 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-7.0.54.jar:7.0.54]
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559) ~[tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:813) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:341) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:61) [sonar-server-4.5.4.jar:na]
at org.sonar.server.app.WebServer.start(WebServer.java:40) [sonar-server-4.5.4.jar:na]
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:77) [sonar-process-4.5.4.jar:na]
at org.sonar.server.app.WebServer.main(WebServer.java:65) [sonar-server-4.5.4.jar:na]
Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
at org.apache.catalina.connector.Connector.initInternal(Connector.java:980) ~[tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-7.0.54.jar:7.0.54]
... 10 common frames omitted
Caused by: java.net.BindException: Address already in use /0.0.0.0:9000
at org.apache.catalina.connector.Connector.initInternal(Connector.java:978) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:813) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:341) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:61) [sonar-server-4.5.4.jar:na]
at org.sonar.server.app.WebServer.start(WebServer.java:40) [sonar-server-4.5.4.jar:na]
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:77) [sonar-process-4.5.4.jar:na]
at org.sonar.server.app.WebServer.main(WebServer.java:65) [sonar-server-4.5.4.jar:na]
Caused by: java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method) ~[na:1.6.0_43]
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383) ~[na:1.6.0_43]
at java.net.ServerSocket.bind(ServerSocket.java:328) ~[na:1.6.0_43]
at java.net.ServerSocket.(ServerSocket.java:194) ~[na:1.6.0_43]
at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:55) ~[tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:401) ~[tomcat-embed-core-7.0.54.jar:7.0.54]
... 15 common frames omitted
2015.07.10 08:59:58 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-7.0.54.jar:7.0.54]
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559) ~[tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:813) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:341) [tomcat-embed-core-7.0.54.jar:7.0.54]
at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:61) [sonar-server-4.5.4.jar:na]
at org.sonar.server.app.WebServer.start(WebServer.java:40) [sonar-server-4.5.4.jar:na]
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:77) [sonar-process-4.5.4.jar:na]
at org.sonar.server.app.WebServer.main(WebServer.java:65) [sonar-server-4.5.4.jar:na]
Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
at org.apache.catalina.connector.Connector.initInternal(Connector.java:980) ~[tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) [tomcat-embed-core-7.0.54.jar:7.0.54]
... 10 common frames omitted
Caused by: java.net.BindException: Address already in use /0.0.0.0:9000
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:411) ~[tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:640) ~[tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:434) ~[tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119) ~[tomcat-embed-core-7.0.54.jar:7.0.54]
at org.apache.catalina.connector.Connector.initInternal(Connector.java:978) ~[tomcat-embed-core-7.0.54.jar:7.0.54]
... 11 common frames omitted

有大神能看懂,这是什么问题吗(我看日志中有tomcat,我之前装过,就是直接解压zip压缩包到安装路径,然后配置环境变量,但最后说不用tomcat也能启动,我就把解压完的程序包给删了,ps -ef|grep tomcat,也没有tomcat进程,为什么日志中还有tomcat???,是tomcat没卸载玩吗?在线等大神)

2个回答

u012216727
u012216727   Ds   Rxr 2015.07.10 13:47

我想知道sonar是什么,它和那个编辑乐器是什么关系,还是说什么关系也没有

oyljerry
oyljerry   Ds   Rxr 2015.07.11 22:38

地址已经被占用,9000端口,估计已经启动一个程序实例了。

Csdn user default icon
上传中...
上传图片
插入图片