admin管理员组文章数量:1625096
【问题1】...access denied
【解决】user1权限不够:用root用户给user1授权:setfacl -R -m u:user1:rwx 指定目录,除了为现有文件授权,还可以为user1设置默认权限,将来user1创建文件的时候自动继承默认权限:setfacl -R -m d:u:user1:rwx 指定目录
【问题2】max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
【解决】vi /etc/security/limits.conf-->添加两行: user1 soft nofile 65535和user1 hard nofile 65537,user1是启动es的用户
【问题3】max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
【解决】sysctl -w vm.max_map_count=262144
【问题4】启动集群时出现no route to host
【解决】先通过ping命令确定两台服务器直接能不能访问,如果可以,则查看防火墙是否关闭:systemctl status firewalld;
关闭防火墙:systemctl stop firewalld ;
关闭防火墙开机自启动:systemctl disable firewalld
版权声明:本文标题:【ES常见问题】.access denied,max file descriptors [4096] for elasticsearch process is too low, increase to 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dongtai/1728912449a1179282.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论