這篇文章主要介紹了es啟動(dòng)報(bào)錯(cuò)bootstrap checks failed如何解決,具有一定借鑒價(jià)值,需要的朋友可以參考下。下面就和我一起來(lái)看看吧。

修改elasticsearch.yml配置文件,允許外網(wǎng)訪(fǎng)問(wèn)。
vim config/elasticsearch.yml
# 增加
network.host: 0.0.0.0
啟動(dòng)失敗,檢查沒(méi)有通過(guò),報(bào)錯(cuò)
[2018-05-18T17:44:59,658][INFO ][o.e.b.BootstrapChecks ] [gFOuNlS] bound or publishing to a non-loopback address, enforcing bootstrap checks
ERROR: [2] bootstrap checks failed
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
[2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[1]: max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536]
編輯 /etc/security/limits.conf,追加以下內(nèi)容;
* soft nofile 65536
* hard nofile 65536
此文件修改后需要重新登錄用戶(hù),才會(huì)生效
[2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
編輯 /etc/sysctl.conf,追加以下內(nèi)容:
vm.max_map_count=655360
保存后,執(zhí)行:
sysctl -p
重新啟動(dòng),成功。
以上就是es啟動(dòng)報(bào)錯(cuò)bootstrap checks failed如何解決的詳細(xì)內(nèi)容了,看完之后是否有所收獲呢?如果想了解更多相關(guān)內(nèi)容,歡迎來(lái)創(chuàng)新互聯(lián)行業(yè)資訊!
標(biāo)題名稱(chēng):es啟動(dòng)報(bào)錯(cuò)bootstrapchecksfailed如何解決-創(chuàng)新互聯(lián)
文章分享:http://www.jbt999.com/article46/shshg.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供動(dòng)態(tài)網(wǎng)站、用戶(hù)體驗(yàn)、品牌網(wǎng)站制作、網(wǎng)站策劃、網(wǎng)站設(shè)計(jì)公司、網(wǎng)站排名
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶(hù)投稿、用戶(hù)轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀(guān)點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話(huà):028-86922220;郵箱:[email protected]。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容