Page 1 of 1
Apply config is successful, but prompt still there
Posted: Thu Feb 21, 2019 10:17 am
by andrewatmacys
Whenever I apply the config on my installation of Nagios XI through the UI, it applies successfully but the prompt to apply the config remains whenever I navigate to a new page or log back in, even when a config is not being updated. What could be causing this? as far as I know, it isn't causing any problems but I want to make sure that it isn't doing something wrong behind the scenes.
Re: Apply config is successful, but prompt still there
Posted: Thu Feb 21, 2019 12:08 pm
by benjaminsmith
Hi
@Andrew,
Sometimes if the time and time/zone settings are not in sync between the server and php you can have issues when applying configuration. Let's verify the time settings ( see reference below), and then apply configuration and capture the log output to review any errors.
1. Run the following to check the time settings.
Code: Select all
grep "date.timezone" /etc/php.ini
ls -l /etc/localtime
php -r 'echo date("D M j G:i:s T Y")."\n";'
date
echo "SELECT NOW();" | mysql -u root -pnagiosxi
2. Tail the log file
Code: Select all
tail -f /usr/local/nagiosxi/var/cmdsubsys.log
3. Next Go to Configure, CCM -> Tools -> Config File Management
Click Delete Files
Write Configs
Verify Files
Then Apply Configuration and post the output of the log for us to review. Thanks.
Reference
Changing the System Time
Re: Apply config is successful, but prompt still there
Posted: Thu Feb 21, 2019 1:58 pm
by andrewatmacys
I don't have root access, but did the remaining parts in the meantime while I get someone to help with that.
It seems to have worked, at least right now. I can still post the log, but it's got a lot of info that I don't believe is necessarily related to the problem.
Re: Apply config is successful, but prompt still there
Posted: Thu Feb 21, 2019 2:52 pm
by benjaminsmith
Hi Andrew,
It seems to have worked, at least right now. I can still post the log, but it's got a lot of info that I don't believe is necessarily related to the problem.
Ok. Just give us an update if you experience any issues.
Re: Apply config is successful, but prompt still there
Posted: Thu Feb 21, 2019 2:57 pm
by andrewatmacys
Thanks! And will do!
Re: Apply config is successful, but prompt still there
Posted: Thu Feb 21, 2019 3:19 pm
by benjaminsmith
Sounds good.