启动Sonar报错,ERROR: [1] bootstrap checks failed [1]: system call filters failed to install

Posted aryaz

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了启动Sonar报错,ERROR: [1] bootstrap checks failed [1]: system call filters failed to install相关的知识,希望对你有一定的参考价值。

错误提示信息:

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启动成功

以上是关于启动Sonar报错,ERROR: [1] bootstrap checks failed [1]: system call filters failed to install的主要内容,如果未能解决你的问题,请参考以下文章

sonar6.7启动报错: can not run elasticsearch as root

Spring Boot整合Elasticsearch启动报错

tomcat的报错问题

tomcat 后台报 503 错

spring boot启动报错 application startup failed怎么解决

spring boot启动报错application startup failed怎么解决?