Elasticsearch server is not starting

I'm getting this error I'm starting Elasticsearch server

Job for elasticsearch.service failed because the control process exited with error code.
See "systemctl status elasticsearch.service" and "journalctl -xeu elasticsearch.service" for details.

See the below logs

[root@localhost log]# cat /var/log/elasticsearch/elasticsearch.log
[2025-04-11T20:59:24,362][INFO ][o.e.n.Node ] [localhost.localdomain] version[7.17.28], pid[120772], build[default/rpm/139cb5a961d8de68b8e02c45cc47f5289a3623af/2025-02-20T09:05:31.349013687Z], OS[Linux/5.14.0-474.el9.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/22.0.2/22.0.2+9-70]
[2025-04-11T20:59:24,367][INFO ][o.e.n.Node ] [localhost.localdomain] JVM home [/usr/share/elasticsearch/jdk], using bundled JDK [true]
[2025-04-11T20:59:24,367][INFO ][o.e.n.Node ] [localhost.localdomain] JVM arguments [-Xshare:auto, -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, -XX:+ShowCodeDetailsInExceptionMessages, -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=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -Djava.security.manager=allow, -XX:+UseG1GC, -Djava.io.tmpdir=/tmp/elasticsearch-5590369339516252526, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=/var/lib/elasticsearch, -XX:ErrorFile=/var/log/elasticsearch/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=/var/log/elasticsearch/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -XX:+UnlockDiagnosticVMOptions, -XX:G1NumCollectionsKeepPinned=10000000, -Xms1805m, -Xmx1805m, -XX:MaxDirectMemorySize=946864128, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/etc/elasticsearch, -Des.distribution.flavor=default, -Des.distribution.type=rpm, -Des.bundled_jdk=true]
[2025-04-11T20:59:26,774][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [aggs-matrix-stats]
[2025-04-11T20:59:26,774][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [analysis-common]
[2025-04-11T20:59:26,775][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [constant-keyword]
[2025-04-11T20:59:26,775][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [frozen-indices]
[2025-04-11T20:59:26,775][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [ingest-common]
[2025-04-11T20:59:26,775][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [ingest-geoip]
[2025-04-11T20:59:26,775][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [ingest-user-agent]
[2025-04-11T20:59:26,776][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [kibana]
[2025-04-11T20:59:26,776][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [lang-expression]
[2025-04-11T20:59:26,776][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [lang-mustache]
[2025-04-11T20:59:26,776][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [lang-painless]
[2025-04-11T20:59:26,776][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [legacy-geo]
[2025-04-11T20:59:26,776][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [mapper-extras]
[2025-04-11T20:59:26,777][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [mapper-version]
[2025-04-11T20:59:26,777][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [parent-join]
[2025-04-11T20:59:26,777][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [percolator]
[2025-04-11T20:59:26,777][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [rank-eval]
[2025-04-11T20:59:26,777][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [reindex]
[2025-04-11T20:59:26,777][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [repositories-metering-api]
[2025-04-11T20:59:26,778][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [repository-encrypted]
[2025-04-11T20:59:26,778][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [repository-url]
[2025-04-11T20:59:26,778][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [runtime-fields-common]
[2025-04-11T20:59:26,778][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [search-business-rules]
[2025-04-11T20:59:26,778][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [searchable-snapshots]
[2025-04-11T20:59:26,778][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [snapshot-repo-test-kit]
[2025-04-11T20:59:26,779][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [spatial]
[2025-04-11T20:59:26,779][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [systemd]
[2025-04-11T20:59:26,779][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [transform]
[2025-04-11T20:59:26,779][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [transport-netty4]
[2025-04-11T20:59:26,779][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [unsigned-long]
[2025-04-11T20:59:26,779][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [vector-tile]
[2025-04-11T20:59:26,780][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [vectors]
[2025-04-11T20:59:26,780][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [wildcard]
[2025-04-11T20:59:26,780][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-aggregate-metric]
[2025-04-11T20:59:26,780][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-analytics]
[2025-04-11T20:59:26,780][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-async]
[2025-04-11T20:59:26,781][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-async-search]
[2025-04-11T20:59:26,781][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-autoscaling]
[2025-04-11T20:59:26,781][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-ccr]
[2025-04-11T20:59:26,781][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-core]
[2025-04-11T20:59:26,781][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-data-streams]
[2025-04-11T20:59:26,781][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-deprecation]
[2025-04-11T20:59:26,781][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-enrich]
[2025-04-11T20:59:26,782][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-eql]
[2025-04-11T20:59:26,782][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-fleet]
[2025-04-11T20:59:26,782][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-graph]
[2025-04-11T20:59:26,782][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-identity-provider]
[2025-04-11T20:59:26,782][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-ilm]
[2025-04-11T20:59:26,783][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-logstash]
[2025-04-11T20:59:26,783][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-ml]
[2025-04-11T20:59:26,783][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-monitoring]
[2025-04-11T20:59:26,783][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-ql]
[2025-04-11T20:59:26,783][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-rollup]
[2025-04-11T20:59:26,783][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-security]
[2025-04-11T20:59:26,783][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-shutdown]
[2025-04-11T20:59:26,784][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-sql]
[2025-04-11T20:59:26,784][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-stack]
[2025-04-11T20:59:26,784][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-text-structure]
[2025-04-11T20:59:26,784][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-voting-only-node]
[2025-04-11T20:59:26,784][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-watcher]
[2025-04-11T20:59:26,785][INFO ][o.e.p.PluginsService ] [localhost.localdomain] no plugins loaded
[2025-04-11T20:59:26,829][INFO ][o.e.e.NodeEnvironment ] [localhost.localdomain] using [1] data paths, mounts [[/ (/dev/mapper/cs-root)]], net usable_space [18.7gb], net total_space [25.9gb], types [xfs]
[2025-04-11T20:59:26,830][INFO ][o.e.e.NodeEnvironment ] [localhost.localdomain] heap size [1.7gb], compressed ordinary object pointers [true]
[2025-04-11T20:59:26,852][INFO ][o.e.n.Node ] [localhost.localdomain] node name [localhost.localdomain], node ID [57VFbdzxQ8aUvL8rm3tt_w], cluster name [elasticsearch], roles [transform, data_frozen, master, remote_cluster_client, data, ml, data_content, data_hot, data_warm, data_cold, ingest]
[2025-04-11T20:59:31,455][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [localhost.localdomain] [controller/120953] [Main.cc@122] controller (64 bit): Version 7.17.28 (Build 733d78ce56c25b) Copyright (c) 2025 Elasticsearch BV
[2025-04-11T20:59:32,250][INFO ][o.e.x.s.a.s.FileRolesStore] [localhost.localdomain] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
[2025-04-11T20:59:32,996][INFO ][o.e.i.g.ConfigDatabases ] [localhost.localdomain] initialized default databases [[GeoLite2-Country.mmdb, GeoLite2-City.mmdb, GeoLite2-ASN.mmdb]], config databases [] and watching [/etc/elasticsearch/ingest-geoip] for changes
[2025-04-11T20:59:32,997][INFO ][o.e.i.g.DatabaseNodeService] [localhost.localdomain] initialized database registry, using geoip-databases directory [/tmp/elasticsearch-5590369339516252526/geoip-databases/57VFbdzxQ8aUvL8rm3tt_w]
[2025-04-11T21:06:46,200][INFO ][o.e.n.Node ] [localhost.localdomain] version[7.17.28], pid[1258], build[default/rpm/139cb5a961d8de68b8e02c45cc47f5289a3623af/2025-02-20T09:05:31.349013687Z], OS[Linux/5.14.0-575.el9.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/22.0.2/22.0.2+9-70]
[2025-04-11T21:06:46,205][INFO ][o.e.n.Node ] [localhost.localdomain] JVM home [/usr/share/elasticsearch/jdk], using bundled JDK [true]
[2025-04-11T21:06:46,206][INFO ][o.e.n.Node ] [localhost.localdomain] JVM arguments [-Xshare:auto, -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, -XX:+ShowCodeDetailsInExceptionMessages, -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=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -Djava.security.manager=allow, -XX:+UseG1GC, -Djava.io.tmpdir=/tmp/elasticsearch-9508648271808929279, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=/var/lib/elasticsearch, -XX:ErrorFile=/var/log/elasticsearch/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=/var/log/elasticsearch/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -XX:+UnlockDiagnosticVMOptions, -XX:G1NumCollectionsKeepPinned=10000000, -Xms1803m, -Xmx1803m, -XX:MaxDirectMemorySize=945815552, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/etc/elasticsearch, -Des.distribution.flavor=default, -Des.distribution.type=rpm, -Des.bundled_jdk=true]
[2025-04-11T21:07:15,156][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [aggs-matrix-stats]
[2025-04-11T21:07:15,157][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [analysis-common]
[2025-04-11T21:07:15,158][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [constant-keyword]
[2025-04-11T21:07:15,159][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [frozen-indices]
[2025-04-11T21:07:15,159][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [ingest-common]
[2025-04-11T21:07:15,159][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [ingest-geoip]
[2025-04-11T21:07:15,159][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [ingest-user-agent]
[2025-04-11T21:07:15,160][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [kibana]
[2025-04-11T21:07:15,160][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [lang-expression]
[2025-04-11T21:07:15,160][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [lang-mustache]
[2025-04-11T21:07:15,160][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [lang-painless]
[2025-04-11T21:07:15,161][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [legacy-geo]
[2025-04-11T21:07:15,161][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [mapper-extras]
[2025-04-11T21:07:15,161][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [mapper-version]
[2025-04-11T21:07:15,162][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [parent-join]
[2025-04-11T21:07:15,162][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [percolator]
[2025-04-11T21:07:15,162][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [rank-eval]
[2025-04-11T21:07:15,162][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [reindex]
[2025-04-11T21:07:15,162][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [repositories-metering-api]
[2025-04-11T21:07:15,162][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [repository-encrypted]
[2025-04-11T21:07:15,163][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [repository-url]
[2025-04-11T21:07:15,163][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [runtime-fields-common]
[2025-04-11T21:07:15,163][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [search-business-rules]
[2025-04-11T21:07:15,163][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [searchable-snapshots]
[2025-04-11T21:07:15,163][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [snapshot-repo-test-kit]
[2025-04-11T21:07:15,163][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [spatial]
[2025-04-11T21:07:15,164][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [systemd]
[2025-04-11T21:07:15,164][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [transform]
[2025-04-11T21:07:15,164][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [transport-netty4]
[2025-04-11T21:07:15,165][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [unsigned-long]
[2025-04-11T21:07:15,165][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [vector-tile]
[2025-04-11T21:07:15,165][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [vectors]
[2025-04-11T21:07:15,165][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [wildcard]
[2025-04-11T21:07:15,165][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-aggregate-metric]
[2025-04-11T21:07:15,166][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-analytics]
[2025-04-11T21:07:15,169][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-async]
[2025-04-11T21:07:15,169][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-async-search]
[2025-04-11T21:07:15,169][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-autoscaling]
[2025-04-11T21:07:15,170][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-ccr]
[2025-04-11T21:07:15,170][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-core]
[2025-04-11T21:07:15,170][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-data-streams]
[2025-04-11T21:07:15,171][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-deprecation]
[2025-04-11T21:07:15,171][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-enrich]
[2025-04-11T21:07:15,171][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-eql]
[2025-04-11T21:07:15,171][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-fleet]
[2025-04-11T21:07:15,171][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-graph]
[2025-04-11T21:07:15,171][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-identity-provider]
[2025-04-11T21:07:15,172][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-ilm]
[2025-04-11T21:07:15,172][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-logstash]
[2025-04-11T21:07:15,175][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-ml]
[2025-04-11T21:07:15,175][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-monitoring]
[2025-04-11T21:07:15,175][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-ql]
[2025-04-11T21:07:15,175][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-rollup]
[2025-04-11T21:07:15,176][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-security]
[2025-04-11T21:07:15,176][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-shutdown]
[2025-04-11T21:07:15,176][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-sql]
[2025-04-11T21:07:15,177][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-stack]
[2025-04-11T21:07:15,177][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-text-structure]
[2025-04-11T21:07:15,177][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-voting-only-node]
[2025-04-11T21:07:15,178][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [x-pack-watcher]
[2025-04-11T21:07:15,178][INFO ][o.e.p.PluginsService ] [localhost.localdomain] no plugins loaded
[2025-04-11T21:07:15,238][INFO ][o.e.e.NodeEnvironment ] [localhost.localdomain] using [1] data paths, mounts [[/ (/dev/mapper/cs-root)]], net usable_space [19.4gb], net total_space [25.9gb], types [xfs]
[2025-04-11T21:07:15,239][INFO ][o.e.e.NodeEnvironment ] [localhost.localdomain] heap size [1.7gb], compressed ordinary object pointers [true]
[2025-04-11T21:07:15,385][INFO ][o.e.n.Node ] [localhost.localdomain] node name [localhost.localdomain], node ID [57VFbdzxQ8aUvL8rm3tt_w], cluster name [elasticsearch], roles [transform, data_frozen, master, remote_cluster_client, data, ml, data_content, data_hot, data_warm, data_cold, ingest]
[2025-04-11T21:07:20,509][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [localhost.localdomain] [controller/4076] [Main.cc@122] controller (64 bit): Version 7.17.28 (Build 733d78ce56c25b) Copyright (c) 2025 Elasticsearch BV
[2025-04-11T21:07:21,101][INFO ][o.e.x.s.a.s.FileRolesStore] [localhost.localdomain] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
[2025-04-11T21:07:21,617][INFO ][o.e.i.g.ConfigDatabases ] [localhost.localdomain] initialized default databases [[GeoLite2-Country.mmdb, GeoLite2-City.mmdb, GeoLite2-ASN.mmdb]], config databases [] and watching [/etc/elasticsearch/ingest-geoip] for changes
[2025-04-11T21:07:21,619][INFO ][o.e.i.g.DatabaseNodeService] [localhost.localdomain] initialized database registry, using geoip-databases directory [/tmp/elasticsearch-9508648271808929279/geoip-databases/57VFbdzxQ8aUvL8rm3tt_w]
[2025-04-11T21:07:22,118][INFO ][o.e.t.NettyAllocator ] [localhost.localdomain] creating NettyAllocator with the following configs: [name=elasticsearch_configured, chunk_size=1mb, suggested_max_allocation_size=1mb, factors={es.unsafe.use_netty_default_chunk_and_page_size=false, g1gc_enabled=true, g1gc_region_size=4mb}]
[2025-04-11T21:07:22,151][INFO ][o.e.i.r.RecoverySettings ] [localhost.localdomain] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
[2025-04-11T21:07:22,189][INFO ][o.e.d.DiscoveryModule ] [localhost.localdomain] using discovery type [zen] and seed hosts providers [settings]
[2025-04-11T21:07:22,538][INFO ][o.e.g.DanglingIndicesState] [localhost.localdomain] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
[2025-04-11T21:07:23,017][INFO ][o.e.n.Node ] [localhost.localdomain] initialized
[2025-04-11T21:07:23,017][INFO ][o.e.n.Node ] [localhost.localdomain] starting ...
[2025-04-11T21:07:23,026][INFO ][o.e.x.s.c.f.PersistentCache] [localhost.localdomain] persistent cache index loaded
[2025-04-11T21:07:23,027][INFO ][o.e.x.d.l.DeprecationIndexingComponent] [localhost.localdomain] deprecation component started
[2025-04-11T21:07:23,108][INFO ][o.e.t.TransportService ] [localhost.localdomain] publish_address {192.168.31.19:9300}, bound_addresses {[::]:9300}
[2025-04-11T21:07:23,235][INFO ][o.e.b.BootstrapChecks ] [localhost.localdomain] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2025-04-11T21:07:23,237][ERROR][o.e.b.Bootstrap ] [localhost.localdomain] node validation exception
[1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch.
bootstrap check failure [1] of [1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
[2025-04-11T21:07:23,241][INFO ][o.e.n.Node ] [localhost.localdomain] stopping ...
[2025-04-11T21:07:23,252][INFO ][o.e.n.Node ] [localhost.localdomain] stopped
[2025-04-11T21:07:23,252][INFO ][o.e.n.Node ] [localhost.localdomain] closing ...
[2025-04-11T21:07:23,271][INFO ][o.e.n.Node ] [localhost.localdomain] closed
[2025-04-11T21:07:23,273][INFO ][o.e.x.m.p.NativeController] [localhost.localdomain] Native controller process has stopped - no new native processes can be started
[2025-04-11T21:10:28,981][INFO ][o.e.n.Node ] [localhost.localdomain] version[7.17.28], pid[6425], build[default/rpm/139cb5a961d8de68b8e02c45cc47f5289a3623af/2025-02-20T09:05:31.349013687Z], OS[Linux/5.14.0-575.el9.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/22.0.2/22.0.2+9-70]
[2025-04-11T21:10:28,985][INFO ][o.e.n.Node ] [localhost.localdomain] JVM home [/usr/share/elasticsearch/jdk], using bundled JDK [true]
[2025-04-11T21:10:28,985][INFO ][o.e.n.Node ] [localhost.localdomain] JVM arguments [-Xshare:auto, -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, -XX:+ShowCodeDetailsInExceptionMessages, -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=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -Djava.security.manager=allow, -XX:+UseG1GC, -Djava.io.tmpdir=/tmp/elasticsearch-5131362365132455400, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=/var/lib/elasticsearch, -XX:ErrorFile=/var/log/elasticsearch/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=/var/log/elasticsearch/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -XX:+UnlockDiagnosticVMOptions, -XX:G1NumCollectionsKeepPinned=10000000, -Xms1803m, -Xmx1803m, -XX:MaxDirectMemorySize=945815552, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/etc/elasticsearch, -Des.distribution.flavor=default, -Des.distribution.type=rpm, -Des.bundled_jdk=true]
[2025-04-11T21:10:30,920][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded module [aggs-matrix-stats]

So thats likely the problem, you need set one of the those settings to some value somewhere in your elasticsearch.yml. Or don't bind to the address 192.168.31.19.

If you share contents of that file, likely we can help you. You are likely very close to a working config.

By the way, is there a reason you are using version from 7.x (namely 7.17.28) and not from 8.x series?

Here is content of the file for your reference

======================== Elasticsearch Configuration =========================

NOTE: Elasticsearch comes with reasonable defaults for most settings.

Before you set out to tweak and tune the configuration, make sure you

understand what are you trying to accomplish and the consequences.

The primary way of configuring a node is via this file. This template lists

the most important settings you may want to configure for a production cluster.

Please consult the documentation for further information on configuration options:

Elasticsearch Guide | Elastic

---------------------------------- Cluster -----------------------------------

Use a descriptive name for your cluster:

#cluster.name: my-application

------------------------------------ Node ------------------------------------

Use a descriptive name for the node:

#node.name: node-1

Add custom attributes to the node:

#node.attr.rack: r1

----------------------------------- Paths ------------------------------------

Path to directory where to store the data (separate multiple locations by comma):

path.data: /var/lib/elasticsearch

Path to log files:

path.logs: /var/log/elasticsearch

----------------------------------- Memory -----------------------------------

Lock the memory on startup:

#bootstrap.memory_lock: true

Make sure that the heap size is set to about half the memory available

on the system and that the owner of the process is allowed to use this

limit.

Elasticsearch performs poorly when the system is swapping the memory.

---------------------------------- Network -----------------------------------

By default Elasticsearch is only accessible on localhost. Set a different

address here to expose this node on the network:

network.host: 192.168.31.19

By default Elasticsearch listens for HTTP traffic on the first free port it

finds starting at 9200. Set a specific HTTP port here:

http.port: 9300

For more information, consult the network module documentation.

--------------------------------- Discovery ----------------------------------

Pass an initial list of hosts to perform discovery when this node is started:

The default list of hosts is ["127.0.0.1", "[::1]"]

#discovery.seed_hosts: ["host1", "host2"]

Bootstrap the cluster using an initial set of master-eligible nodes:

#cluster.initial_master_nodes: ["node-1", "node-2"]

For more information, consult the discovery and cluster formation module documentation.

---------------------------------- Various -----------------------------------

Require explicit names when deleting indices:

#action.destructive_requires_name: true

---------------------------------- Security ----------------------------------

*** WARNING ***

Elasticsearch security features are not enabled by default.

These features are free, but require configuration changes to enable them.

This means that users don't have to provide credentials and can get full access

to the cluster. Network connections are also not encrypted.

To protect your data, we strongly encourage you to enable the Elasticsearch security features.

Refer to the following documentation for instructions.

Configure security for the Elastic Stack | Elasticsearch Guide [7.16] | Elastic

Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:

```
CODE
```

This is the icon to use if you are not using markdown format:

image

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.
Please update your post.

1 Like
# ======================== Elasticsearch Configuration =========================
#
# NOTE: Elasticsearch comes with reasonable defaults for most settings.
#       Before you set out to tweak and tune the configuration, make sure you
#       understand what are you trying to accomplish and the consequences.
#
# The primary way of configuring a node is via this file. This template lists
# the most important settings you may want to configure for a production cluster.
#
# Please consult the documentation for further information on configuration options:
# https://www.elastic.co/guide/en/elasticsearch/reference/index.html
#
# ---------------------------------- Cluster -----------------------------------
#
# Use a descriptive name for your cluster:
#
#cluster.name: my-application
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
#node.name: node-1
#
# Add custom attributes to the node:
#
#node.attr.rack: r1
#
# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#
path.data: /var/lib/elasticsearch
#
# Path to log files:
#
path.logs: /var/log/elasticsearch
#
# ----------------------------------- Memory -----------------------------------
#
# Lock the memory on startup:
#
#bootstrap.memory_lock: true
#
# Make sure that the heap size is set to about half the memory available
# on the system and that the owner of the process is allowed to use this
# limit.
#
# Elasticsearch performs poorly when the system is swapping the memory.
#
# ---------------------------------- Network -----------------------------------
#
# By default Elasticsearch is only accessible on localhost. Set a different
# address here to expose this node on the network:
#
network.host: 0.0.0.0
#
# By default Elasticsearch listens for HTTP traffic on the first free port it
# finds starting at 9200. Set a specific HTTP port here:
#
# http.port: 9200
#
# For more information, consult the network module documentation.
#
# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when this node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
#discovery.seed_hosts: ["host1", "host2"]
#
# Bootstrap the cluster using an initial set of master-eligible nodes:
#
#cluster.initial_master_nodes: ["node-1", "node-2"]
#
# For more information, consult the discovery and cluster formation module documentation.
#
# ---------------------------------- Various -----------------------------------
#
#
# Require explicit names when deleting indices:
#
#action.destructive_requires_name: true
#
# ---------------------------------- Security ----------------------------------
#
#                                 *** WARNING ***
#
# Elasticsearch security features are not enabled by default.
# These features are free, but require configuration changes to enable them.
# This means that users don't have to provide credentials and can get full access
# to the cluster. Network connections are also not encrypted.
#
# To protect your data, we strongly encourage you to enable the Elasticsearch security features.
# Refer to the following documentation for instructions.
#
# https://www.elastic.co/guide/en/elasticsearch/reference/7.16/configuring-stack-security.html
                                                                                      

Just commenting out the network.host setting will be enough to get it to start, listening on localhost only. This may be sufficient for your needs.

Better solution depends on what you are intending to do with elasticsearch going forward.