Hi Colin,
ES tries to start and then fails, the whole process repeats itself. I tried to delete the es7 folder but it still does not work, I am attaching sonar.log and es.log during the service start up process.
==> sonar.log <==
2022.11.24 14:53:11 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /apps/sq-shared/temp
2022.11.24 14:53:12 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:44553]
2022.11.24 14:53:12 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/apps/sonarqube-9.7.1.62043/elasticsearch]: /apps/sonarqube-9.7.1.62043/elasticsearch/bin/elasticsearch
2022.11.24 14:53:12 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
==> es.log <==
2022.11.24 14:53:15 INFO es[][o.e.n.Node] version[7.17.5], pid[32718], build[default/tar/8d61b4f7ddf931f219e3745f295ed2bbc50c8e84/2022-06-23T21:57:28.736740635Z], OS[Linux/4.14.294-220.533.amzn2.x86_64/amd64], JVM[Red Hat, Inc./OpenJDK 64-Bit Server VM/11.0.16/11.0.16+8-LTS]
2022.11.24 14:53:15 INFO es[][o.e.n.Node] JVM home [/usr/lib/jvm/java-11-openjdk-11.0.16.0.8-1.amzn2.0.1.x86_64]
2022.11.24 14:53:15 INFO es[][o.e.n.Node] JVM arguments [-XX:+UseG1GC, -Djava.io.tmpdir=/apps/sq-shared/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=/apps/sq-shared/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, -Dcom.redhat.fips=false, -Des.enforce.bootstrap.checks=true, -Xmx512m, -Xms512m, -XX:MaxDirectMemorySize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Djava.security.policy=/apps/sonarqube_latest/elasticsearch/config/security.policy, -Des.path.home=/apps/sonarqube-9.7.1.62043/elasticsearch, -Des.path.conf=/apps/sq-shared/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar, -Des.bundled_jdk=false]
2022.11.24 14:53:16 INFO es[][o.e.p.PluginsService] loaded module [analysis-common]
2022.11.24 14:53:16 INFO es[][o.e.p.PluginsService] loaded module [lang-painless]
2022.11.24 14:53:16 INFO es[][o.e.p.PluginsService] loaded module [parent-join]
2022.11.24 14:53:16 INFO es[][o.e.p.PluginsService] loaded module [reindex]
2022.11.24 14:53:16 INFO es[][o.e.p.PluginsService] loaded module [transport-netty4]
2022.11.24 14:53:16 INFO es[][o.e.p.PluginsService] no plugins loaded
2022.11.24 14:53:16 INFO es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/apps/sq-shared (myorgefs.efs.us-west-2.amazonaws.com:/)]], net usable_space [8191.9pb], net total_space [8191.9pb], types [nfs4]
2022.11.24 14:53:16 INFO es[][o.e.e.NodeEnvironment] heap size [512mb], compressed ordinary object pointers [true]
2022.11.24 14:53:18 INFO es[][o.e.n.Node] node name [sonarqube], node ID [NO9_ffxPRgSTOSedbQOYOw], cluster name [sonarqube], roles [data_frozen, master, remote_cluster_client, data, data_content, data_hot, data_warm, data_cold, ingest]
2022.11.24 14:53:22 INFO es[][o.e.t.NettyAllocator] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=256kb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=1mb, heap_size=512mb}]
2022.11.24 14:53:22 INFO es[][o.e.i.r.RecoverySettings] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
2022.11.24 14:53:22 INFO es[][o.e.d.DiscoveryModule] using discovery type [zen] and seed hosts providers [settings]
2022.11.24 14:53:22 INFO es[][o.e.g.DanglingIndicesState] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
2022.11.24 14:53:23 INFO es[][o.e.n.Node] initialized
2022.11.24 14:53:23 INFO es[][o.e.n.Node] starting ...
2022.11.24 14:53:23 INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:44553}, bound_addresses {127.0.0.1:44553}
2022.11.24 14:53:24 INFO es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2022.11.24 14:53:24 INFO es[][o.e.c.c.Coordinator] cluster UUID [v-VG7SNbTASOJHzZSbiC8A]
2022.11.24 14:53:24 INFO es[][o.e.c.s.MasterService] elected-as-master ([1] nodes joined)[{sonarqube}{NO9_ffxPRgSTOSedbQOYOw}{C14mYgBvQDioQfVZ_b5oSQ}{127.0.0.1}{127.0.0.1:44553}{cdfhimrsw} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 973, version: 19415, delta: master node changed {previous [], current [{sonarqube}{NO9_ffxPRgSTOSedbQOYOw}{C14mYgBvQDioQfVZ_b5oSQ}{127.0.0.1}{127.0.0.1:44553}{cdfhimrsw}]}
2022.11.24 14:53:24 INFO es[][o.e.c.s.ClusterApplierService] master node changed {previous [], current [{sonarqube}{NO9_ffxPRgSTOSedbQOYOw}{C14mYgBvQDioQfVZ_b5oSQ}{127.0.0.1}{127.0.0.1:44553}{cdfhimrsw}]}, term: 973, version: 19415, reason: Publication{term=973, version=19415}
2022.11.24 14:53:24 INFO es[][o.e.h.AbstractHttpServerTransport] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2022.11.24 14:53:24 INFO es[][o.e.n.Node] started
2022.11.24 14:53:24 INFO es[][o.e.g.GatewayService] recovered [7] indices into cluster_state
2022.11.24 14:53:31 INFO es[][o.e.c.r.a.AllocationService] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[metadatas][0]]]).
==> sonar.log <==
2022.11.24 14:53:31 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
2022.11.24 14:53:31 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [/apps/sonarqube-9.7.1.62043]: /usr/lib/jvm/java-11-openjdk-11.0.16.0.8-1.amzn2.0.1.x86_64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/apps/sq-shared/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 -javaagent:/opt/appdynamics/java-agent/javaagent.jar -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=10443 -Dcom.sun.management.jmxremote.rmi.port=10444 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dhttp.proxyHost=myproxy.dcmyorg.com -Dhttp.proxyPort=1234 -Dhttp.nonProxyHosts=localhost|127.*|[::1] -Dhttps.proxyHost=myproxy.dcmyorg.com -Dhttps.proxyPort=1234 -cp ./lib/sonar-application-9.7.1.62043.jar:/apps/sonarqube-9.7.1.62043/lib/jdbc/postgresql/postgresql-42.4.1.jar org.sonar.server.app.WebServer /apps/sq-shared/temp/sq-process9625845962002219812properties
2022.11.24 14:54:09 INFO app[][o.s.a.SchedulerImpl] Process[Web Server] is stopped
==> es.log <==
2022.11.24 14:54:09 INFO es[][o.e.n.Node] stopping ...
2022.11.24 14:54:09 INFO es[][o.e.n.Node] stopped
2022.11.24 14:54:09 INFO es[][o.e.n.Node] closing ...
2022.11.24 14:54:09 INFO es[][o.e.n.Node] closed
==> sonar.log <==
2022.11.24 14:54:09 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 143
2022.11.24 14:54:09 INFO app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2022.11.24 14:54:09 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
2022.11.24 14:54:10 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /apps/sq-shared/temp
2022.11.24 14:54:10 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:37905]
2022.11.24 14:54:11 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/apps/sonarqube-9.7.1.62043/elasticsearch]: /apps/sonarqube-9.7.1.62043/elasticsearch/bin/elasticsearch
2022.11.24 14:54:11 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
==> es.log <==
2022.11.24 14:54:13 INFO es[][o.e.n.Node] version[7.17.5], pid[6092], build[default/tar/8d61b4f7ddf931f219e3745f295ed2bbc50c8e84/2022-06-23T21:57:28.736740635Z], OS[Linux/4.14.294-220.533.amzn2.x86_64/amd64], JVM[Red Hat, Inc./OpenJDK 64-Bit Server VM/11.0.16/11.0.16+8-LTS]
2022.11.24 14:54:13 INFO es[][o.e.n.Node] JVM home [/usr/lib/jvm/java-11-openjdk-11.0.16.0.8-1.amzn2.0.1.x86_64]
2022.11.24 14:54:13 INFO es[][o.e.n.Node] JVM arguments [-XX:+UseG1GC, -Djava.io.tmpdir=/apps/sq-shared/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=/apps/sq-shared/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, -Dcom.redhat.fips=false, -Des.enforce.bootstrap.checks=true, -Xmx512m, -Xms512m, -XX:MaxDirectMemorySize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Djava.security.policy=/apps/sonarqube_latest/elasticsearch/config/security.policy, -Des.path.home=/apps/sonarqube-9.7.1.62043/elasticsearch, -Des.path.conf=/apps/sq-shared/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar, -Des.bundled_jdk=false]
2022.11.24 14:54:14 INFO es[][o.e.p.PluginsService] loaded module [analysis-common]
2022.11.24 14:54:14 INFO es[][o.e.p.PluginsService] loaded module [lang-painless]
2022.11.24 14:54:14 INFO es[][o.e.p.PluginsService] loaded module [parent-join]
2022.11.24 14:54:14 INFO es[][o.e.p.PluginsService] loaded module [reindex]
2022.11.24 14:54:14 INFO es[][o.e.p.PluginsService] loaded module [transport-netty4]
2022.11.24 14:54:14 INFO es[][o.e.p.PluginsService] no plugins loaded
2022.11.24 14:54:14 INFO es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/apps/sq-shared (myorgefs.efs.us-west-2.amazonaws.com:/)]], net usable_space [8191.9pb], net total_space [8191.9pb], types [nfs4]
2022.11.24 14:54:14 INFO es[][o.e.e.NodeEnvironment] heap size [512mb], compressed ordinary object pointers [true]
2022.11.24 14:54:15 INFO es[][o.e.n.Node] node name [sonarqube], node ID [NO9_ffxPRgSTOSedbQOYOw], cluster name [sonarqube], roles [data_frozen, master, remote_cluster_client, data, data_content, data_hot, data_warm, data_cold, ingest]
2022.11.24 14:54:19 INFO es[][o.e.t.NettyAllocator] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=256kb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=1mb, heap_size=512mb}]
2022.11.24 14:54:19 INFO es[][o.e.i.r.RecoverySettings] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
2022.11.24 14:54:19 INFO es[][o.e.d.DiscoveryModule] using discovery type [zen] and seed hosts providers [settings]
2022.11.24 14:54:20 INFO es[][o.e.g.DanglingIndicesState] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
2022.11.24 14:54:20 INFO es[][o.e.n.Node] initialized
2022.11.24 14:54:20 INFO es[][o.e.n.Node] starting ...
2022.11.24 14:54:20 INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:37905}, bound_addresses {127.0.0.1:37905}
2022.11.24 14:54:21 INFO es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2022.11.24 14:54:21 INFO es[][o.e.c.c.Coordinator] cluster UUID [v-VG7SNbTASOJHzZSbiC8A]
2022.11.24 14:54:21 INFO es[][o.e.c.s.MasterService] elected-as-master ([1] nodes joined)[{sonarqube}{NO9_ffxPRgSTOSedbQOYOw}{JKUf8taSSOu-7GmMw4E6wA}{127.0.0.1}{127.0.0.1:37905}{cdfhimrsw} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 974, version: 19437, delta: master node changed {previous [], current [{sonarqube}{NO9_ffxPRgSTOSedbQOYOw}{JKUf8taSSOu-7GmMw4E6wA}{127.0.0.1}{127.0.0.1:37905}{cdfhimrsw}]}
2022.11.24 14:54:22 INFO es[][o.e.c.s.ClusterApplierService] master node changed {previous [], current [{sonarqube}{NO9_ffxPRgSTOSedbQOYOw}{JKUf8taSSOu-7GmMw4E6wA}{127.0.0.1}{127.0.0.1:37905}{cdfhimrsw}]}, term: 974, version: 19437, reason: Publication{term=974, version=19437}
2022.11.24 14:54:22 INFO es[][o.e.h.AbstractHttpServerTransport] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2022.11.24 14:54:22 INFO es[][o.e.n.Node] started
2022.11.24 14:54:22 INFO es[][o.e.g.GatewayService] recovered [7] indices into cluster_state
2022.11.24 14:54:28 INFO es[][o.e.c.r.a.AllocationService] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[components][3], [components][4], [metadatas][0]]]).
==> sonar.log <==
2022.11.24 14:54:28 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
2022.11.24 14:54:28 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [/apps/sonarqube-9.7.1.62043]: /usr/lib/jvm/java-11-openjdk-11.0.16.0.8-1.amzn2.0.1.x86_64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/apps/sq-shared/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 -javaagent:/opt/appdynamics/java-agent/javaagent.jar -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=10443 -Dcom.sun.management.jmxremote.rmi.port=10444 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dhttp.proxyHost=myproxy.dcmyorg.com -Dhttp.proxyPort=1234 -Dhttp.nonProxyHosts=localhost|127.*|[::1] -Dhttps.proxyHost=myproxy.dcmyorg.com -Dhttps.proxyPort=1234 -cp ./lib/sonar-application-9.7.1.62043.jar:/apps/sonarqube-9.7.1.62043/lib/jdbc/postgresql/postgresql-42.4.1.jar org.sonar.server.app.WebServer /apps/sq-shared/temp/sq-process8808377357892672642properties
2022.11.24 14:55:02 INFO app[][o.s.a.SchedulerImpl] Process[Web Server] is stopped
==> es.log <==
2022.11.24 14:55:02 INFO es[][o.e.n.Node] stopping ...
2022.11.24 14:55:02 INFO es[][o.e.n.Node] stopped
2022.11.24 14:55:02 INFO es[][o.e.n.Node] closing ...
2022.11.24 14:55:02 INFO es[][o.e.n.Node] closed
==> sonar.log <==
2022.11.24 14:55:02 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 143
2022.11.24 14:55:02 INFO app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2022.11.24 14:55:02 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
2022.11.24 14:55:03 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /apps/sq-shared/temp
2022.11.24 14:55:03 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:40435]
2022.11.24 14:55:03 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/apps/sonarqube-9.7.1.62043/elasticsearch]: /apps/sonarqube-9.7.1.62043/elasticsearch/bin/elasticsearch
2022.11.24 14:55:03 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running