首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Sonarqube在Ubuntu中的设置

Sonarqube在Ubuntu中的设置
EN

Stack Overflow用户
提问于 2019-10-04 17:31:53
回答 1查看 594关注 0票数 2

试图使用mysql在Ubuntu18.04(在Ec2上)安装Sonarqube,通过这个数字海洋教程

但是,在所有这些sudo service sonarqube start错误之后:

ubuntu@ip-:/opt/sonarqube$ sudo service sonarqube start

代码语言:javascript
复制
Job for sonarqube.service failed because the control process exited with error code.
See "systemctl status sonarqube.service" and "journalctl -xe" for details.

ubuntu@ip-:/opt/sonarqube$ systemctl status sonarqube.service

代码语言:javascript
复制
sonarqube.service - SonarQube service
   Loaded: loaded (/etc/systemd/system/sonarqube.service; disabled; vendor prese
   Active: failed (Result: exit-code) since Fri 2019-10-04 16:45:33 UTC; 1min 43
  Process: 11036 ExecStart=/opt/sonarqube/bin/linux-x86-64/sonar.sh start (code=

Oct 04 16:45:32 ip-172-31-41-243 systemd[1]: sonarqube.service: Control process
Oct 04 16:45:32 ip-172-31-41-243 systemd[1]: sonarqube.service: Failed with resu
Oct 04 16:45:32 ip-172-31-41-243 systemd[1]: Failed to start SonarQube service.
Oct 04 16:45:33 ip-172-31-41-243 systemd[1]: sonarqube.service: Service hold-off
Oct 04 16:45:33 ip-172-31-41-243 systemd[1]: sonarqube.service: Scheduled restar
Oct 04 16:45:33 ip-172-31-41-243 systemd[1]: Stopped SonarQube service.
Oct 04 16:45:33 ip-172-31-41-243 systemd[1]: sonarqube.service: Start request re
Oct 04 16:45:33 ip-172-31-41-243 systemd[1]: sonarqube.service: Failed with resu
Oct 04 16:45:33 ip-172-31-41-243 systemd[1]: Failed to start SonarQube service.

尝试了另一个教程和不同版本的声纳和不同的DB -相同的结果。是否需要用于声纳的资源(内存)--我正在EC2 t2上部署-micro-8GB-,假设这应该足够了?

尝试过/opt/sonarqube/bin/linux-x86-64/sonar.sh start,这会导致错误:

语法错误:新行意外(期待")")。我没有编辑sonar.sh文件

SonarQube Docker试着去码头路线 --没成功。端口9000上的连接被拒绝。我在安全组中打开了TCP/9000,NACL也都是开放的。http://IP:9000这个site can’t be reached x.x.x.x refused to connect

EN

回答 1

Stack Overflow用户

发布于 2022-06-21 22:01:56

我也有过类似的问题。我的原因是由于systemctl服务配置文件中有一个额外的空白。我建议您正确检查,或删除和重新创建服务文件。这次要小心点。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/58240896

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档