Sonarqube: Process exited with exit value [web]: 1

Hi,

Unable to start sonarqube server.
We are using sonarqube version: 8.9.6 and sonar-community-branch-plugin:1.8.1.
We had 8.9 version earlier and upgraded to 8.9.6.We are getting this while starting sonarqube.

sonar.log:

 Waiting for Elasticsearch to be up and running
2021.12.27 14:46:08 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2021.12.27 14:46:08 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube]: /usr/lib/jvm/java-11-openjdk-11.0.9.11-0.amzn2.0.1.x86_64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/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 -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -javaagent:./extensions/plugins/sonarqube-community-branch-plugin-1.8.1.jar=web -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-8.9.6.50800.jar:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.2.19.jar org.sonar.server.app.WebServer /opt/sonarqube/temp/sq-process6935537059661479186properties
2021.12.27 14:46:08 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [web]: 1
2021.12.27 14:46:08 INFO  app[][o.s.a.SchedulerImpl] Process[web] is stopped
2021.12.27 14:46:08 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 143
2021.12.27 14:46:08 INFO  app[][o.s.a.SchedulerImpl] Process[es] is stopped
2021.12.27 14:46:08 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
2021.12.27 14:46:08 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2021.12.27 14:46:08 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:37697]
2021.12.27 14:46:08 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
2021.12.27 14:46:08 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2021.12.27 14:46:13 INFO  app[][o.s.a.SchedulerImpl] Stopping SonarQube
2021.12.27 14:46:13 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 143
2021.12.27 14:46:13 INFO  app[][o.s.a.SchedulerImpl] Process[es] is stopped

es.log

2021.12.27 14:46:08 INFO  es[][o.e.n.Node] stopped
2021.12.27 14:46:08 INFO  es[][o.e.n.Node] closing ...
2021.12.27 14:46:08 INFO  es[][o.e.n.Node] closed
2021.12.27 14:46:11 INFO  es[][o.e.n.Node] version[7.16.2], pid[9721], build[default/tar/2b937c44140b6559905130a8650c64dbd0879cfb/2021-12-18T19:42:46.604893745Z], OS[Linux/4.14.232-177.418.amzn2.x86_64/amd64], JVM[Red Hat, Inc./OpenJDK 64-Bit Server VM/11.0.9/11.0.9+11-LTS]
2021.12.27 14:46:11 INFO  es[][o.e.n.Node] JVM home [/usr/lib/jvm/java-11-openjdk-11.0.9.11-0.amzn2.0.1.x86_64]
2021.12.27 14:46:11 INFO  es[][o.e.n.Node] JVM arguments [-XX:+UseG1GC, -Djava.io.tmpdir=/opt/sonarqube/temp, -XX:ErrorFile=../logs/es_hs_err_pid%p.log, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -Djna.tmpdir=/opt/sonarqube/temp, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=COMPAT, -Des.enforce.bootstrap.checks=true, -Xmx512m, -Xms512m, -XX:MaxDirectMemorySize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/opt/sonarqube/elasticsearch, -Des.path.conf=/opt/sonarqube/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar, -Des.bundled_jdk=false]
2021.12.27 14:46:11 INFO  es[][o.e.p.PluginsService] loaded module [analysis-common]
2021.12.27 14:46:11 INFO  es[][o.e.p.PluginsService] loaded module [lang-painless]
2021.12.27 14:46:11 INFO  es[][o.e.p.PluginsService] loaded module [parent-join]
2021.12.27 14:46:11 INFO  es[][o.e.p.PluginsService] loaded module [transport-netty4]
2021.12.27 14:46:11 INFO  es[][o.e.p.PluginsService] no plugins loaded
2021.12.27 14:46:12 INFO  es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/ (/dev/xvda1)]], net usable_space [29.3gb], net total_space [49.9gb], types [xfs]
2021.12.27 14:46:12 INFO  es[][o.e.e.NodeEnvironment] heap size [512mb], compressed ordinary object pointers [true]
2021.12.27 14:46:12 INFO  es[][o.e.n.Node] node name [sonarqube], node ID [xHIE6gL9TBSSQPgV5jWwhw], cluster name [sonarqube], roles [data_frozen, master, remote_cluster_client, data, data_content, data_hot, data_warm, data_cold, ingest]

Can someone please look into this?

Hi @Priyanka_Panda,

No obvious errors in these log files, so can you check the other log files, particularly web.log?

Regards,

Cameron.