2012 R1.6 : apply configuration doesn't work
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
2012 R1.6 : apply configuration doesn't work
Hi,
I recently upgrade from 2012 R1.2 R1.6 and now when I launch apply configuration it never ends.
Please help me.
Rgds,
Frederic
I recently upgrade from 2012 R1.2 R1.6 and now when I launch apply configuration it never ends.
Please help me.
Rgds,
Frederic
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: 2012 R1.6 : apply configuration doesn't work
This is possibly related to the following wiki
http://support.nagios.com/wiki/index.ph ... _Completes
http://support.nagios.com/wiki/index.ph ... _Completes
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: 2012 R1.6 : apply configuration doesn't work
Hi,
Sorry but the wiki doesn't help me to solve my problem (I restarted my server and increased the memory allocated in php.ini).
Could you please tell me where is located the logi file of the upgrade ?
Rgds,
Frederic.
Sorry but the wiki doesn't help me to solve my problem (I restarted my server and increased the memory allocated in php.ini).
Could you please tell me where is located the logi file of the upgrade ?
Rgds,
Frederic.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: 2012 R1.6 : apply configuration doesn't work
What do you mean by you restarted the server, was it a safe complete shutdown and reboot? Or a hard shutdown.
The install.log should be located here:
Have you noticed any other issues within the interface other than the apply configuration issue? Please also post a tail of your error_log:
The install.log should be located here:
Code: Select all
/tmp/nagiosxi/install.logCode: Select all
tail -50 /var/log/httpd/error_log
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: 2012 R1.6 : apply configuration doesn't work
Hi,
What do you mean by you restarted the server, was it a safe complete shutdown and reboot? Or a hard shutdown.
=> I launched "Shutdown guest" on VMware VCenter VSphere 5.0
The install.log should be located here:
=> There's no install.log in /tmp/nagiosxi/
Please find attached the tail of the error log (ran after "apply configuration").
Rgds,
Frederic
What do you mean by you restarted the server, was it a safe complete shutdown and reboot? Or a hard shutdown.
=> I launched "Shutdown guest" on VMware VCenter VSphere 5.0
The install.log should be located here:
=> There's no install.log in /tmp/nagiosxi/
Please find attached the tail of the error log (ran after "apply configuration").
Rgds,
Frederic
You do not have the required permissions to view the files attached to this post.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: 2012 R1.6 : apply configuration doesn't work
For future reference, you should never use VMware or ACPI shutdown commands as it may corrupt the various databases, as well as potentially lock aspects of Nagios from starting again. Running "sudo shutdown -h now" is a much safer way to stop the machine, as it allows for all services and programs to stop gracefully, opposed to forcing off.
As for the error log, unfortuantly nothing in there is indicating what the issue is. The error present, really should be a warning, and does not cause issues within the PHP interface. You most likely do not have an install.log as I would guess this is from our virtual machine. Opposed to just increasing memory limits in php.ini, did you also increase the max_input and max_execution times? Can you post the output from this command? "/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg"
As for the error log, unfortuantly nothing in there is indicating what the issue is. The error present, really should be a warning, and does not cause issues within the PHP interface. You most likely do not have an install.log as I would guess this is from our virtual machine. Opposed to just increasing memory limits in php.ini, did you also increase the max_input and max_execution times? Can you post the output from this command? "/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg"
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: 2012 R1.6 : apply configuration doesn't work
Hi,
Increasing of max_input and max_execution times (and restart httpd service) doesn't change anything.
Here's the end of the command you asked me to launch :
Increasing of max_input and max_execution times (and restart httpd service) doesn't change anything.
Here's the end of the command you asked me to launch :
Code: Select all
Warning: Duplicate definition found for service 'Drives : Disk Usage' on host 'W2K-TEST02.cg.ahp' (config file '/usr/local/nagios/etc/services/W2K-TEST02.cg.ahp.cfg', starting on line 21)
Read object config files okay...
Running pre-flight check on configuration data...
Checking services...
Checked 539 services.
Checking hosts...
Checked 218 hosts.
Checking host groups...
Checked 6 host groups.
Checking service groups...
Checked 7 service groups.
Checking contacts...
Checked 4 contacts.
Checking contact groups...
Checked 3 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 137 commands.
Checking time periods...
Checked 10 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: 2012 R1.6 : apply configuration doesn't work
Since the last time you applied configuration, have you put any configs into /usr/local/nagios/etc/import? or added a bunch of hosts and services? You've got at least one duplicate defined, however that should definitely not cause this kind of delay.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: 2012 R1.6 : apply configuration doesn't work
Hi,
have you put any configs into /usr/local/nagios/etc/import?
=> No
or added a bunch of hosts and services?
=> several services (but I don't remember which)
have you put any configs into /usr/local/nagios/etc/import?
=> No
or added a bunch of hosts and services?
=> several services (but I don't remember which)
Re: 2012 R1.6 : apply configuration doesn't work
Do a running tail on the xi command subsystem log and then try to apply configuration once again. Post the output in code wraps:
Code: Select all
tail -f /usr/local/nagiosxi/var/cmdsubsys.logFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.