Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sonarqube 您可能无法启动本地主机_Sonarqube - Fatal编程技术网

Sonarqube 您可能无法启动本地主机

Sonarqube 您可能无法启动本地主机,sonarqube,Sonarqube,我在Ubuntu框中启动声纳时遇到了一些问题,甚至我无法用更多信息跟踪声纳日志 声纳测井 root@jenkins-linux-vm:/opt/sonar/logs# cat sonar.log --> Wrapper Started as Daemon Launching a JVM... Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org Copyright 1999-2006 Tanuki Software, In

我在Ubuntu框中启动声纳时遇到了一些问题,甚至我无法用更多信息跟踪声纳日志

声纳测井

root@jenkins-linux-vm:/opt/sonar/logs# cat sonar.log 
--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2019.12.24 13:16:23 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonar/temp
2019.12.24 13:16:23 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.12.24 13:16:23 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonar/elasticsearch]: /opt/sonar/elasticsearch/bin/elasticsearch
2019.12.24 13:16:23 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2019.12.24 13:16:24 INFO  app[][o.e.p.PluginsService] no modules loaded
2019.12.24 13:16:24 INFO  app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2019.12.24 13:16:29 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 1
2019.12.24 13:16:29 INFO  app[][o.s.a.SchedulerImpl] Process[es] is stopped
2019.12.24 13:16:29 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped

root@jenkins-linux虚拟机:/opt/sonar/logs#cat sonar.log
-->包装器作为守护进程启动
正在启动JVM。。。
包装器(版本3.2.3)http://wrapper.tanukisoftware.org
1999-2006塔努基软件有限公司版权所有。保留所有权利。
2019.12.24 13:16:23信息应用程序[][o.s.a.AppFileSystem]清理或创建临时目录/opt/sonar/temp
2019.12.24 13:16:23信息应用程序[][o.s.a.es.EsSettings]Elasticsearch收听/127.0.0.1:9001
2019.12.24 13:16:23信息应用程序[][o.s.a.ProcessLauncherImpl]启动过程[[key='es',ipindex=1,logFilenamePrefix=es]]来自[/opt/sonar/elasticsearch]:/opt/sonar/elasticsearch/bin/elasticsearch
2019.12.24 13:16:23信息应用程序[][o.s.a.SchedulerImpl]正在等待Elasticsearch启动并运行
OpenJDK 64位服务器VM警告:选项UseConcMarkSweepGC在9.0版中已被弃用,并可能在将来的版本中被删除。
2019.12.24 13:16:24信息应用程序[][o.e.p.PluginsService]未加载模块
2019.12.24 13:16:24信息应用程序[][o.e.p.PluginsService]加载的插件[org.elasticsearch.transport.Netty4Plugin]
2019.12.24 13:16:29警告应用程序[][o.s.a.p.AbstractManagedProcess]进程已退出,退出值为[es]:1
2019.12.24 13:16:29信息应用程序[][o.s.a.SchedulerImpl]进程停止
2019.12.24 13:16:29信息应用程序[][o.s.a.SchedulerImpl]SonarQube停止

您是否以root用户身份开始(这是不允许的)?也许可以帮助你。嗨,Jeroem,我只使用root用户登录,但它仍然在下降,我们需要这个声纳扫描仪所需的任何DB吗?不要使用root用户。扫描仪不需要数据库。在正确的扫描仪配置下,输出被发送到SonarQube。SonarQube本身需要一个数据库,但如果您不指定一个数据库,将创建一个数据库用于演示目的。不要在生产环境中使用该数据库。好的,我会启动sonar.sh启动普通用户,我会很快更新结果,感谢您的快速响应。嗨,Jeroen,现在我的sonar工作正常,非常感谢您的帮助。您是以root用户身份启动的吗(这是不允许的)?也许可以帮助你。嗨,Jeroem,我只使用root用户登录,但它仍然在下降,我们需要这个声纳扫描仪所需的任何DB吗?不要使用root用户。扫描仪不需要数据库。在正确的扫描仪配置下,输出被发送到SonarQube。SonarQube本身需要一个数据库,但如果您不指定一个数据库,将创建一个数据库用于演示目的。不要在生产环境中使用该数据库。好的,我会启动sonar.sh启动普通用户,我会很快更新结果,感谢您的快速响应。嗨,Jeroen,现在我的sonar工作正常,谢谢您的帮助