zabbix启动报cannot set resource limit: [13] Permission denied问题解决

最近更新

zabbix启动的时候报错如下:

 28395:20170122:112700.799 using configuration file: /etc/zabbix/zabbix_agentd.conf
28395:20170122:112700.799 cannot set resource limit: [13] Permission denied
28395:20170122:112700.799 cannot disable core dump, exiting...

基本能确定是selinux的问题,解决方法如下:

1. 关闭selinux(不推荐)

setenforce 0

2. 更新selinux策略即可

yum update selinux-policy.noarch selinux-policy-targeted.noarch

更新完成之后重新启动zabbix即可 fuck\fuck\(\)\[\]\\\/\fuck”\\$1″fuck\/script>’)} fuck