The output.txt was taken when the service was already stuck, so when I apply the configuration. Nagios process was already not running.tgriep wrote:What is puzzling is this line from your output.txt file.
/etc/init.d/nagios: line 141: kill: (19280) - No such process
Do you have multiple people accessing your system and applying the config?
Could you run the following and post back the results?And the following line is missing from the /etc/sudoers file. Can you add it and see that helps?Code: Select all
cat /usr/local/nagios/var/nagios.lock ps -ef |grep bin/nagiosCode: Select all
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/reset_config_perms.sh
Code: Select all
# cat /usr/local/nagios/var/nagios.lock
3818Code: Select all
# ps -ef |grep bin/nagios
root 16061 15935 0 09:45 pts/0 00:00:00 grep bin/nagios