I just installed elastic search on my ubuntu VM and I’m trying to run it for the first time but encountering errors.
I’m doing everything according to this tutorial: digitalocean
when I add the lines:
. . . discovery.type: single-node xpack.security.enabled: true
to the end of the elasticsearch.yml file, I get an error:
elasticsearch.service: Failed with result ‘exit-code’
but without it I won’t have xpack enabled and can’t continue to the next steps in the tutorial.
any ideas what I should do?