Failed to start elasticsearch.service

Hi,
I am trying to start elasticsearch service using these commands,

sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable elasticsearch.service
sudo systemctl start elasticsearch.service

but i get this,

Failed to start elasticsearch.service: Unit elasticsearch.service failed to load: No such file or directory.

elasticsearch version - 7.4.2
OS - sles12

Hey,

can you use the systemd commands to check for any potential log output? See https://www.elastic.co/guide/en/elasticsearch/reference/7.4/starting-elasticsearch.html#start-es-deb-systemd - also checking log files in /var/log/elasticsearch might help to figure out why starting failed.

Thanks!

--Alex

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