Elasticsearch.service has failed (code=exited, status=143)

I'm a "bit" lost with this Elasticsearch installation (for Magento). I was following the installation for Centos Install Elasticsearch with RPM | Elasticsearch Guide [7.14] | Elastic

Unfortunately Elasticsearch is not starting. All advices/tips are welcome!

Thanks in advance.


systemctl start elasticsearch.service

Sep 01 06:58:49 instance-2 systemd[1]: Starting Elasticsearch...
-- Subject: Unit elasticsearch.service has begun start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit elasticsearch.service has begun starting up.
Sep 01 06:58:52 instance-2 sshd[3466]: Invalid user user from x.x.x.x port 64078
Sep 01 06:58:52 instance-2 sshd[3466]: Connection closed by invalid user user x.x.x.x port 64078 [preauth]
Sep 01 07:05:10 instance-2 sssd[sssd][735]: Child [2924] ('implicit_files':'%BE_implicit_files') was terminated by own WATCHDOG. Consult corresponding logs to figure out the reason.
Sep 01 07:05:42 instance-2 sssd[sssd][735]: Child [2956] ('nss':'nss') was terminated by own WATCHDOG. Consult corresponding logs to figure out the reason.
Sep 01 07:12:01 instance-2 GCEGuestAgent[1197]: 2021-09-01T07:09:12.2899Z GCEGuestAgent Error main.go:178: Error watching metadata: Get /computeMetadata/v1//?recursive=true&alt=json&wait_for_change=true&timeout_sec=60&last_etag=6c6fdc67ab1e1388: net/http: request canceled while waiting for con>
Sep 01 07:13:44 instance-2 NetworkManager[799]: <info>  [1630480422.6843] dhcp4 (eth0): state changed extended -> extended, address=x.x.x.x
Sep 01 07:14:45 instance-2 CROND[3545]: (root) CMD (run-parts /etc/cron.hourly)
Sep 01 07:14:48 instance-2 systemd[1]: elasticsearch.service: start operation timed out. Terminating.
Sep 01 07:16:17 instance-2 dbus-daemon[737]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.8' (uid=0 pid=799 comm="/usr/sbin/NetworkManager --no-daemon " label="system_u:system_r:NetworkManager_t:s0")
Sep 01 07:16:18 instance-2 systemd[1]: Starting Network Manager Script Dispatcher Service...
-- Subject: Unit NetworkManager-dispatcher.service has begun start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit NetworkManager-dispatcher.service has begun starting up.
Sep 01 07:16:18 instance-2 sshd[3537]: Invalid user user from x.x.x.x port 28449
Sep 01 07:16:18 instance-2 systemd[1]: elasticsearch.service: Failed with result 'timeout'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- The unit elasticsearch.service has entered the 'failed' state with result 'timeout'.
Sep 01 07:16:18 instance-2 systemd[1]: Failed to start Elasticsearch.
-- Subject: Unit elasticsearch.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit elasticsearch.service has failed.
--
-- The result is failed.

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:

It'd be really helpful if you could post your (formatted) log from /var/log/elasticsearch.

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