Elasticsearch failed to start on CentOS 7

After installing elasticsearch on CentOS 7, it failed to start with error

On checking journalctl, i get

To fix this, edit file

At end of the file, add

Now elasticsearch will start

elasticsearch CentOS 7 error

Verify service is running with

To confirm elasticsearch is running, use command

See elasticsearch

Leave a Reply

Your email address will not be published. Required fields are marked *