I can\'t start ElasticSearch 5.6 server on Mac after installing it with Brew. Get this error:
$ /usr/local/opt/elasticsearch@5.6/bin/elasticsearch
Exception in t
The provided answer is correct, however I would just like to add that you can just (re)start elasticsearch after removing the keyfile. It will detect that the file is absent and attempt to generate a new .keystore
file automatically. No need to run the elasticsearch-keystore create
command seperately.