1、ES启动报错
1、ERROR: [1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch.
bootstrap check failure [1] of [1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
ERROR: Elasticsearch did not exit normally - check the logs at /usr/share/elasticsearch/logs/my-es.log
解决方法:
在elasticsearch.yml 中添加:
discovery.seed_hosts: ["127.0.0.1", "[::1]"]
cluster.initial_master_nodes: ["node-1"]
然后重新启动elasticsearch,可以发现已经成功启动了:
标签:ELKat,initial,cluster,seed,elasticsearch,hosts,discovery From: https://www.cnblogs.com/yongquan/p/16818932.html