Getting error while starting elastic

Hi Folk

I am new to ELK , i was trying to install ELK on centos 8.4

below is my error
when i was trying to start
sudo systemctl start elasticsearch

[root@ ~]# systemctl status elasticsearch.service
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/elasticsearch.service.d
└─startup-timeout.conf
Active: failed (Result: exit-code) since Thu 2021-08-12 00:47:47 PKT; 47s ago
Docs: https://www.elastic.co
Process: 3480 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILURE)
Main PID: 3480 (code=exited, status=1/FAILURE)

Aug 12 00:47:46 elastic-packpub.local systemd-entrypoint[3480]: at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
Aug 12 00:47:46 elastic-packpub.local systemd-entrypoint[3480]: at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
Aug 12 00:47:46 elastic-packpub.local systemd-entrypoint[3480]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
Aug 12 00:47:46 elastic-packpub.local systemd-entrypoint[3480]: at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
Aug 12 00:47:46 elastic-packpub.local systemd-entrypoint[3480]: at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
Aug 12 00:47:46 elastic-packpub.local systemd-entrypoint[3480]: at java.base/java.lang.Thread.run(Thread.java:831)
Aug 12 00:47:46 elastic-packpub.local systemd-entrypoint[3480]: For complete error details, refer to the log at /var/log/elasticsearch/elasticsearch.log
Aug 12 00:47:47 elastic-packpub.local systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Aug 12 00:47:47 elastic-packpub.local systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
Aug 12 00:47:47 elastic-packpub.local systemd[1]: Failed to start Elasticsearch.

[root@elastic-packpub ~]# tail -f /var/log/elasticsearch/elasticsearch.log
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) ~[?:?]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) ~[?:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) ~[?:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) ~[?:?]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[?:?]
at java.lang.Thread.run(Thread.java:831) [?:?]
[2021-08-12T00:47:47,128][INFO ][o.e.n.Node ] [elastic-packpub.local] stopping ...
[2021-08-12T00:47:47,146][INFO ][o.e.n.Node ] [elastic-packpub.local] stopped
[2021-08-12T00:47:47,147][INFO ][o.e.n.Node ] [elastic-packpub.local] closing ...
[2021-08-12T00:47:47,169][INFO ][o.e.n.Node ] [elastic-packpub.local] closed
^C
[root@#

Welcome to our community! :smiley:

Can you please look at that and post it.

Can you please check

[root@elastic-packpub ~]# tail -f /var/log/elasticsearch/elasticsearch.log
[2021-08-12T15:18:23,058][INFO ][o.e.x.w.WatcherService ] [elastic-packpub.local] stopping watch service, reason [shutdown initiated]
[2021-08-12T15:18:23,059][INFO ][o.e.x.w.WatcherLifeCycleService] [elastic-packpub.local] watcher has stopped and shutdown
[2021-08-12T15:18:23,060][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [elastic-packpub.local] [controller/3722] [Main.cc@169] ML controller exiting
[2021-08-12T15:18:23,072][INFO ][o.e.x.m.p.NativeController] [elastic-packpub.local] Native controller process has stopped - no new native processes can be started
[2021-08-12T15:18:23,490][INFO ][o.e.n.Node ] [elastic-packpub.local] stopped
[2021-08-12T15:18:23,491][INFO ][o.e.n.Node ] [elastic-packpub.local] closing ...
[2021-08-12T15:18:23,529][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [elastic-packpub.local] evicted [0] entries from cache after reloading database [/tmp/elasticsearch-183052166999575773/geoip-databases/_mddUAvEQ12hRr68b0sZmQ/GeoLite2-Country.mmdb]
[2021-08-12T15:18:23,529][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [elastic-packpub.local] evicted [0] entries from cache after reloading database [/tmp/elasticsearch-183052166999575773/geoip-databases/_mddUAvEQ12hRr68b0sZmQ/GeoLite2-ASN.mmdb]
[2021-08-12T15:18:23,529][INFO ][o.e.i.g.DatabaseReaderLazyLoader] [elastic-packpub.local] evicted [0] entries from cache after reloading database [/tmp/elasticsearch-183052166999575773/geoip-databases/_mddUAvEQ12hRr68b0sZmQ/GeoLite2-City.mmdb]
[2021-08-12T15:18:23,531][INFO ][o.e.n.Node ] [elastic-packpub.local] closed

Is there more before that?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.