Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-14922

cannot set resource limit: [13] Permission denied - SELinux & Zabbix Agent

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial 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? 

       

            Unassigned Unassigned
            janki Janki Kodrani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: