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

本文标签: 常见问题deniedMaxesAccess