ES 5.x安裝問題

centos6.5 安裝ES5.4

ERROR: bootstrap checks failed

system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own riskgit

緣由:

這是在由於Centos6不支持SecComp,而ES5.2.0默認bootstrap.system_call_filter爲true進行檢測,因此致使檢測失敗,失敗後直接致使ES不能啓動。github

解決:

在elasticsearch.yml中配置bootstrap.system_call_filter爲false,注意要在Memory下面: bootstrap.memory_lock: false bootstrap.system_call_filter: falsebootstrap

能夠查看issues https://github.com/elastic/elasticsearch/issues/22899centos

ERROR: bootstrap checks failed

max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]elasticsearch

臨時設置:sudo sysctl -w vm.max_map_count=262144

永久修改:

修改/etc/sysctl.conf 文件,添加 「vm.max_map_count」設置 並執行:sysctl -p.net

參考

Elasticsearch5.2.0部署過程的坑 http://blog.csdn.net/xzw_123/article/details/46878459blog

相關文章
相關標籤/搜索