elasticsearch will not start: Seccomp is present, but bootstrap check fails (Centos 7 / ES 6.4.2) [closed]

前提是你 提交于 2019-12-25 20:03:25

问题


CentOS Linux release 7.5.1804 (Core)

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

OK, so I go to check the presence of seccomp:

[$]# cat /boot/config-`uname -r` | grep CONFIG_SECCOMP=
CONFIG_SECCOMP=y
[$]# CONFIG_SECCOMP=y

So, looks and smells like seccomp is present.

What next?


回答1:


The root cause: /tmp was mounted as noexec

It turns out that two or three bootstrap checks fail if /tmp is noexec.

Solve for /tmp, and all the other issues are resolved!



来源:https://stackoverflow.com/questions/53047269/elasticsearch-will-not-start-seccomp-is-present-but-bootstrap-check-fails-cen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!