Apply configuration is running endlessly
Posted: Tue Jul 14, 2020 2:35 am
Hello,
After adding 1 simple snmp service check, Nagios is endlessly trying to apply the configuration. When I tried to reconfigure from CLI, it worked immediately. Later I tried forcing a command run and that did not work either. I added some more services and and again, I cannot apply configuration from the UI. Nagios XI has been running smoothly for some weeks now, its not a fresh installation that went wrong. Also "tail -f /usr/local/nagiosxi/var/cmdsubsys.log" command brings nothing when I run the reconfiguration.
Also when I try to run the reconfiguration with the Nagios user from CLI, I get this:
[nagios@server scripts]$ ./reconfigure_nagios.sh
sudo: pam_open_session: System error
sudo: policy plugin failed session initialization
Resetting configuration permissions failed!
Any ideas?
Thanks
After adding 1 simple snmp service check, Nagios is endlessly trying to apply the configuration. When I tried to reconfigure from CLI, it worked immediately. Later I tried forcing a command run and that did not work either. I added some more services and and again, I cannot apply configuration from the UI. Nagios XI has been running smoothly for some weeks now, its not a fresh installation that went wrong. Also "tail -f /usr/local/nagiosxi/var/cmdsubsys.log" command brings nothing when I run the reconfiguration.
Also when I try to run the reconfiguration with the Nagios user from CLI, I get this:
[nagios@server scripts]$ ./reconfigure_nagios.sh
sudo: pam_open_session: System error
sudo: policy plugin failed session initialization
Resetting configuration permissions failed!
Any ideas?
Thanks