I am trying to install Elasticsearch 8.4.0 and kibana on Rocky Linux 8.6 using this article.
Both elasticsearch and kibana are active and running but running this cmd:
curl -X GET 'http://localhost:9200'
I get
curl: (7) Failed to connect to localhost port 9200: Connection refused
I also ran netstat and it doesn't show port 9200 or 5601 listening
Logs of /var/log/elasticsearch/elasticsearch.log
[2022-08-25T17:35:14,039][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-monitoring]
[2022-08-25T17:35:14,039][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-ql]
[2022-08-25T17:35:14,040][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-rollup]
[2022-08-25T17:35:14,040][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-security]
[2022-08-25T17:35:14,040][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-shutdown]
[2022-08-25T17:35:14,040][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-sql]
[2022-08-25T17:35:14,040][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-stack]
[2022-08-25T17:35:14,040][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-text-structure]
[2022-08-25T17:35:14,040][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-voting-only-node]
[2022-08-25T17:35:14,041][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-watcher]
[2022-08-25T17:35:14,041][INFO ][o.e.p.PluginsService ] [node-1] no plugins loaded
[2022-08-25T17:35:18,454][INFO ][o.e.e.NodeEnvironment ] [node-1] using [1] data paths, mounts [[/ (/dev/sda1)]], net usable_space [6.4gb], net total_space [19.9gb], types [xfs]
[2022-08-25T17:35:18,454][INFO ][o.e.e.NodeEnvironment ] [node-1] heap size [1.4gb], compressed ordinary object pointers [true]
[2022-08-25T17:35:18,586][INFO ][o.e.n.Node ] [node-1] node name [node-1], node ID [_vCEMBokSMaMyYLk4msUog], cluster name [elasticsearch], roles [data_hot, transform, data_content, data_warm, master, remote_cluster_client, data, data_cold, ingest, data_frozen, ml]
[2022-08-25T17:35:25,111][INFO ][o.e.x.s.Security ] [node-1] Security is enabled
[2022-08-25T17:35:25,440][INFO ][o.e.x.s.a.s.FileRolesStore] [node-1] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
[2022-08-25T17:35:26,022][INFO ][o.e.x.s.InitialNodeSecurityAutoConfiguration] [node-1] Auto-configuration will not generate a password for the elastic built-in superuser, as we cannot determine if there is a terminal attached to the elasticsearch process. You can use the `bin/elasticsearch-reset-password` tool to set the password for the elastic user.
[2022-08-25T17:35:26,407][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [node-1] [controller/1940450] [Main.cc@123] controller (64 bit): Version 8.4.0 (Build 70eefc6b414c79) Copyright (c) 2022 Elasticsearch BV
[2022-08-25T17:35:27,272][INFO ][o.e.t.n.NettyAllocator ] [node-1] 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}]
[2022-08-25T17:35:27,308][INFO ][o.e.i.r.RecoverySettings ] [node-1] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
[2022-08-25T17:35:27,348][INFO ][o.e.d.DiscoveryModule ] [node-1] using discovery type [multi-node] and seed hosts providers [settings]
[2022-08-25T17:35:29,701][INFO ][o.e.n.Node ] [node-1] initialized
[2022-08-25T17:35:29,702][INFO ][o.e.n.Node ] [node-1] starting ...
[2022-08-25T17:35:29,808][INFO ][o.e.x.s.c.f.PersistentCache] [node-1] persistent cache index loaded
[2022-08-25T17:35:29,808][INFO ][o.e.x.d.l.DeprecationIndexingComponent] [node-1] deprecation component started
[2022-08-25T17:35:30,147][INFO ][o.e.t.TransportService ] [node-1] publish_address {127.0.0.1:9300}, bound_addresses {127.0.0.1:9300}
[2022-08-25T17:35:30,872][WARN ][o.e.c.c.ClusterBootstrapService] [node-1] this node is locked into cluster UUID [dkdCh8ORSw69OXZKEqWKwg] but [cluster.initial_master_nodes] is set to [loganalysisclass1.novalocal]; remove this setting to avoid possible data loss caused by subsequent cluster bootstrap attempts
[2022-08-25T17:35:31,191][INFO ][o.e.c.s.MasterService ] [node-1] elected-as-master ([1] nodes joined)[_FINISH_ELECTION_, {node-1}{_vCEMBokSMaMyYLk4msUog}{t7EV2_RCQTmGxOetLmjIPQ}{node-1}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw} completing election], term: 11, version: 89, delta: master node changed {previous [], current [{node-1}{_vCEMBokSMaMyYLk4msUog}{t7EV2_RCQTmGxOetLmjIPQ}{node-1}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]}
[2022-08-25T17:35:31,364][INFO ][o.e.c.s.ClusterApplierService] [node-1] master node changed {previous [], current [{node-1}{_vCEMBokSMaMyYLk4msUog}{t7EV2_RCQTmGxOetLmjIPQ}{node-1}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}]}, term: 11, version: 89, reason: Publication{term=11, version=89}
[2022-08-25T17:35:31,423][INFO ][o.e.r.s.FileSettingsService] [node-1] starting file settings watcher ...
[2022-08-25T17:35:31,519][INFO ][o.e.r.s.FileSettingsService] [node-1] file settings service up and running [tid=46]
[2022-08-25T17:35:31,528][INFO ][o.e.h.AbstractHttpServerTransport] [node-1] publish_address {10.0.98.168:9200}, bound_addresses {[::]:9200}
[2022-08-25T17:35:31,528][INFO ][o.e.n.Node ] [node-1] started {node-1}{_vCEMBokSMaMyYLk4msUog}{t7EV2_RCQTmGxOetLmjIPQ}{node-1}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{ml.max_jvm_size=1564475392, ml.allocated_processors=1, xpack.installed=true, ml.machine_memory=3129405440}
[2022-08-25T17:35:31,757][INFO ][o.e.l.LicenseService ] [node-1] license [0483c333-2106-4c53-956e-1fac5ecdec59] mode [basic] - valid
[2022-08-25T17:35:31,758][INFO ][o.e.x.s.a.Realms ] [node-1] license mode is [basic], currently licensed security realms are [reserved/reserved,file/default_file,native/default_native]
[2022-08-25T17:35:31,780][INFO ][o.e.g.GatewayService ] [node-1] recovered [1] indices into cluster_state
[2022-08-25T17:35:32,056][ERROR][o.e.i.g.GeoIpDownloader ] [node-1] exception during geoip databases update
org.elasticsearch.ElasticsearchException: not all primary shards of [.geoip_databases] index are active
at org.elasticsearch.ingest.geoip.GeoIpDownloader.updateDatabases(GeoIpDownloader.java:134) ~[?:?]
at org.elasticsearch.ingest.geoip.GeoIpDownloader.runDownloader(GeoIpDownloader.java:274) ~[?:?]
at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:102) ~[?:?]
at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:48) ~[?:?]
at org.elasticsearch.persistent.NodePersistentTasksExecutor$1.doRun(NodePersistentTasksExecutor.java:42) ~[elasticsearch-8.4.0.jar:?]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:769) ~[elasticsearch-8.4.0.jar:?]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26) ~[elasticsearch-8.4.0.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[2022-08-25T17:35:33,003][INFO ][o.e.c.r.a.AllocationService] [node-1] current.health="GREEN" message="Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.geoip_databases][0]]])." previous.health="RED" reason="shards started [[.geoip_databases][0]]"
[2022-08-25T17:35:33,421][INFO ][o.e.i.g.DatabaseNodeService] [node-1] successfully loaded geoip database file [GeoLite2-Country.mmdb]
[2022-08-25T17:35:33,515][INFO ][o.e.i.g.DatabaseNodeService] [node-1] successfully loaded geoip database file [GeoLite2-ASN.mmdb]
[2022-08-25T17:35:34,489][INFO ][o.e.i.g.DatabaseNodeService] [node-1] successfully loaded geoip database file [GeoLite2-City.mmdb]
[2022-08-25T17:36:32,520][WARN ][o.e.t.ThreadPool ] [node-1] execution of [org.elasticsearch.cluster.InternalClusterInfoService$RefreshScheduler$$Lambda$6355/0x0000000801bd27c0@7db894b8] took [28704ms] which is above the warn threshold of [5000ms]
Please assist.