When you performed the steps
Code: Select all
killall nagios
service nagios start
Did you look first or did you just run the commands as is?
Here are some useful tools for process management and debugging on UNIX systems.
Code: Select all
yum -y install gdb; # Install the debugger.
pstree -p > nagiostree.txt;
for ech in $(pgrep nagios); do gcore -o ${ech}-core.bin -p $ech; done;
Then I'll need all the *-core.bin files and a copy of your nagios executable, I think it's in /usr/local/nagios/bin. The These files are sensitive so they can be emailed like previously. nagiostree.txt should not be too sensitive and you can get that to us any way you want.
This would relay only be helpful if there is more then one parent nagios process running, as I still suspect.
One way to try and stop nagios is
pstree can should parent nagios processes, but here is an easy way to list what's running and list nagios
To start Nagios I recommend only using the web interface, we wrote that to start Nagios in the most effective way possible and it's use if nothing else should reduce typos.