本文介绍了elasticsearch将不会启动:存在Seccomp,但是引导检查失败(Centos 7/ES 6.4.2)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
CentOS Linux版本7.5.1804(核心)
CentOS Linux release 7.5.1804 (Core)
配置生产集群,ES拒绝启动:
Configuring a production cluster, and ES refuses to start:
1:33:56,454][INFO ][o.e.t.TransportService ] [node-68795-C] publish_address {192.168.200.162:9300}, bound_addresses {192.168.200.162:9300}
[2018-10-28T21:33:56,467][INFO ][o.e.b.BootstrapChecks ] [node-68795-C] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2018-10-28T21:33:56,494][ERROR][o.e.b.Bootstrap ] [node-68795-C] node validation exception
[1] bootstrap checks failed
[1]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
好,所以我要检查seccomp的存在:
OK, so I go to check the presence of seccomp:
[$]# cat /boot/config-`uname -r` | grep CONFIG_SECCOMP=
CONFIG_SECCOMP=y
[$]# CONFIG_SECCOMP=y
因此,外观和气味都像seccomp.
So, looks and smells like seccomp is present.
接下来是什么?
推荐答案
根本原因:/tmp被挂载为noexec
The root cause: /tmp was mounted as noexec
事实证明,如果/tmp为noexec,则两次或三个引导程序检查将失败.
It turns out that two or three bootstrap checks fail if /tmp is noexec.
解决/tmp,所有其他问题都解决了!
Solve for /tmp, and all the other issues are resolved!
这篇关于elasticsearch将不会启动:存在Seccomp,但是引导检查失败(Centos 7/ES 6.4.2)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!