Could not read host and service status information!

Hi guys,

I did an installation of Nagios according to this url: wiki.tryphon.org/How_to_inst…os_under_Debian

Nagios is starting fine and I am getting no errors at all under logs.
On the other hand I am getting the following error via the web interface:

Error: Could not read host and service status information!

The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you’ve just installed things, make sure you read the documentation on starting Nagios.

Some other things you should check in order to resolve this error include:

  1. Check the Nagios log file for messages relating to startup or status data errors.
  2. Always verify configuration options using the -v command-line option before starting or restarting Nagios!
  3. Make sure you’ve compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you’ll have problems.

Logs have nothing at all.
Veryfing the configuration returns no errors at all and both resource and cgi.cfg have the appropriate entries according to the tutorial.

Any help is much appretiate.

Thanks

"(There is currently no text in this page)"
That’s what your url gives me.
But your problem may be firewall software like Selinux, so first, make sure you have configured Selinux to allow access or simply turn it off.

go to the main page of wiki.tryphon.org and chooce the how to install nagios on debian. Then you will be able to see the instructions.

I have no firewall, permissions seems to be ok and I am going mad!

ps -ef|grep nagios
anything running?
check the permissions on all of your files.
I do mean all, from the nagios dir on down.

How did you compile nagios to store status info? check your nagios.cfg and make sure it is correct.
status_file=/usr/local/nagios/var/status.log is that correct?
Problem could be almost anything, so it’s up to you, to check each and every config file for correct settings, and correct permissions.