Elasticsearch is stopped Sonarqube is stopped

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • how is SonarQube deployed: zip, Docker, Helm
  • what are you trying to achieve
  • what have you tried so far to achieve this

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Enterprise 10.4.1 deployed zip
PostgreSQL 14
Java 17
Ubuntu 22.04
Ngix

Sonarqube status is running (68757) - kind of weird

Using this sonarqube.service to start, below the sonar.log (tail). Any help would be very appreciated.

[Unit]
Description=SonarQube service
After=syslog.target network.target

[Service]
Type=forking
ExecStart=/opt/sonarqube/bin/linux-x86-64/sonar.sh start
ExecStop=/opt/sonarqube/bin/linux-x86-64/sonar.sh stop
User=sonarqube
Group=sonarqube
Restart=always
LimitNOFILE=65536
LimitNPROC=4096
[Install]
WantedBy=multi-user.target

Here the tail of sonar.log

2024.03.15 21:17:43 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit va
lue [ElasticSearch]: 1
2024.03.15 21:17:43 INFO  app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2024.03.15 21:17:43 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
2024.03.15 21:17:48 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /o
pt/sonarqube/temp
2024.03.15 21:17:49 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.
0.0.1:9001, TCP: 127.0.0.1:41617]
2024.03.15 21:17:49 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] fr
om [/opt/sonarqube/elasticsearch]: /usr/lib/jvm/java-17-openjdk-amd64/bin/java -Xms4m -Xmx6
4m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools
/server-cli -Des.path.home=/opt/sonarqube/elasticsearch -Des.path.conf=/opt/sonarqube/temp/
conf/es -Des.distribution.type=tar -cp /opt/sonarqube/elasticsearch/lib/*:/opt/sonarqube/el
asticsearch/lib/cli-launcher/* org.elasticsearch.launcher.CliToolLauncher
2024.03.15 21:17:50 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and
 running
2024.03.15 21:18:17 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit va
lue [ElasticSearch]: 1
2024.03.15 21:18:17 INFO  app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2024.03.15 21:18:17 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped

2 posts were split to a new topic: Trouble starting SonarQube

Hi,

Welcome to the community!

What do your other server logs say?

 
Ann