# Getting error while starting elastic

**URL:** <https://discuss.elastic.co/t/getting-error-while-starting-elastic/281108>\
**Category:** Elasticsearch\
**Created:** [August 11, 2021, 6:51pm UTC](https://discuss.elastic.co/t/getting-error-while-starting-elastic/281108 "2021-08-11T18:51:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Faizan\_Khurshid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/faizan_khurshid/32/78041_2.png) [@Faizan\_Khurshid](https://discuss.elastic.co/u/Faizan_Khurshid)\
**Post date:** [August 11, 2021, 6:51pm UTC](https://discuss.elastic.co/t/getting-error-while-starting-elastic/281108/1 "2021-08-11T18:51:45Z")

</div>

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](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@#

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 12, 2021, 9:28am UTC](https://discuss.elastic.co/t/getting-error-while-starting-elastic/281108/2 "2021-08-12T09:28:40Z")

</div>

Welcome to our community! 😃

> [@Faizan\_Khurshid](#):
>
> For complete error details, refer to the log at /var/log/elasticsearch/elasticsearch.log

Can you please look at that and post it.

---

<div class="post-metadata">

**Author:** ![Faizan\_Khurshid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/faizan_khurshid/32/78041_2.png) [@Faizan\_Khurshid](https://discuss.elastic.co/u/Faizan_Khurshid)\
**Post date:** [August 12, 2021, 10:21am UTC](https://discuss.elastic.co/t/getting-error-while-starting-elastic/281108/3 "2021-08-12T10:21:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 12, 2021, 10:24am UTC](https://discuss.elastic.co/t/getting-error-while-starting-elastic/281108/4 "2021-08-12T10:24:17Z")

</div>

Is there more before that?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 9, 2021, 10:24am UTC](https://discuss.elastic.co/t/getting-error-while-starting-elastic/281108/5 "2021-09-09T10:24:47Z")

</div>

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