开发者社区> 问答> 正文

Sonar安装配置异常:配置报错 

麻烦大拿帮忙分析一下问题,感谢!
软件运行系统:Windows 2008
数据库:MySQL (Ubuntu)
问题描述:
1、已初始化服务,并成功启用服务。
2、在执行StartSonar.bat时,DOS窗口停留在如下画面无法再进行下去。

3、查看数据库,已创建完成表结构信息。
4、查看Log日志,无其他异常。

--> 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.

2015.07.02 11:07:26 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[search]: C:\Program Files\Java\jre1.8.0_45\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=D:\public\Sonar\sonarqube-5.1.1\temp -cp ./lib/common/;./lib/search/ org.sonar.search.SearchServer C:\Users\tong_cc\AppData\Local\Temp\sq-process5241316757484662449properties 2015.07.02 11:07:27 INFO es[o.s.p.ProcessEntryPoint] Starting search 2015.07.02 11:07:27 INFO es[o.s.s.SearchServer] Starting Elasticsearch[sonarqube] on port 9001 2015.07.02 11:07:27 INFO es[o.elasticsearch.node] [sonar-1435806445681] version[1.4.4], pid[6320], build[c88f77f/2015-02-19T13:05:36Z] 2015.07.02 11:07:27 INFO es[o.elasticsearch.node] [sonar-1435806445681] initializing ... 2015.07.02 11:07:27 INFO es[o.e.plugins] [sonar-1435806445681] loaded [], sites [] 2015.07.02 11:07:30 INFO es[o.elasticsearch.node] [sonar-1435806445681] initialized 2015.07.02 11:07:30 INFO es[o.elasticsearch.node] [sonar-1435806445681] starting ... 2015.07.02 11:07:30 INFO es[o.e.transport] [sonar-1435806445681] bound_address {inet[/0.0.0.0:9001]}, publish_address {inet[/10.11.69.3:9001]} 2015.07.02 11:07:30 INFO es[o.e.discovery] [sonar-1435806445681] sonarqube/DOimnxMRS3m7RyncaFv_1w 2015.07.02 11:07:33 INFO es[o.e.cluster.service] [sonar-1435806445681] new_master [sonar-1435806445681]DOimnxMRS3m7RyncaFv_1w[inet[/10.11.69.3:9001]]{rack_id=sonar-1435806445681}, reason: zen-disco-join (elected_as_master) 2015.07.02 11:07:33 INFO es[o.elasticsearch.node] [sonar-1435806445681] started 2015.07.02 11:07:34 INFO es[o.e.gateway] [sonar-1435806445681] recovered [6] indices into cluster_state 2015.07.02 11:07:35 INFO app[o.s.p.m.Monitor] Process[search] is up 2015.07.02 11:07:35 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[web]: C:\Program Files\Java\jre1.8.0_45\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx768m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=D:\public\Sonar\sonarqube-5.1.1\temp -cp ./lib/common/;./lib/server/;D:\public\Sonar\sonarqube-5.1.1\lib\jdbc\mysql\mysql-connector-java-5.1.34.jar org.sonar.server.app.WebServer C:\Users\tong_cc\AppData\Local\Temp\sq-process7519537526970170456properties 2015.07.02 11:07:36 INFO web[o.s.p.ProcessEntryPoint] Starting web 2015.07.02 11:07:37 INFO web[o.s.s.app.Webapp] Webapp directory: D:\public\Sonar\sonarqube-5.1.1\web 2015.07.02 11:07:37 INFO web[o.a.c.h.Http11NioProtocol] Initializing ProtocolHandler ["http-nio-10.11.69.3-9000"] 2015.07.02 11:07:37 INFO web[o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read 2015.07.02 11:07:38 INFO web[o.e.plugins] [sonar-1435806445681] loaded [], sites [] 2015.07.02 11:07:40 INFO web[o.s.s.p.ServerImpl] SonarQube Server / 5.1.1 / 0a231d24c0f1e7ce1d200274b8e9bbe00f9f49fb 2015.07.02 11:07:40 INFO web[o.s.c.p.Database] Create JDBC datasource for jdbc:mysql://172.18.22.154:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance 2015.07.02 11:07:42 INFO web[o.s.s.p.DefaultServerFileSystem] SonarQube home: D:\public\Sonar\sonarqube-5.1.1 2015.07.02 11:07:42 INFO web[o.s.s.p.ServerPluginJarsInstaller] Install plugins 2015.07.02 11:07:42 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin Core / 5.1.1 / 0a231d24c0f1e7ce1d200274b8e9bbe00f9f49fb 2015.07.02 11:07:42 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin Email notifications / 5.1.1 / 0a231d24c0f1e7ce1d200274b8e9bbe00f9f49fb 2015.07.02 11:07:42 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin Java / 3.0 / 65396a609ddface8b311a6a665aca92a7da694f1 2015.07.02 11:07:43 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin Git / 1.0 / 9ce9d330c313c296fab051317cc5ad4b26319e07 2015.07.02 11:07:43 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin English Pack / 5.1.1 / 0a231d24c0f1e7ce1d200274b8e9bbe00f9f49fb 2015.07.02 11:07:43 INFO web[o.s.s.p.ServerPluginJarsInstaller] Deploy plugin SVN / 1.0 / 213fc8a8b582ff530b12dd4a59a6512be1071234 2015.07.02 11:07:43 INFO web[o.s.s.p.RailsAppsDeployer] Deploy Ruby on Rails applications 2015.07.02 11:07:43 INFO web[o.s.j.s.AbstractDatabaseConnector] Initializing Hibernate 2015.07.02 11:07:45 INFO web[o.s.s.p.UpdateCenterClient] Update center: http://update.sonarsource.org/update-center.properties (no proxy) 2015.07.02 11:07:46 INFO web[o.s.s.n.NotificationService] Notification service started (delay 60 sec.) 2015.07.02 11:07:46 INFO web[o.s.s.s.IndexSynchronizer] Index rules 2015.07.02 11:07:47 INFO web[o.s.s.s.IndexSynchronizer] Index activeRules 2015.07.02 11:07:48 INFO web[o.s.s.s.RegisterMetrics] Register metrics 2015.07.02 11:07:49 INFO web[o.s.s.s.RegisterMetrics] Cleaning quality gate conditions 2015.07.02 11:07:49 INFO web[o.s.s.s.RegisterDebtModel] Register technical debt model 2015.07.02 11:07:49 INFO web[o.s.s.r.RegisterRules] Register rules 2015.07.02 11:07:50 INFO web[o.s.s.q.RegisterQualityProfiles] Register quality profiles 2015.07.02 11:07:50 INFO web[o.s.s.s.RegisterNewMeasureFilters] Register measure filters 2015.07.02 11:07:50 INFO web[o.s.s.s.RegisterDashboards] Register dashboards 2015.07.02 11:07:50 INFO web[o.s.s.s.RegisterPermissionTemplates] Register permission templates 2015.07.02 11:07:50 INFO web[o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys 2015.07.02 11:07:51 INFO web[o.s.s.s.IndexSynchronizer] Index activities 2015.07.02 11:07:51 INFO web[o.s.s.s.IndexSynchronizer] Index issues 2015.07.02 11:07:51 INFO web[o.s.s.s.IndexSynchronizer] Index source lines 2015.07.02 11:07:51 INFO web[o.s.s.s.IndexSynchronizer] Index users 2015.07.02 11:07:51 INFO web[o.s.s.s.IndexSynchronizer] Index views 2015.07.02 11:07:51 INFO web[jruby.rack] jruby 1.7.9 (ruby-1.8.7p370) 2013-12-06 87b108a on Java HotSpot(TM) 64-Bit Server VM 1.8.0_45-b15 [Windows Server 2008 R2-amd64] 2015.07.02 11:07:51 INFO web[jruby.rack] using a shared (threadsafe!) runtime 2015.07.02 11:08:05 INFO web[jruby.rack] keeping custom (config.logger) Rails logger instance 2015.07.02 11:08:05 INFO web[o.a.c.h.Http11NioProtocol] Starting ProtocolHandler ["http-nio-10.11.69.3-9000"] 2015.07.02 11:08:05 INFO web[o.s.s.a.TomcatAccessLog] Web server is started 2015.07.02 11:08:05 INFO web[o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000 2015.07.02 11:08:06 INFO app[o.s.p.m.Monitor] Process[web] is up

展开
收起
kun坤 2020-06-01 09:44:36 837 0
1 条回答
写回答
取消 提交回答
  • 浏览器输入这个地址试试: http://本机ip:9000/;######回复 @nery : Web is up 就说明好使了。 这个不会继续进行了就应该停在这的,不要关这个DOS窗口。 浏览器打不开就换个浏览器,IE低版本打不开######您好、无法访问。######你先使用内置的Derby数据库,不用mysql(怀疑这个有问题),启动一下,然后访问上面那个地址,一步一步分析;

    ######哥们,你解决了吗,我现在也卡在这里,运行不下去了

    2020-06-01 10:10:43
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
CentOS Nginx PHP JAVA多语言镜像使用手册 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载