본문 바로가기
카테고리 없음

zabbix cannot set resource limit: [13] Permission denied 오류 해결

by Knowledge Store In Hyunsoft 2017. 3. 19.

  



3140:20170319:100957.805 Jabber notifications:      YES

  3140:20170319:100957.806 Ez Texting notifications:  YES

  3140:20170319:100957.807 ODBC:                      YES

  3140:20170319:100957.807 SSH2 support:              YES

  3140:20170319:100957.808 IPv6 support:              YES

  3140:20170319:100957.809 TLS support:               YES

  3140:20170319:100957.809 ******************************

  3140:20170319:100957.810 using configuration file: /etc/zabbix/zabbix_server.conf

  3140:20170319:100957.813 cannot set resource limit: [13] Permission denied

  3140:20170319:100957.815 cannot disable core dump, exiting...





agent



cat /var/log/audit/audit.log | grep zabbix_agentd | grep denied | audit2allow -M zabbix_agent_setrlimit > zabbix_agent_setrlimit.te

semodule -i zabbix_agent_setrlimit.pp

systemctl start zabbix-agent





server



cat /var/log/audit/audit.log | grep zabbix_server | grep denied | audit2allow -M zabbix_server_setrlimit > zabbix_server_setrlimit.te

semodule -i zabbix_server_setrlimit.pp

service zabbix-server start





-bash: audit2allow: command not found 발생시


yum provides \*/audit2allow 설치함

yum install -y policycoreutils-python






728x90

댓글