We are running our elastic servers on Ubuntu 16.x servers. The services have been enabled. The version of elastic 7.2. Entire path has been included in the .service file and it was installed as a tar file. The symbolic link to start the service is correct/has the proper path because the service file can be found. However, on reboot when checking the status this is the message it shows
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
When trying to start the service this error comes up.
Failed to start elasticsearch.service: Unit elasticsearch.service not found.
The only way to fix it is to do a daemon-reload, however, on previous test servers this is not needed as the service is able to start on server reboot, by itself.
The logs for elasticsearch show nothing and neither does the journalctl -u elasticsearch