ELKピットの旅
1465 ワード
yumを使用してelasticsearchをアップグレードするとelasticsearchサービスを再起動できません
elasticsearch.logログファイルを表示するには、次のヒントがあります.
解決方法:
サービスを再起動し、成功しました.
jvm.optionsファイルの
elasticsearch.logログファイルを表示するには、次のヒントがあります.
解決:プロンプトに従って
サービスを再起動し、成功しました.
elasticsearch.logログファイルを表示するには、次のヒントがあります.
java.lang.IllegalArgumentException: Plugin [ingest-geoip] was built for Elasticsearch version 6.5.1 but version 6.5.3 is running
解決方法:
# bin/elasticsearch-plugin remove ingest-geoip
# bin/elasticsearch-plugin install ingest-geoip
サービスを再起動し、成功しました.
jvm.optionsファイルの
JVM heap size
の設定を変更すると起動できませんelasticsearch.logログファイルを表示するには、次のヒントがあります.
[2018-12-14T09:28:23,603][WARN ][o.e.b.JNANatives ] [xxx] Unable to lock JVM Memory: error=12, reason=Cannot allocate memory
[2018-12-14T09:28:23,610][WARN ][o.e.b.JNANatives ] [xxx] This can result in part of the JVM being swapped out.
[2018-12-14T09:28:23,610][WARN ][o.e.b.JNANatives ] [xxx] Increase RLIMIT_MEMLOCK, soft limit: 65536, hard limit: 65536
[2018-12-14T09:28:23,611][WARN ][o.e.b.JNANatives ] [xxx] These can be adjusted by modifying /etc/security/limits.conf, for example:
# allow user 'elasticsearch' mlockall
elasticsearch soft memlock unlimited
elasticsearch hard memlock unlimited
解決:プロンプトに従って
/etc/security/limits.conf
ファイルを修正し、以下の内容を追加します. elasticsearch soft memlock unlimited
elasticsearch hard memlock unlimited
サービスを再起動し、成功しました.