elasticsearch启动报错:unable to install syscall filter: java.lang.UnsupportedOperationException: seccomp
文章目录
- 1
- 场景
- 异常
- 解决
1
场景
win10 - linux子系统下启动
异常
[2021-09-12T10:40:53,855][WARN ][o.e.b.JNANatives ] [DESKTOP-BPG73KH] unable to install syscall filter:
java.lang.UnsupportedOperationException: seccomp unavailable: CONFIG_SECCOMP not compiled into kernel, CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER are neededat org.elasticsearch.bootstrap.SystemCallFilter.linuxImpl(SystemCallFilter.java:342) ~[elasticsearch-7.7.0.jar:7.7.0]at org.elasticsearch.bootstrap.SystemCallFilter.init(SystemCallFilter.java:617) ~[elasticsearch-7.7.0.jar:7.7.0] at org.elasticsearch.bootstrap.JNANatives.tryInstallSystemCallFilter(JNANatives.java:260) [elasticsearch-7.7.0.jar:7.7.0]at org.elasticsearch.bootstrap.Natives.tryInstallSystemCallFilter(Natives.java:113) [elasticsearch-7.7.0.jar:7.7.0]at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:116) [elasticsearch-7.7.0.jar:7.7.0]at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178) [elasticsearch-7.7.0.jar:7.7.0]at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:393) [elasticsearch-7.7.0.jar:7.7.0]at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) [elasticsearch-7.7.0.jar:7.7.0]at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) [elasticsearch-7.7.0.jar:7.7.0]at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-7.7.0.jar:7.7.0]at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127) [elasticsearch-cli-7.7.0.jar:7.7.0]at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-7.7.0.jar:7.7.0]at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) [elasticsearch-7.7.0.jar:7.7.0]at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) [elasticsearch-7.7.0.jar:7.7.0]
解决
问题原因:因为 Centos6 不支持 SecComp,而 ES5.2.1 默认bootstrap.system_call_filter 为 true 进行检测,所以导致检测失败,失败后直接导致 ES 不能启动。详见 :https://github.com/elastic/elasticsearch/issues/22899
解决方法:在 elasticsearch.yml
中配置bootstrap.system_call_filter 为 false,注意要在Memory下面:
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
elasticsearch启动报错:unable to install syscall filter: java.lang.UnsupportedOperationException: seccomp相关推荐
- hive启动报错:Exception in thread “main“ java.lang.NoSuchMethodError: com.google.common.base.Precondition
报错如下 Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Precon ...
- Elasticsearch启动报错:Exception in thread “main“ java.nio.file.AccessDeniedException:
在elastic search的目录下进入bin目录 ,启动ES用命令 ./elasticsearch 然后返回错误 Exception in thread "main" java ...
- elasticsearch安装和配置,elasticsearch启动报错:can not run elasticsearch as root
elasticsearch安装和配置 elasticsearch启动报错:can not run elasticsearch as root elasticsearch启动报错:ERROR: [3] ...
- ElasticSearch启动报错RollingFileManager (/xxx/xxx) java.io.FileNotFoundException
ElasticSearch启动报错如下: 2022-03-06 17:22:07,358 main ERROR RollingFileManager (/home/software/elasticse ...
- ElasticSearch启动报错,报ERROR: [3] bootstrap checks failed
ElasticSearch启动报错,报ERROR: [3] bootstrap checks failed 新装es启动时,会遇到以下错误情况: ERROR: [3] bootstrap checks ...
- 【解决】win10下emqx启动报错Unable to load emulator DLL、node.db_role = EMQX_NODE__DB_ROLE = core
问题描述1: 启动时报错:win10下emqx启动报错 Unable to load emulator DLL D:\Applications_installed\emqx-5.0.4-windows ...
- Linux安装ElasticSearch启动报错的解决方法
Linux安装ElasticSearch后,ElasticSearch是不能用root用户启动的,以root用户启动会报错Refer to the log for complete error det ...
- Docker Quickstart Terminal启动报错“Unable to verify the Docker daemon”和步骤“Finalize”出错
Docker Quickstart Terminal启动报错"Unable to verify the Docker daemon"和步骤"Finalize"出 ...
- 【Java】Kryo运行报错:Exception in thread “main“ java.lang.IllegalArgumentException:Class is not registered
练习代码如下: import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.io.Input; import com ...
最新文章
- iOS多线程全套:线程生命周期,多线程的四种解决方案,线程安全问题,GCD的使用,NSOperation的使用(下)
- 青岛旅游学校计算机证书,【我和我的旅校】青岛旅游学校优秀毕业生郭千瑜
- 【转】Office2003与Office2007/2010共存方法
- 密码学系列之:PEM和PKCS7,PKCS8,PKCS12
- JDK1.8 下载及安装步骤
- 欧创芯原装OC 5209芯片降压型 LED 恒流驱动器,SOT89-5 封装
- Time Shift 与 Record 功能的区别
- 什么是拓扑结构_拓扑结构图
- 【ct107d】蜂鸣器,继电器控制
- 算法:求小于N的最大素数
- 使用Arcgis画等值线图
- 01-数据结构和算法入门
- CorelDRAW Graphics Suite2022免费图形设计软件
- 先电IAAS V2.2(2017版)平台搭建手册---脚本搭建
- 【meshlab使用指南】06、Select Faces/Vertices inside polyline area功能不能选中点/面
- WordPress主题 Vieu主题V4.5无授权无限制版 基于Dux主题二次开发 完美运行
- python实现AI抠图
- 刘馨蔓:“她是行走的发光体”|OneFlow U
- 《动手学机器人学》7.3.1齐次坐标变换齐次变换矩阵
- 开课吧T31项目第13天