SonarQube not starting on ubuntu 22.04 and open jdk 17

Hi All,
I am running sonarqube- in ubuntu 22.04 with open jdk 17. but sonarqube not starting and following error can see in sonar.log file. what can be the reason for it?

  • SonarQube deployed: zip
  • Trying to achieve - run the sonarqube in ubuntu operating system


2023.06.27 03:59:01 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /mnt/sonarqube-
2023.06.27 03:59:01 INFO  app[][] Elasticsearch listening on [HTTP:, TCP:]
2023.06.27 03:59:01 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/mnt/sonarqube-]: /usr/lib/jvm/java-17-openjdk-amd64/bin/java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=/mnt/sonarqube- -Des.path.conf=/mnt/sonarqube- -Des.distribution.type=tar -cp /mnt/sonarqube-*:/mnt/sonarqube-* org.elasticsearch.launcher.CliToolLauncher
2023.06.27 03:59:01 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2023.06.27 03:59:04 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 1
2023.06.27 03:59:04 INFO  app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2023.06.27 03:59:04 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped


Hi Pradeep,

Welcome to the community!

What do your server logs say?


Thanks for attending my query. After checking the es.log file, found that es not getting start with root user.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.