首页 > 其他 > 详细

Zabbix agent 启动报错:cannot set resource limit [13] Permission denied

时间:2020-04-08 09:21:03      阅读:63      评论:0      收藏:0      [点我收藏+]

启动zabbix agent失败,

# tail /var/log/zabbix/zabbix_agentd.log
……
  1568:20200407:171352.170 Starting Zabbix Agent [Zabbix server]. Zabbix 3.4.11 (revision 82160).
  1568:20200407:171352.170 **** Enabled features ****
  1568:20200407:171352.170 IPv6 support:          YES
  1568:20200407:171352.170 TLS support:           YES
  1568:20200407:171352.170 **************************
  1568:20200407:171352.170 using configuration file: /etc/zabbix/zabbix_agentd.conf
  1568:20200407:171352.170 cannot set resource limit: [13] Permission denied
  1568:20200407:171352.170 cannot disable core dump, exiting...

关闭selinux,启动成功:

# getenforce
Enforcing

# setenforce 0
You have new mail in /var/spool/mail/root

# getenforce
Permissive

# systemctl start zabbix-agent

# sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config

如果不想关闭selinux,则需要进行如下安装和配置:

# yum install -y policycoreutils-python

# semanage permissive -a zabbix_agent_t

# systemctl start zabbix-agent

如果是zabbix-server,则设置:

# semanage permissive -a zabbix_t

Zabbix agent 启动报错:cannot set resource limit [13] Permission denied

原文:https://www.cnblogs.com/redstar1000/p/12657881.html

(1)
(1)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!