Ad Widget

Collapse

Problem with SELinux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brilewis
    Junior Member
    • Jul 2011
    • 1

    #1

    Problem with SELinux

    I've installed Zabbix on a RHEL6 server and I'm having trouble getting the host availability check to work. When I run the ping command manually from the dashboard, I get the following error:

    * fclose() expects parameter 1 to be resource, boolean given[/var/www/html/zabbix/api/classes/class.cscript.php:622]
    * Error Description: Permission denied

    If I set SELinux to permissive, the error goes away and the server is reported as running. Is there a way to keep SELinux in enforcing mode and still be able to run the scripts?

    Thanks,
    Brian
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    Yes.

    The best way would be to file a bug in the Fedora Bugzilla that way the package maintainer can track this and fix it.

    General information about the Fedora Bugzilla is here:


    Instructions on filing a bug:


    The current bug list for the Zabbix project within Fedora:


    If you have a login to the Fedora project you can use the last link to submit a bug against the Fedora Zabbix project.

    I highly encourage you to open a bug for this as this, as it is the only way for others to know what is not working correctly and for them to be fixed.
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    Working...