Page 1 of 2
Monitoring Wizard Page not loading / Blank...
Posted: Tue Jan 25, 2011 7:27 am
by mc1903
Hello,
I have not needed to add any new devices into NagiosXI for a couple of months, but today I need to add a server and the Monitoring Wizard page will not load properly...
I click the Monitoring Wizard link (
http://servername.fqdn/nagiosxi/config/ ... wizard.php) and nothing loads... The main XI header and left hand menu are still there - just the right hand pane is empty...
I have tried rebooting the server but the problem persists... All other pages seem to be OK...
I am running a licensed 2009R1.3G installed version on Centos 5.4 x86...
Any thoughts or advice will be apreciated...
Thanks
Martin
Re: Monitoring Wizard Page not loading / Blank...
Posted: Tue Jan 25, 2011 10:34 am
by tonyyarusso
Are there any PHP errors in your Apache logs?
Re: Monitoring Wizard Page not loading / Blank...
Posted: Tue Jan 25, 2011 1:04 pm
by mc1903
Hi Tony,
Yes I am... The following error gets logged when I clicked the Monitoring Wizard link...
Code: Select all
[Tue Jan 25 17:59:05 2011] [error] [client 10.0.1.123] PHP Fatal error: Cannot redeclare rssnotifications_component_init() (previously declared in /usr/local/nagiosxi/html/includes/components/rssnotifications/rssnotifications.inc.php:20) in /usr/local/nagiosxi/html/includes/configwizards/rssnotifications/rssnotifications.inc.php on line 53, referer: http://server.fqdn/nagiosxi/config/
Does this help you..?
Many Thanks
Martin
Re: Monitoring Wizard Page not loading / Blank...
Posted: Wed Jan 26, 2011 11:05 am
by tonyyarusso
All right, that looks like there's a bug in the RSS component then. Try removing that component for now, and we'll take a look at that piece.
Re: Monitoring Wizard Page not loading / Blank...
Posted: Wed Jan 26, 2011 11:31 am
by mc1903
Hi Tony,
I have just removed the RSS component and I still cannot access the Monitoring Wizard page...
The error_log file (/var/log/httpd) now has a different error...
Code: Select all
[Wed Jan 26 16:17:19 2011] [error] [client 10.0.10.131] PHP Warning: fileowner() [<a href='function.fileowner'>function.fileowner</a>]: stat failed for reset_config_perms in /usr/local/nagiosxi/html/includes/components/nagiosql/nagiosql.inc.php on line 91, referer: http://server.fqdn/nagiosxi/admin/main.php?&=
[Wed Jan 26 16:17:19 2011] [error] [client 10.0.10.131] 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://server.fqdn/nagiosxi/admin/main.php?&=
[Wed Jan 26 16:17:20 2011] [error] [client 10.0.10.131] PHP Fatal error: Cannot redeclare rssnotifications_component_init() (previously declared in /usr/local/nagiosxi/html/includes/components/rssnotifications/rssnotifications.inc.php:20) in /usr/local/nagiosxi/html/includes/configwizards/rssnotifications/rssnotifications.inc.php on line 53, referer: http://server.fqdn/nagiosxi/admin/
[Wed Jan 26 16:18:59 2011] [notice] caught SIGTERM, shutting down
[Wed Jan 26 16:19:27 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jan 26 16:19:27 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Jan 26 16:19:27 2011] [notice] Digest: done
[Wed Jan 26 16:19:28 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Jan 26 16:19:36 2011] [error] [client 10.0.10.131] PHP Warning: require_once(/usr/local/nagiosxi/html/includes/configwizards/rssnotifications/../componenthelper.inc.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/configwizards/rssnotifications/rssnotifications.inc.php on line 8, referer: http://server.fqdn/nagiosxi/config/
[Wed Jan 26 16:19:36 2011] [error] [client 10.0.10.131] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/nagiosxi/html/includes/configwizards/rssnotifications/../componenthelper.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/configwizards/rssnotifications/rssnotifications.inc.php on line 8, referer: http://server.fqdn/nagiosxi/config/
[Wed Jan 26 16:19:37 2011] [error] [client 10.0.10.131] PHP Warning: require_once(/usr/local/nagiosxi/html/includes/configwizards/rssnotifications/../componenthelper.inc.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/configwizards/rssnotifications/rssnotifications.inc.php on line 8, referer: http://server.fqdn/nagiosxi/config/
[Wed Jan 26 16:19:37 2011] [error] [client 10.0.10.131] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/nagiosxi/html/includes/configwizards/rssnotifications/../componenthelper.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/configwizards/rssnotifications/rssnotifications.inc.php on line 8, referer: http://server.fqdn/nagiosxi/config/
Any thoughts on what to try next..?
Thanks again,
Martin
Re: Monitoring Wizard Page not loading / Blank...
Posted: Wed Jan 26, 2011 11:45 am
by tonyyarusso
Weird...it didn't actually go away. I'm not sure, but will get back to you.
Re: Monitoring Wizard Page not loading / Blank...
Posted: Wed Jan 26, 2011 11:53 am
by tonyyarusso
Is it possible that you're using an old version of the RSS component? The one currently
on the Exchange is working for me, and doesn't look like it has a function definition where your logs are complaining about.
Re: Monitoring Wizard Page not loading / Blank...
Posted: Wed Jan 26, 2011 12:18 pm
by mc1903
Hi,
Previously I removed the RSS component via the XI Admin | Manage Components web page... It looks like it did not actually remove anything as the RSS Notofications directory (/usr/local/nagiosxi/html/includes/configwizards/rssnotifications) was still present...
I manually delected the directory/its contents, stopped both the Nagios & httpd daemons, cleared the error_log file, restarted the Nagios & httpd daemons... I can now access the Monitoring Wizard page and no errors are logged to /var/log/httpd/error_log
Also, I was using the latest RSS component - I will try re-installing it a little later to see if I get the same problem...
Thanks for you help...
Martin
Re: Monitoring Wizard Page not loading / Blank...
Posted: Wed Jan 26, 2011 3:16 pm
by rdedon
Thank you Martin and keep us posted.
Re: Monitoring Wizard Page not loading / Blank...
Posted: Wed Jan 26, 2011 4:10 pm
by mc1903
Hello,
I have reinstalled the latest RSS component and everything still works OK...
Thank you for your help...
Martin