Page 1 of 3
Apply Configuration / Restart not working
Posted: Tue Nov 16, 2010 9:45 am
by m_OO_m
Hello there,
I reported this problem in another thread. After updating to 1.3 F we still experience these problems.
(1) Restarting nagios using "Tools / Write config files" doesnot work
(2) "Apply Configuration" has no effect.
I have tried to post a screen capture, this time as MPEG, but the file size is too large (5+ MB).
How can we localize the problem?
Re: Apply Configuration / Restart not working
Posted: Tue Nov 16, 2010 12:17 pm
by tonyyarusso
First, to confirm: You just get the dots continuing on forever (off the right side of the screen), not any kind of failure message ever, correct?
Re: Apply Configuration / Restart not working
Posted: Tue Nov 16, 2010 12:21 pm
by tonyyarusso
Sometimes these sorts of problems can be related to file permissions getting messed up. You can try running the script found at /usr/local/nagiosxi/scripts/reset_config_perms and see if that helps.
Re: Apply Configuration / Restart not working
Posted: Thu Nov 18, 2010 3:44 am
by m_OO_m
the "Apply" command returns normally, without any log entries (or I dont know, where to look for). If you look into Config Manager directly after apply, the config is still displayed as "out of date". We tried to work with the permission script - it doesn't make any difference.
Re: Apply Configuration / Restart not working
Posted: Thu Nov 18, 2010 10:49 am
by mguthrie
Are you running on a 64 bit server?
Try running these scripts and see this pushes your configuration through. If you get any kind of error messages send us the output.
/usr/local/nagiosxi/scripts/reset_config_perms
/usr/local/nagiosxi/scripts/reset_config_perms.sh
/usr/local/nagiosxi/scripts/reconfigure_nagios.sh
Re: Apply Configuration / Restart not working
Posted: Thu Nov 18, 2010 3:03 pm
by m_OO_m
No effect. I have finally called /usr/local/nagiosxi/scripts/reconfigure_nagios.sh (which did not run because of wrong startup directory) and after that restart_nagios_with_export.sh. You will find the output in the attachment. I find it a bit strange, as if the script would not have reached the end.
There was also no prompt after running the script. It came only after pressing RETURN...
Re: Apply Configuration / Restart not working
Posted: Thu Nov 18, 2010 3:39 pm
by mguthrie
We did identify a bug with the permissions script in previous versions, as well as an issue with SSL during the Apply Configuration process. Both of these have been fixed in the latest release 1.3G. I would recommend trying the upgrade and see if the issue resolves itself.
Re: Apply Configuration / Restart not working
Posted: Mon Nov 22, 2010 3:10 am
by m_OO_m
negative
Re: Apply Configuration / Restart not working
Posted: Mon Nov 22, 2010 3:14 am
by horowity
Hi there,
unfortunately there's no change after updating to 1.3G. Apply does not work. I have to do the "Apply" by using "Write Config Files-Point" in Core Config Manager.
Any further ideas?
regards,
Re: Apply Configuration / Restart not working
Posted: Mon Nov 22, 2010 3:28 am
by horowity
me again,
found some entries in apache-Log:
Code: Select all
[Mon Nov 22 09:20:44 2010] [error] [client 192.168.0.1] PHP Warning: fileowner() [<a href='function.fileowner'>function.fileowner</a>]: stat failed for reset_config_perms.sh in /usr/local/nagiosxi/html/includes/components/nagiosql/nagiosql.inc.php on line 91, referer: http://192.168.0.1/nagiosxi//includes/components/nagioscorecfg/applyconfig.php?cmd=confirm
but only in apache-log, var/log/messages show up with nothing interesting ..