[ELK] ERROR: [2] bootstrap checks failed報錯解決方法
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】
修改/etc/security/limits.conf在最後新增
* soft nofile 65536
* hard nofile 131072
【2】
解決辦法:
1、切換到root使用者修改配置sysctl.conf
vi /etc/sysctl.conf
- 1
新增下面配置:
vm.max_map_count=655360
- 1
並執行命令:
sysctl -p
- 1
然後,重新啟動elasticsearch,即可啟動成功。
啟動logstash報錯 Unrecognized VM option 'UseParNewGC'
解決措施:刪去config資料夾下的jvm.options配置檔案中的-XX:UseParNewGC
相關推薦
[ELK] ERROR: [2] bootstrap checks failed報錯解決方法
ERROR: [2] bootstrap checks failed [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536] [2]
ORA-09817: Write to audit file failed 報錯解決辦法
ora-09817 archivelog 上午開虛擬機登錄數據庫的時候,突然就報錯:ORA-09817: Write to audit file failed寫入失敗?不會是磁盤滿了吧?當然,no space left on device提示的很明顯,df -h 查詢一下,果然100%了:馬上搜羅下o
SQLyog恢復數據庫報錯解決方法【Error Code: 2006 - MySQL server has gone away】
bsp -s share con usr sqlyog owin depend def https://blog.csdn.net/niqinwen/article/details/8693044 導入數據庫的時候 SQLyog 報錯了 Error Code: 20
QML使用webkit載入網頁報錯解決方法 qml: Error creating SSL context ()
折騰了三天!!!!! QT簡直是太坑爹了!!!!!! QML載入網頁,用webkit,webview總是載入不出來網頁!!!!!! 最後列印了錯誤,發現是SSL不對,看網上好多人說要重新安裝OPENSSL,好複雜好複雜,最後發現就是QT執行時候缺少了兩個dll!!!!!!!!!!!!!!
Hbase報錯解決方法ERROR: KeeperErrorCode = NoNode for /hbase/master
hbase放了一段時間之後,發現執行命令時報NoNode for /hbase/master異常,其他如create等等命令也是如此,詳細報錯資訊如下: hbase(main):005:0> s
使用WebStorm 報錯解決方法!!Unable to save settings: Failed to save settings (內含註冊碼破解碼)
Unable to save settings: Failed to save settings. Please restart WebStorm。 Unable to save settings: Failed to save settings. Please resta
Failed to resolve: com.android.support:appcompat-v7:27.+ 報錯解決方法
app module build.gradle dependencies中預設配置如下: dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile(
'com.android.tools.build:gradle:2.3.0' 版本報錯解決Plugin used. Try disabling Instant Run (or updating. ..
今天下載路由框架原始碼進行閱讀的時候,gradle 報錯了,“Plugin used. Try disabling Instant Run (or updating either the IDE or the Gradle plugin to the latest vers
SQLyog恢復資料庫報錯解決方法【Error Code: 2006
匯入資料庫的時候 SQLyog 報錯了 Error Code: 2006 – MySQL server has gone away 搜了下,說是max_allowed_packet (MySQL的一個引數)設定的值不夠大。 那我改下就行了 嘿嘿 In Window
DedeCMS Error: (PHP 5.3 and above) Please set 'request_order' ini value to i報錯解決方法
這一般出現在新主機,老版本的dedecms上,看提示就知道,需要改伺服器的php.ini配置檔案,但是一般大家用的都是虛擬主機,沒有許可權修改,所以我們還是改dedecms檔案吧,把這個報錯執行程式碼
【Python3報錯解決方法】Fatal error in launcher: Unable to create process using '"'
windows下python2,python3並存,用pip3安裝pygame或者其他第三方庫時,報錯如下: Fatal error in launcher: Unable to create process using '"' 解決方法: C:\
Error instantiating class book.pojo.User with invalid types () or values (). 報錯解決方法
錯誤提示程式碼: Error instantiating class book.pojo.User with invalid types () or values (). Cause: java.la
zabbix源碼安裝流程及報錯解決方法
zabbixzabbix源碼安裝流程及報錯解決方法一. zabbix的介紹1) zabbix是什麽zabbix是一款基於web頁面的、開源的、企業級的,支持分布式部署的監控軟件。2)2.zabbix的作用監控windows和Linux主機上的軟硬件狀態。監控各網絡設備,如路由器、交換機、防火墻、f5、打印機等
Python2.7升級到3.0 HTMLTestrunner報錯解決方法
html testrunner 無法運行 裝了python 3.0後會出現運行HTMLTestrunner報錯,因為裏面的腳本還是用的2.7版本上的 語法。現在將需要修改的地方總結如下: 打開你的HTMLTestruner.py文件:第94行,將import StringIO修改成import i
運行Tomcat報錯 解決方法
env body href java packages not found orm oca csdn 運行Tomcat報錯 解決方法 運行Tomcat控制臺報錯: The APR based Apache Tomcat Native library which all
org.apache.catalina.LifecycleException報錯解決方法
實用 star tex otf run 下午 ros r.java contex 嚴重: A child container failed during startjava.util.concurrent.ExecutionException: org.apache.cat
CentOS7下使用rpm-gpg-key-epel-6報錯解決方法
centos7今天遇到一個在CentOS7下用rpm-gpg-key-epel-6的文件安裝yum install gridengine-6.2u5-10.el6.4.x86_64 gridengine-devel-6.2u5-10.el6.4.x86_64 gridengine-execd-6.2u5-10
gulp/webpack運行sass報錯解決方法
cnp 找到 創建 alt nod 同事 blog release 官網 幫同事安裝gulp和webpack運行環境,使用cnpm install安裝node-sass之後,運行項目總是報錯,提示vendor目錄不存在,幾番百度之後,找到處理方法,這裏記錄一筆,防止以後遇到
已經設置utf8的mysql cmd中插入中文執行報錯解決方法
客戶 res img 說明 設置 -1 bsp 插入 gbk 說明cmd客戶端的字符集是gbk,結果集也要設置為gbk。 使用語句 set character_set_client=gbk; set character_set_results=gbk; 就
vuex2中使用mapMutations/mapActions報錯解決方法 BabelLoaderError: SyntaxError: Unexpected token
int cte 使用 gin ets lin ade vue 編譯 在嘗鮮vuex2時,發現vuex2增加了 mapGetters 和 mapActions 的方法,借助stage2的 Object Rest Operator 特性,可以寫出下面代碼:methods: {