I can't start elastcsearch

type or paste code here

STATUS:
● elasticsearch.service - Elasticsearch
Loaded: loaded (/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
Active: failed (Result: timeout) since Wed 2021-06-09 08:37:03 EDT; 3min 7s ago
Docs: https://www.elastic.co
Process: 3412 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=143)
Main PID: 3412 (code=exited, status=143)

Jun 09 08:35:46 stathis systemd[1]: Starting Elasticsearch...
Jun 09 08:37:01 stathis systemd[1]: elasticsearch.service: start operation timed out. Terminating.
Jun 09 08:37:03 stathis systemd[1]: elasticsearch.service: Failed with result 'timeout'.
Jun 09 08:37:03 stathis systemd[1]: Failed to start Elasticsearch.

journalctl -xe:
root@stathis:/home/stathis# journalctl -xe
Jun 09 08:35:34 stathis systemd-entrypoint[3184]: at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
Jun 09 08:35:34 stathis systemd-entrypoint[3184]: at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
Jun 09 08:35:34 stathis systemd-entrypoint[3184]: at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:581)
Jun 09 08:35:34 stathis systemd-entrypoint[3184]: at org.elasticsearch.transport.ClusterConnectionManager.(ClusterConnectionManager.java:37)
Jun 09 08:35:34 stathis systemd-entrypoint[3184]: ... 14 more
Jun 09 08:35:36 stathis systemd[1]: elasticsearch.service: Failed with result 'timeout'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support

-- The unit elasticsearch.service has entered the 'failed' state with result 'timeout'.
Jun 09 08:35:36 stathis systemd[1]: Failed to start Elasticsearch.
-- Subject: A start job for unit elasticsearch.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support

-- A start job for unit elasticsearch.service has finished with a failure.

-- The job identifier is 2061 and the job result is failed.
Jun 09 08:35:46 stathis systemd[1]: Starting Elasticsearch...
-- Subject: A start job for unit elasticsearch.service has begun execution
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support

-- A start job for unit elasticsearch.service has begun execution.

-- The job identifier is 2207.
Jun 09 08:37:01 stathis systemd[1]: elasticsearch.service: start operation timed out. Terminating.
Jun 09 08:37:03 stathis systemd[1]: elasticsearch.service: Failed with result 'timeout'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support

-- The unit elasticsearch.service has entered the 'failed' state with result 'timeout'.
Jun 09 08:37:03 stathis systemd[1]: Failed to start Elasticsearch.
-- Subject: A start job for unit elasticsearch.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support

-- A start job for unit elasticsearch.service has finished with a failure.

-- The job identifier is 2207 and the job result is failed.
Jun 09 08:37:07 stathis pulseaudio[1636]: ALSA woke us up to write new data to the device, but there was actually nothing to write.
Jun 09 08:37:07 stathis pulseaudio[1636]: Most likely this is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to the ALSA developers.
Jun 09 08:37:07 stathis pulseaudio[1636]: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Jun 09 08:38:34 stathis nautilus[2359]: Called "net usershare info" but it failed: Failed to execute child process “net” (No such file or directory)
Jun 09 08:39:16 stathis snapd[716]: autorefresh.go:467: Cannot prepare auto-refresh change due to a permanent network error: persistent network error: Post https://api.snapcraft.io/v2/snaps/refresh: dia>
Jun 09 08:39:16 stathis snapd[716]: stateengine.go:150: state ensure error: persistent network error: Post https://api.snapcraft.io/v2/snaps/refresh: dial tcp: lookup api.snapcraft.io: Temporary failure>
lines 2793-2840/2840 (END)

ANY IDEA?`Preformatted text

please go through this topic. Failed to start elastic search

Welcome to our community! :smiley:

Please format your code/logs/config using the </> button, or markdown style back ticks. It helps to make things easy to read which helps us help you :slight_smile:

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