Hi Group, Installed the lastest version fo NagiosXI 2012 1.2. When I try to apply the configuraion from the url it just goes on and on as if it is in a loop. never finishes. Tried the option in the support form of editing the php.ini for memory values. But still did not help. But commandline apply of config works so it is only the gui one. So i check the httpd log and found the following error message in error.log
"[Fri Nov 16 17:42:00 2012] [error] [client 10.56.31.35] PHP Warning: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: /usr/local/nagiosxi/tmp/http:__labs.nagios.com_feed.xml:1: parser error : Document is empty
in /usr/local/nagiosxi/html/includes/utils-rss.inc.php on line 19, referer: http://clnagd2/nagiosxi//includes/page- ... splash.php
[Fri Nov 16 17:42:00 2012] [error] [client 10.56.31.35] PHP Warning: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: in /usr/local/nagiosxi/html/includes/utils-rss.inc.php on line 19, referer: http://clnagd2/nagiosxi//includes/page- ... splash.php"
Also in access.log , i can see continous entries every 1 second ,
"10.56.31.35 - - [16/Nov/2012:17:58:25 +1100] "GET /nagiosxi/ajaxhelper.php?cmd=getcommandstatus&opts=41&nsp=6b513ff4f0afe8f32bfbcfffdd0cf9eb HTTP/1.1" 200 175 "http://clnagd2/nagiosxi//includes/compo ... md=confirm" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; MS-RTC LM 8)"
127.0.0.1 - - [16/Nov/2012:17:58:25 +1100] "POST /nagiosxi/backend/ HTTP/1.1" 200 665 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
Any idea how to resolve this.
Regards,
Balaji
Apply configuration using GUI just hangs
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Apply configuration using GUI just hangs
This is likely a php max_execution_time error, we have a fix outlined here
http://support.nagios.com/wiki/index.ph ... _Completes
http://support.nagios.com/wiki/index.ph ... _Completes
-
bdorairajan
- Posts: 2
- Joined: Fri Nov 16, 2012 1:31 am
Re: Apply configuration using GUI just hangs
Hi Scott,
Thankyou for the reply . I have already tried that option but still it runs without any results...
Regards,
Balaji
Thankyou for the reply . I have already tried that option but still it runs without any results...
Regards,
Balaji
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Apply configuration using GUI just hangs
Is crond running
Code: Select all
service crond status-
nagiostest
- Posts: 23
- Joined: Wed Sep 19, 2012 10:58 pm
Re: Apply configuration using GUI just hangs
Service crond status
crond is running
crond is running
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Apply configuration using GUI just hangs
Please run the following and post the results
Code: Select all
tail -n 40 /var/log/cron-
nagiostest
- Posts: 23
- Joined: Wed Sep 19, 2012 10:58 pm
Re: Apply configuration using GUI just hangs
scottwilkerson wrote:Please run the following and post the resultsCode: Select all
tail -n 40 /var/log/cron
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Apply configuration using GUI just hangs
Ok, this looks normal, can I have you run the following from the console and then while it is running Apply Configuration in the Web UI
Then attach cmd.txt to your next post
Code: Select all
cd /tmp
tail -f /usr/local/nagiosxi/var/cmdsubsys.log &> cmd.txt