Apply configuration is running endlessly

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
aceadm
Posts: 23
Joined: Thu Jun 11, 2020 8:13 am

Apply configuration is running endlessly

Post by aceadm »

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
aceadm
Posts: 23
Joined: Thu Jun 11, 2020 8:13 am

Re: Apply configuration is running endlessly

Post by aceadm »

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

Post by scottwilkerson »

aceadm 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.
Glad to hear this was resolved

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked