Error to start elastic search

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.

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
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.

Welcome to our community! :smiley:

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

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