ElasticSearch、kibana安装配置问题

下载,解压,添加用户和授权,配置

错误提示:

[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
[2]: max number of threads [1024] for user [testuser] is too low, increase to at least [4096]
[3]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[4]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk

解决办法:

1.切换至root用户

su root

2. [2]问题,修改limits.d目录下的配置文件: 修改1024成4096,保存

vi /etc/security/limits.d/90-nproc.conf

其他问题,修改 etc/security/limits.conf

sudo vi /etc/security/limits.conf

在文件最后面加上

* soft nofile 65536

* hard nofile 65536

* soft nproc 4096

* hard nproc 4096

注:*后面有空格

修改 /etc/sysctl.conf

sudo vi /etc/sysctl.conf

在文件最后面加上

vm.max_map_count=262144

配置重新生效

sysctl -p

 

ES6在centOS系统启动,报错:

java.lang.UnsupportedOperationException: seccomp unavailable: CONFIG_SECCOMP not compiled into kernel, CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER are needed

原因:  因为Centos6不支持SecComp,而ES默认bootstrap.system_call_filter为true进行检测,所以导致检测失败,失败后直接导致ES不能启动解决:修改elasticsearch.yml 添加一下内容 :

bootstrap.memory_lock: false

bootstrap.system_call_filter: false

 

此时再运行elasticsearch。

 

运行kibana7.9.0版本时,系统缺少glibc2.14,glibc2.15,glibc2.16。kibana界面启动一直在加载,不成功。换低版本的ElasticSearch和kibana

 

换成ElasticSearch7.0.0和kibana7.0.0版本后启动有这个警告,但是可以启动成功

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值