Fedora 15: Nagios errors

Installation of Nagios on Fedora 15 is easy as yum install nagios nagios-plugins* php nrpe. I only found one problem: Error: Could not read object configuration data!

The webserver runs as user apache, which cannot access /etc/nagios/objects by default. Chmod or chown the directory to fix it, or add user apache to the group nagios.

You may also want to check the selinux settings, which can be restored by typing restorecon /etc/nagios

© GeekLabInfo Fedora 15: Nagios errors is a post from GeekLab.info. You are free to copy materials from GeekLab.info, but you are required to link back to http://www.geeklab.info
1 Star2 Stars3 Stars4 Stars5 Stars (7 votes, average: 5,00 out of 5)

6 gedachten over “Fedora 15: Nagios errors

  1. emrah

    this solution does not work on my system.

    ls -l /etc/nagios

    -rwxrwxrwx 1 nagios nagios 9546 Jul 15 2009 cgi.cfg*
    -rwxrwxrwx 1 nagios nagios 15760 Sep 23 2009 command.cfg*
    -rwxrwxrwx 1 nagios nagios 8583 Jul 15 2009 commands.cfg*
    -rwxrwxrwx 1 nagios nagios 12363 Jul 15 2009 localhost.cfg*
    -rwxrwxrwx 1 nagios nagios 30213 Jul 15 2009 nagios.cfg*
    -rwxrwxrwx 1 nagios nagios 5329 May 3 2007 nsca.cfg*
    -rwxrwxrwx 1 nagios nagios 1334 Jul 15 2009 resource.cfg*
    drwxrwsrwx 2 nagios nagios 4096 Jun 18 11:15 rw/
    -rwxrwxrwx 1 nagios nagios 1628 May 3 2007 send_nsca.cfg*
    drwxrwxrwx 4 nagios nagios 4096 Jun 18 11:16 spool/

    also i adduser apache in group nagios but the result is same.

    where is my mistake??

  2. David (admin) Bericht auteur

    What happens when you switch selinux to permissive mode?
    setenforce 0

Geef een antwoord

Het e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *