es的常见报错
failed to obtain node locks
绑定节点失败,停止之前elastic的进程
ps -ef|grep elasticException in thread "main" java.nio.file.AccessDeniedException
缺少权限,需要给文件夹赋予权限
chown -R elsearch:elsearch elasticsearch/ERROR: bootstrap checks failed
vi /etc/security/limits.conf
添加如下内容:
* soft nofile 65536
* hard nofile 131072
* soft nproc 2048
* hard nproc 4096
- Generating a random key for xpack.reporting.encryptionKey.
# 在kibana.yml下添加这两行
xpack.reporting.encryptionKey: "a_random_string"
xpack.security.encryptionKey: "something_at_least_32_characters"
- Filebeat :Non-zero metrics in the last 30s
- seccomp unavailable
elasticsearch.yml 文件末尾加上bootstrap.system_call_filter: false