Install and configure SonarQube on Ubuntu 16.04 LTS

solutionclub

My name is Meet Kaur and I am beginner in blogging.My purpose is to make site to share my knowledge with others and gain some knowledge from them.

4 Responses

  1. ddeboer says:

    First cube was not working because elasticsearch did not allow root. only figured that out after setting the log levels to DEBUG.
    Now in a fresh environment with a user it still does not work, i get :

    sudo -S systemctl start sonar
    Job for sonar.service failed because the control process exited with error code. See “systemctl status sonar.service” and “journalctl -xe” for details.

    sudo -S systemctl status sonar
    ● sonar.service – SonarQube service
    Loaded: loaded (/etc/systemd/system/sonar.service; enabled; vendor preset: enabled)
    Active: inactive (dead) (Result: exit-code) since Sun 2018-09-16 20:30:27 UTC; 7s ago
    Process: 697 ExecStart=/opt/sonar/bin/linux-x86-64/sonar.sh start (code=exited, status=203/EXEC)

    Sep 16 20:30:27 sonarqube systemd[1]: Failed to start SonarQube service.
    Sep 16 20:30:27 sonarqube systemd[1]: sonar.service: Unit entered failed state.
    Sep 16 20:30:27 sonarqube systemd[1]: sonar.service: Failed with result ‘exit-code’.
    Sep 16 20:30:27 sonarqube systemd[1]: sonar.service: Service hold-off time over, scheduling restart.
    Sep 16 20:30:27 sonarqube systemd[1]: Stopped SonarQube service.
    Sep 16 20:30:27 sonarqube systemd[1]: sonar.service: Start request repeated too quickly.
    Sep 16 20:30:27 sonarqube systemd[1]: Failed to start SonarQube service.

    • Meet Kaur says:

      HI Ddeboer

      Which database you are try to connect with sonarqube and check database connectivity.

      • venkat says:

        Hi I am getting same issue “Job for sonarqube.service failed because the control process exited with error code. See “systemctl status sonarqube.service” and “journalctl -xe” for details.” And my database is external server(i.e aws postgres server, on ec2 machine sonarqube is installed.

        And what is the best practise. Installing sonarqube & DB on same server. Or installing sonarqube & DB are separate servers.

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.