Unable to run sonarqube 9.5 because of this error Process exited with exit value [ElasticSearch]:143

Hi everyone, i hope everyone are doing well, i need an assistance in this, i have configured postgres db in my local system,
this is the exception when i run ./sonar.sh console

Running SonarQube...
wrapper  | --> Wrapper Started as Console
wrapper  | Launching a JVM...
jvm 1    | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1    |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
jvm 1    |
jvm 1    | 2022.08.22 17:41:42 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /Users/nivedita/Downloads/sonarqube-9.5.0.56709/temp
jvm 1    | 2022.08.22 17:41:42 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:50832]
jvm 1    | 2022.08.22 17:41:42 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/Users/nivedita/Downloads/sonarqube-9.5.0.56709/elasticsearch]: /Users/nivedita/Downloads/sonarqube-9.5.0.56709/elasticsearch/bin/elasticsearch
jvm 1    | 2022.08.22 17:41:42 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
jvm 1    | 2022.08.22 17:41:54 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
jvm 1    | 2022.08.22 17:41:54 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [/Users/nivedita/Downloads/sonarqube-9.5.0.56709]: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/Users/nivedita/Downloads/sonarqube-9.5.0.56709/temp -XX:-OmitStackTraceInFastThrow --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED -Dcom.redhat.fips=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-9.5.0.56709.jar:/Users/nivedita/Downloads/sonarqube-9.5.0.56709/lib/jdbc/postgresql/postgresql-42.3.3.jar org.sonar.server.app.WebServer /Users/nivedita/Downloads/sonarqube-9.5.0.56709/temp/sq-process9887087267696885867properties
jvm 1    | 2022.08.22 17:43:14 INFO  app[][o.s.a.SchedulerImpl] Process[Web Server] is stopped
jvm 1    | 2022.08.22 17:43:15 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 143
jvm 1    | 2022.08.22 17:43:15 INFO  app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
jvm 1    | 2022.08.22 17:43:15 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
wrapper  | <-- Wrapper Stopped

also i am attaching the web.log file can anyone please help.
thank you so much.

web.log (3.0 MB)

Hi @Nivedita_M and welcome to the community :wave:

You need to clear up some disk space. As you can see in the logs, elasticsearch is in a read only mode because there is less than 10% disk space available

Hope that helps

1 Like