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
I just had the same issue, and regenerating the keystore fixed the problem for me. Here are the steps I took:
Backup the existing keystore:
cd /usr/local/etc/elasticsearch/
mv elasticsearch.keystore elasticsearch.keystore.old
Generate the new keystore:
cd /usr/local/Cellar/elasticsearch@5.6/5.6.15/libexec/bin/
elasticsearch-keystore create