Hi,
We have installed a new instance of sonarqube community edition 8.4.2, while starting the sonarqube instance, it is failing with below error in sonar.log file and es.log file. Ca
Sonar.log
--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
2021.06.08 20:39:36 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /apps/sonarqube/sonarqube-8.4.2.36762/temp
2021.06.08 20:39:36 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2021.06.08 20:39:36 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/apps/sonarqube/sonarqube-8.4.2.36762/elasticsearch]: /apps/sonarqube/sonarqube-8.4.2.36762/elasticsearch/bin/elasticsearch
2021.06.08 20:39:36 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2021.06.08 20:39:37 INFO app[][o.e.p.PluginsService] no modules loaded
2021.06.08 20:39:37 INFO app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2021.06.08 20:39:49 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
2021.06.08 20:39:49 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/apps/sonarqube/sonarqube-8.4.2.36762]: /apps/sonarqube/java-11-openjdk-11.0.6.10-1.el7_7.x86_64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/apps/sonarqube/sonarqube-8.4.2.36762/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 -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/common/*:/apps/sonarqube/sonarqube-8.4.2.36762/lib/jdbc/mssql/mssql-jdbc-7.4.1.jre11.jar org.sonar.server.app.WebServer /apps/sonarqube/sonarqube-8.4.2.36762/temp/sq-process17300606858909486633properties
2021.06.08 20:39:55 INFO app[][o.s.a.SchedulerImpl] Process[web] is stopped
2021.06.08 20:39:55 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 143
2021.06.08 20:39:55 INFO app[][o.s.a.SchedulerImpl] Process[es] is stopped
2021.06.08 20:39:55 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
es.log
2021.06.08 20:39:39 INFO es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/ (/dev/mapper/rhel-root)]], net usable_space [5.8gb], net total_space [7.9gb], types [xfs]
2021.06.08 20:39:39 INFO es[][o.e.e.NodeEnvironment] heap size [494.9mb], compressed ordinary object pointers [true]
2021.06.08 20:39:39 INFO es[][o.e.n.Node] node name [sonarqube], node ID [G30YOvqASkSp7uYzxdwr2Q]
2021.06.08 20:39:39 INFO es[][o.e.n.Node] version[6.8.4], pid[16193], build[default/tar/bca0c8d/2019-10-16T06:19:49.319352Z], OS[Linux/3.10.0-1160.25.1.el7.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/11.0.6/11.0.6+10-LTS]
2021.06.08 20:39:39 INFO es[][o.e.n.Node] JVM arguments [-XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -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, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/apps/sonarqube/sonarqube-8.4.2.36762/temp, -XX:ErrorFile=../logs/es_hs_err_pid%p.log, -Des.enforce.bootstrap.checks=true, -Xmx512m, -Xms512m, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/apps/sonarqube/sonarqube-8.4.2.36762/elasticsearch, -Des.path.conf=/apps/sonarqube/sonarqube-8.4.2.36762/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar]
2021.06.08 20:39:40 INFO es[][o.e.p.PluginsService] loaded module [analysis-common]
2021.06.08 20:39:40 INFO es[][o.e.p.PluginsService] loaded module [lang-painless]
2021.06.08 20:39:40 INFO es[][o.e.p.PluginsService] loaded module [mapper-extras]
2021.06.08 20:39:40 INFO es[][o.e.p.PluginsService] loaded module [parent-join]
2021.06.08 20:39:40 INFO es[][o.e.p.PluginsService] loaded module [percolator]
2021.06.08 20:39:40 INFO es[][o.e.p.PluginsService] loaded module [reindex]
2021.06.08 20:39:40 INFO es[][o.e.p.PluginsService] loaded module [repository-url]
2021.06.08 20:39:40 INFO es[][o.e.p.PluginsService] loaded module [transport-netty4]
2021.06.08 20:39:40 INFO es[][o.e.p.PluginsService] no plugins loaded
2021.06.08 20:39:42 WARN es[][o.e.d.c.s.Settings] [http.enabled] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version.
2021.06.08 20:39:43 INFO es[][o.e.d.DiscoveryModule] using discovery type [zen] and host providers [settings]
2021.06.08 20:39:43 INFO es[][o.e.n.Node] initialized
2021.06.08 20:39:43 INFO es[][o.e.n.Node] starting ...
2021.06.08 20:39:43 INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2021.06.08 20:39:43 INFO es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2021.06.08 20:39:46 INFO es[][o.e.c.s.MasterService] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {sonarqube}{G30YOvqASkSp7uYzxdwr2Q}{l0-5dbh6TUqYpgm6p5UJhA}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}
2021.06.08 20:39:46 INFO es[][o.e.c.s.ClusterApplierService] new_master {sonarqube}{G30YOvqASkSp7uYzxdwr2Q}{l0-5dbh6TUqYpgm6p5UJhA}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}, reason: apply cluster state (from master [master {sonarqube}{G30YOvqASkSp7uYzxdwr2Q}{l0-5dbh6TUqYpgm6p5UJhA}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]])
2021.06.08 20:39:46 INFO es[][o.e.n.Node] started
2021.06.08 20:39:46 INFO es[][o.e.g.GatewayService] recovered [0] indices into cluster_state
2021.06.08 20:39:55 INFO es[][o.e.n.Node] stopping ...
2021.06.08 20:39:55 INFO es[][o.e.n.Node] stopped
2021.06.08 20:39:55 INFO es[][o.e.n.Node] closing ...
2021.06.08 20:39:55 INFO es[][o.e.n.Node] closed
Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
- what are you trying to achieve
- what have you tried so far to achieve this