# Error to start elastic search

**URL:** <https://discuss.elastic.co/t/error-to-start-elastic-search/314771>\
**Category:** Elasticsearch\
**Created:** [September 20, 2022, 11:23am UTC](https://discuss.elastic.co/t/error-to-start-elastic-search/314771 "2022-09-20T11:23:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tariqali250](https://avatars.discourse-cdn.com/v4/letter/t/a88e4f/32.png) [@tariqali250](https://discuss.elastic.co/u/tariqali250)\
**Post date:** [September 20, 2022, 11:23am UTC](https://discuss.elastic.co/t/error-to-start-elastic-search/314771/1 "2022-09-20T11:23:01Z")

</div>

# sudo journalctl -f --unit elasticsearch

\<-- Logs begin at Tue 2022-09-20 06:33:24 EDT. --  
Sep 20 07:11:10 localhost.localdomain systemd-entrypoint[3613]: at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)  
Sep 20 07:11:10 localhost.localdomain systemd-entrypoint[3613]: at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469)  
Sep 20 07:11:10 localhost.localdomain systemd-entrypoint[3613]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)  
Sep 20 07:11:10 localhost.localdomain systemd-entrypoint[3613]: at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)  
Sep 20 07:11:10 localhost.localdomain systemd-entrypoint[3613]: at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)  
Sep 20 07:11:10 localhost.localdomain systemd-entrypoint[3613]: at java.base/java.lang.Thread.run(Thread.java:833)  
Sep 20 07:11:10 localhost.localdomain systemd-entrypoint[3613]: For complete error details, refer to the log at /var/log/elasticsearch/wazuh-elk.log  
Sep 20 07:11:11 localhost.localdomain systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE  
Sep 20 07:11:11 localhost.localdomain systemd[1]: elasticsearch.service: Failed with result 'exit-code'.  
Sep 20 07:11:11 localhost.localdomain systemd[1]: Failed to start Elasticsearch.

>

---

<div class="post-metadata">

**Author:** ![tariqali250](https://avatars.discourse-cdn.com/v4/letter/t/a88e4f/32.png) [@tariqali250](https://discuss.elastic.co/u/tariqali250)\
**Post date:** [September 20, 2022, 11:23am UTC](https://discuss.elastic.co/t/error-to-start-elastic-search/314771/2 "2022-09-20T11:23:58Z")

</div>

systemctl status elasticsearch  
● elasticsearch.service - Elasticsearch  
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)  
Active: failed (Result: exit-code) since Tue 2022-09-20 07:04:58 EDT; 3min 14s ago  
Docs: [https://www.elastic.co](https://www.elastic.co)  
Process: 3241 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID\_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILURE)  
Main PID: 3241 (code=exited, status=1/FAILURE)

Sep 20 07:04:57 localhost.localdomain systemd-entrypoint[3241]: at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)  
Sep 20 07:04:57 localhost.localdomain systemd-entrypoint[3241]: at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469)  
Sep 20 07:04:57 localhost.localdomain systemd-entrypoint[3241]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)  
Sep 20 07:04:57 localhost.localdomain systemd-entrypoint[3241]: at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)  
Sep 20 07:04:57 localhost.localdomain systemd-entrypoint[3241]: at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)  
Sep 20 07:04:57 localhost.localdomain systemd-entrypoint[3241]: at java.base/java.lang.Thread.run(Thread.java:833)  
Sep 20 07:04:57 localhost.localdomain systemd-entrypoint[3241]: For complete error details, refer to the log at /var/log/elasticsearch/wazuh-elk.log  
Sep 20 07:04:58 localhost.localdomain systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE  
Sep 20 07:04:58 localhost.localdomain systemd[1]: elasticsearch.service: Failed with result 'exit-code'.  
Sep 20 07:04:58 localhost.localdomain systemd[1]: Failed to start Elasticsearch.

---

<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:** [September 21, 2022, 1:06am UTC](https://discuss.elastic.co/t/error-to-start-elastic-search/314771/3 "2022-09-21T01:06:26Z")

</div>

Welcome to our community! 😃

Please don't just post logs with no other context, it makes it very hard to help you.

---

<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:** [October 19, 2022, 1:07am UTC](https://discuss.elastic.co/t/error-to-start-elastic-search/314771/4 "2022-10-19T01:07:09Z")

</div>

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