ElasticSearch学习27_Elasticsearch启动时 unable to install syscall filter 问题说明
来源:互联网 发布:淘宝客服售后质量话术 编辑:程序博客网 时间:2024/06/15 10:38
[2016-11-06T16:27:21,712][WARN ][o.e.b.JNANatives ] unable to install syscall filter:
java.lang.UnsupportedOperationException: seccomp unavailable: requires kernel 3.5+ with CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER compiled in
at org.elasticsearch.bootstrap.Seccomp.linuxImpl(Seccomp.java:349) ~[elasticsearch-5.0.0.jar:5.0.0]
at org.elasticsearch.bootstrap.Seccomp.init(Seccomp.java:630) ~[elasticsearch-5.0.0.jar:5.0.0]
报了一大串错误,其实只是一个警告。
解决:使用心得linux版本,就不会出现此类问题了。
参考:http://www.cnblogs.com/sloveling/p/elasticsearch.html
文章其它部分:
问题二:ERROR: bootstrap checks failed
max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]
max number of threads [1024] for user [lishang] likely too low, increase to at least [2048]
解决:切换到root用户,编辑limits.conf 添加类似如下内容
vi /etc/security/limits.conf
添加如下内容:
* soft nofile 65536
* hard nofile 131072
* soft nproc 2048
* hard nproc 4096
问题三:max number of threads [1024] for user [lish] likely too low, increase to at least [2048]
解决:切换到root用户,进入limits.d目录下修改配置文件。
vi /etc/security/limits.d/90-nproc.conf
修改如下内容:
* soft nproc 1024
#修改为
* soft nproc 2048
问题四:max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]
解决:切换到root用户修改配置sysctl.conf
vi /etc/sysctl.conf
添加下面配置:
vm.max_map_count=655360
并执行命令:
sysctl -p
然后,重新启动elasticsearch,即可启动成功。
- ElasticSearch学习27_Elasticsearch启动时 unable to install syscall filter 问题说明
- ElasticSearch学习10_ElasticSearch安装部署说明
- ElasticSearch学习18_Elasticsearch集群的脑裂问题
- ElasticSearch学习1_elasticsearch安装
- ElasticSearch学习7_elasticsearch配置小记
- ElasticSearch学习32_ElasticSearch 应用场景
- ElasticSearch学习36_Elasticsearch扩展性插件
- Introduction to Seccomp: BPF linux syscall filter
- 启动tomcat报错:exception starting filter struts2 unable to load configuration.代码没有任何问题
- ElasticSearch学习31_学习汇总_Elasticsearch+Logstash+Kibana教程
- ElasticSearch学习3_elasticsearch集群管理工具head插件
- ElasticSearch学习13_ElasticSearch RESTful搜索引擎_Java Jest使用入门
- ElasticSearch学习34_ElasticSearch-5.0安装head插件
- eclipse启动调试时,报错unable to install breakpoint in......
- Myeclipse 启动时报 unable to install breakpoint in
- iptables启动提示unable to initialize table 'filter'
- Unable to install "XXX"
- Unable to install "pirate"
- minicom
- Tomcat daemon 脚本管理Tomcat
- iOS 设备的CPU架构(持续更新)
- java中String、StringBuffer、StringBuilder总结
- 【luogu】 P1880 石子合并
- ElasticSearch学习27_Elasticsearch启动时 unable to install syscall filter 问题说明
- [RK3288][Android6.0] 调试笔记 --- 伪电池驱动添加
- css3-animation超级好用的动画小插件
- centOS6.8 安装jdk1.7
- 米斯特白帽培训讲义 漏洞篇 文件上传
- less动态样式语言CSS框架简介
- perl 生成SQL语句
- Meta http-equiv属性详解(转)
- TI SYS/BIOS的 创建工程实例