From the ZIP file
Starting SonarQube Server from the ZIP file
Starting SonarQube
Linux: Execute
<sonarqubeHome>/bin/linux-x86-64/sonar.sh start
macOS: Execute
<sonarqubeHome>/bin/macosx-universal-64/sonar.sh start
Windows: Execute
<sonarqubeHome>\bin\windows-x86-64\StartSonar.bat
The "SonarQube is operational" message is displayed once the startup has successfully completed.
Stopping SonarQube gracefully
Linux: Execute
<sonarqubeHome>/bin/linux-x86-64/sonar.sh stop
macOS: Execute
<sonarqubeHome>/bin/macosx-universal-64/sonar.sh stop
Windows: There’s a similar
stop
functionality in the Windows script, but it might be a bit less explicit. You can often stop it by runningsonar.sh stop
from the command line.
Stop does a graceful shutdown where no new analysis report processing can start, but the tasks in progress are allowed to finish. The time a stop will take depends on the processing time of the tasks in progress.
Hard-stopping SonarQube
Linux: Execute
<sonarqubeHome>/bin/linux-x86-64/sonar.sh force-stop
macOS: Execute
<sonarqubeHome>/bin/macosx-universal-64/sonar.sh force-stop
Windows: A "force-stop" might not be directly available. Stopping the process via Windows Task Manager or similar tools could be considered a hard stop.
Related pages
Last updated
Was this helpful?