Error: Could not read host and service status information!
Posted: Thu Dec 26, 2013 6:21 am
I have installed Nagios Core Version 4.0.2 on CentOS 64 BIT, upon installation I am getting the following error when I am checking for the hosts.
and restart the nagios service and encountering the following error when I am trying to bring the service up.
any pointers to fix this.
Regards
Jai
I have tried deleting the the filesError: 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:
Check the Nagios log file for messages relating to startup or status data errors.
Always verify configuration options using the -v command-line option before starting or restarting Nagios!
Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org.
Code: Select all
rm -rf /var/lock/subsys/nagios
rm -rf /usr/local/nagios/var/nagios.lockIn the log I have noticed the following error's,nagios dead but subsys locked
Error: Module loading failed. Aborting.
Error: Failed to load module '/usr/local/nagios/bin/ndomod.o'.
Error: Could not load module '/usr/local/nagios/bin/ndomod.o' -> /usr/local/nagios/bin/ndomod.o: undefined symbol: servicedependency_list
any pointers to fix this.
Regards
Jai