SonarQube not starting on ubuntu 22.04 and open jdk 17

Hi All,
I am running sonarqube-10.1.0.73491 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

Log

2023.06.27 03:59:01 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /mnt/sonarqube-10.1.0.73491/temp
2023.06.27 03:59:01 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:40009]
2023.06.27 03:59:01 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/mnt/sonarqube-10.1.0.73491/elasticsearch]: /usr/lib/jvm/java-17-openjdk-amd64/bin/java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=/mnt/sonarqube-10.1.0.73491/elasticsearch -Des.path.conf=/mnt/sonarqube-10.1.0.73491/temp/conf/es -Des.distribution.type=tar -cp /mnt/sonarqube-10.1.0.73491/elasticsearch/lib/*:/mnt/sonarqube-10.1.0.73491/elasticsearch/lib/cli-launcher/* 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

Thanks,
Pradeep

Hi Pradeep,

Welcome to the community!

What do your server logs say?

 
Ann

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.