-
Problem report
-
Resolution: Duplicate
-
Trivial
-
None
-
None
-
None
-
None
When we enforce SELinux by setting SELINUX=enforcing in the /etc/selinux/config file, the zabbix agent doesn't start. Following are the error logs:
[ec2-user@cbsbesbpd01 ~]$ tail -20 /var/log/zabbix/zabbix_agentd.log
14597:20180919:092849.343 **************************
14597:20180919:092849.343 using configuration file: /etc/zabbix/zabbix_agentd.conf
14597:20180919:092849.343 cannot set resource limit: [13] Permission denied
14597:20180919:092849.343 cannot disable core dump, exiting...
14601:20180919:092859.594 Starting Zabbix Agent [Zabbix server]. Zabbix 3.4.14 (revision 84877).
14601:20180919:092859.594 **** Enabled features ****
14601:20180919:092859.594 IPv6 support: YES
14601:20180919:092859.594 TLS support: YES
14601:20180919:092859.594 **************************
14601:20180919:092859.594 using configuration file: /etc/zabbix/zabbix_agentd.conf
14601:20180919:092859.594 cannot set resource limit: [13] Permission denied
14601:20180919:092859.594 cannot disable core dump, exiting...
14625:20180919:092909.855 Starting Zabbix Agent [Zabbix server]. Zabbix 3.4.14 (revision 84877).
14625:20180919:092909.856 **** Enabled features ****
14625:20180919:092909.856 IPv6 support: YES
14625:20180919:092909.856 TLS support: YES
14625:20180919:092909.856 **************************
14625:20180919:092909.856 using configuration file: /etc/zabbix/zabbix_agentd.conf
14625:20180919:092909.856 cannot set resource limit: [13] Permission denied
14625:20180919:092909.856 cannot disable core dump, exiting...
On setting SELINUX=disabled, the zabbix agent starts without any error. Is there any way to enforce SELINUX and run the zabbix agent?
- is duplicated by
-
ZBX-10094 Zabbix-agent not starting with SELinux enabled on CentOS 7.1
- Closed