- which versions are you using (SonarQube Server / Community Build) 10.6
- how is SonarQube deployed: zip
Hi everyone,
I’m facing an issue with my SonarQube installation where the service keeps restarting repeatedly without staying active. Here’s a snippet of the relevant logs:
less
Copy code
Dec 14 20:50:17 master systemd[1]: Stopped SonarQube service.
Dec 14 20:50:17 master systemd[1]: sonarqube.service: Consumed 26.812s CPU time.
Dec 14 20:50:17 master systemd[1]: Starting SonarQube service...
Dec 14 20:50:17 master sonar.sh[23517]: /usr/bin/java
Dec 14 20:50:17 master sonar.sh[23517]: Starting SonarQube...
Dec 14 20:50:17 master sonar.sh[23517]: Started SonarQube.
Dec 14 20:50:17 master systemd[1]: Started SonarQube service.
Dec 14 20:50:26 master sonar.sh[23755]: /usr/bin/java
Dec 14 20:50:26 master sonar.sh[23755]: Gracefully stopping SonarQube...
Dec 14 20:50:26 master sonar.sh[23755]: Removed stale pid file: ./SonarQube.pid
Dec 14 20:50:26 master sonar.sh[23755]: SonarQube was not running.
Dec 14 20:50:26 master systemd[1]: sonarqube.service: Deactivated successfully.
Dec 14 20:50:26 master systemd[1]: sonarqube.service: Scheduled restart job, restart counter is at 9.
The restart counter keeps increasing, and the service never stays active for more than a few seconds. I’ve noticed entries about removing a stale PID file and messages like “SonarQube was not running,” but I’m not sure what’s causing this.
it was running but after restarting the vm I got that issue
Has anyone encountered a similar issue, or does anyone have insights into what might be causing this restart loop? Any help would be greatly appreciated!