Running configuration check... FAILED! Reload aborted
Posted: Mon Jan 28, 2013 1:58 pm
I am new to Nagios and need assistance. This morning we had a host we needed to disable from "/usr/local/nagios/etc/hosts/hosts.cfg", I disabled the host by indenting it out:
#define host{
# use ava-host ; Name of host template to use
# host_name AVATERM8
# alias Term8
# address 192.168.155.27
#
# }
Saved the configuration file then I rebooted the server with a "sudo reboot". Once the server came back up I logged into the Nagios GUI (192.168.155.19/nagios) and encountered the following error when attempting to view service detail:
"Whoops! Error: Could not read host and service status information!"
I then attempted to manually start nagios with the following command "/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg" to no avail. Attempted to restart nagios with the following command "sudo invoke-rc.d nagios reload" this gave the following error in the output:
"Running configuration check... FAILED! Reload aborted. Check your Nagios configuration.
invoke-rc.d: initscript nagios, action "reload" failed."
It does not appear nagios can start and I am at a loss to why. Here are the current Nagios processes running:
administrator@Intranet:/usr/local/nagios/etc/hosts$ ps axu | grep nagios
nagios 5064 0.0 0.1 10872 5840 ? Ss 10:13 0:00 /usr/bin/perl -w /usr/sbin/nagiosgrapher
nagios 7373 0.0 0.0 13964 1484 ? SNsl 11:36 0:00 /usr/sbin/nagios2 -d /etc/nagios2/nagios.cfg
1000 9554 0.0 0.0 3004 752 pts/1 R+ 13:10 0:00 grep nagios
#define host{
# use ava-host ; Name of host template to use
# host_name AVATERM8
# alias Term8
# address 192.168.155.27
#
# }
Saved the configuration file then I rebooted the server with a "sudo reboot". Once the server came back up I logged into the Nagios GUI (192.168.155.19/nagios) and encountered the following error when attempting to view service detail:
"Whoops! Error: Could not read host and service status information!"
I then attempted to manually start nagios with the following command "/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg" to no avail. Attempted to restart nagios with the following command "sudo invoke-rc.d nagios reload" this gave the following error in the output:
"Running configuration check... FAILED! Reload aborted. Check your Nagios configuration.
invoke-rc.d: initscript nagios, action "reload" failed."
It does not appear nagios can start and I am at a loss to why. Here are the current Nagios processes running:
administrator@Intranet:/usr/local/nagios/etc/hosts$ ps axu | grep nagios
nagios 5064 0.0 0.1 10872 5840 ? Ss 10:13 0:00 /usr/bin/perl -w /usr/sbin/nagiosgrapher
nagios 7373 0.0 0.0 13964 1484 ? SNsl 11:36 0:00 /usr/sbin/nagios2 -d /etc/nagios2/nagios.cfg
1000 9554 0.0 0.0 3004 752 pts/1 R+ 13:10 0:00 grep nagios