Nagios Installation Whoops!
While installing Nagios, you might encounter this error message in the web interface:

Reading the recommended steps are rather vague and not straightforward. Here are direct steps to check what causing the errors on Nagios installation.
1) Make sure Nagios is running in the background
# ps ax | grep nagios
6722 ? Ssl 0:14 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
If it is not running, execute the command
# usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
Since I use Debian, I executed this command,
# /etc/init.d/nagios start
2) Execute pre-flight check commands to check the configuration file
# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
...snipped...
Total Warnings: 0
Total Errors: 0Things look okay - No serious problems were detected during the pre-flight check
The output should give you indications of any problems in the configuration file
3) Lastly, check the Nagios logs which are normally located in /usr/local/nagios/var/nagios.log (use tail command if log file is very long)
From these steps, you can properly diagnose the problem and correct them (if ever
)
