elasticsearch(4)- 安装的常见报错

es的常见报错

  1. failed to obtain node locks
    绑定节点失败,停止之前elastic的进程
    ps -ef|grep elastic

  2. Exception in thread "main" java.nio.file.AccessDeniedException
    缺少权限,需要给文件夹赋予权限
    chown -R elsearch:elsearch elasticsearch/

  3. ERROR: bootstrap checks failed

vi /etc/security/limits.conf 

添加如下内容:

* soft nofile 65536

* hard nofile 131072

* soft nproc 2048

* hard nproc 4096
  1. Generating a random key for xpack.reporting.encryptionKey.
# 在kibana.yml下添加这两行
xpack.reporting.encryptionKey: "a_random_string"
xpack.security.encryptionKey: "something_at_least_32_characters"
  1. Filebeat :Non-zero metrics in the last 30s
image.png
  1. seccomp unavailable
elasticsearch.yml 文件末尾加上bootstrap.system_call_filter: false

你可能感兴趣的:(elasticsearch(4)- 安装的常见报错)