Page 2 of 2

Re: Could not read host and service status information

Posted: Thu Apr 16, 2015 4:17 pm
by jolson
Please check the permissions on that directory. The nagios user will need to be able to get to the directory and write there.

Code: Select all

ls -l /usr/local/nagios/var/ && ls -l -d /usr/local/nagios/var/ && ls -l -d /usr/local/nagios/
Proper permissions from my machine:

Code: Select all

-rw-rw-r--. 1 nagios nagios 18594 Apr 16 11:15 status.dat
drwxrwxr-x. 5 nagios nagios 4096 Apr 16 11:15 /usr/local/nagios/var/
drwxr-xr-x. 10 root root 4096 Mar 18 10:38 /usr/local/nagios/