Apply Configuration / Restart not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
m_OO_m
Posts: 23
Joined: Mon Oct 18, 2010 10:21 am

Apply Configuration / Restart not working

Post 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?
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Apply Configuration / Restart not working

Post 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?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Apply Configuration / Restart not working

Post 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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
m_OO_m
Posts: 23
Joined: Mon Oct 18, 2010 10:21 am

Re: Apply Configuration / Restart not working

Post 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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Apply Configuration / Restart not working

Post 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
m_OO_m
Posts: 23
Joined: Mon Oct 18, 2010 10:21 am

Re: Apply Configuration / Restart not working

Post 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...
Last edited by m_OO_m on Mon Nov 22, 2010 3:08 am, edited 1 time in total.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Apply Configuration / Restart not working

Post 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.
m_OO_m
Posts: 23
Joined: Mon Oct 18, 2010 10:21 am

Re: Apply Configuration / Restart not working

Post by m_OO_m »

negative
horowity
Posts: 3
Joined: Tue Oct 26, 2010 8:17 am

Re: Apply Configuration / Restart not working

Post 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,
horowity
Posts: 3
Joined: Tue Oct 26, 2010 8:17 am

Re: Apply Configuration / Restart not working

Post 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 ..
Locked