QT-DevOps / DevOpsIssues

This Repo will be used to demonstrate the Skills & Questions in DevOps
Apache License 2.0
27 stars 131 forks source link

SonarQube Service not starting #597

Closed srinivaspm closed 5 years ago

srinivaspm commented 5 years ago

sudo systemctl status sonar ● sonar.service - SonarQube service Loaded: loaded (/etc/systemd/system/sonar.service; enabled; vendor preset: enabled) Active: failed (Result: start-limit-hit) since Sat 2019-09-07 15:51:46 IST; 1h 2min ago

Sep 07 15:51:45 mint-VirtualBox systemd[1]: Started SonarQube service. Sep 07 15:51:46 mint-VirtualBox systemd[1]: sonar.service: Service hold-off time over, scheduling Sep 07 15:51:46 mint-VirtualBox systemd[1]: sonar.service: Scheduled restart job, restart counter Sep 07 15:51:46 mint-VirtualBox systemd[1]: Stopped SonarQube service. Sep 07 15:51:46 mint-VirtualBox systemd[1]: sonar.service: Start request repeated too quickly. Sep 07 15:51:46 mint-VirtualBox systemd[1]: sonar.service: Failed with result 'start-limit-hit'. Sep 07 15:51:46 mint-VirtualBox systemd[1]: Failed to start SonarQube service.

srinivaspm commented 5 years ago

I have installed sonarqube in Virtualbox, Trying to start the service. But it did not.

srmanikanta commented 5 years ago

sonarqube requires the below prerequisites if you done already please close the issue

The SonarQube server requires at least 2GB of RAM to run efficiently and 1GB of free RAM for the OS.

ijazm123 commented 4 years ago

root@jenkins:~# free -mh total used free shared buff/cache available Mem: 3.6G 772M 2.5G 5.3M 380M 2.6G Swap: 0B 0B 0B

swapnilpotnis commented 4 years ago

@srmanikanta : i am facing the same issue. I have a free RAM of 2GB as well yet the issue persists. Can you please help??

sailokesh-heeddata commented 10 months ago

@srinivaspm you service file need to be with the Execstart=path/sonar.sh console and you need to give your ip with http://:9000.