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
Apply configuration is running endlessly
Re: Apply configuration is running endlessly
aceadm wrote: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
Looking into the last errors, it might be a password expiration issue for nagios account. I am waiting for our linux team to reset the password and I will update in case this was the error.
- So , this was the issue. Nagios user had expired password. Issue fixed after reseting the password.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Apply configuration is running endlessly
Glad to hear this was resolvedaceadm wrote:aceadm wrote: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
Looking into the last errors, it might be a password expiration issue for nagios account. I am waiting for our linux team to reset the password and I will update in case this was the error.
- So , this was the issue. Nagios user had expired password. Issue fixed after reseting the password.
Locking thread