ElasticSearch 5.6 cannot start on Mac OS

前端 未结 1 398
予麋鹿
予麋鹿 2021-02-09 03:47

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         


        
1条回答
  •  梦谈多话
    2021-02-09 04:35

    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
    

    0 讨论(0)
提交回复
热议问题