错误提示信息:
ERROR: [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
解决:
Centos6不支持SecComp,而ES5.2.0默认bootstrap.system_call_filter为true
禁用:在elasticsearch.yml中配置bootstrap.system_call_filter为false,注意要在Memory下面:
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
网上大多数解决办法如上,但是实际操作后发现不生效,原因是以上针对老版本sonar,本人使用最新版sonar7.9.
解决办法如下:
1,修改sonar配置 sonar.properties
sonar.search.javaAdditionalOpts=-Dbootstrap.system_call_filter=false
2,修改 ../sonar/conf 下wrapper.conf
wrapper.java.additional.1=-Dsonar.wrapped=true -Dbootstrap.system_call_filter=false
3, 修改../sonar/elasticsearch/config/elasticsearch.yml Memory下面
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
问题解决,es启动成功
原文地址:https://www.cnblogs.com/AryaZ/p/11392848.html