Page 1 of 1

New Install - Ubuntu 11.1 Nagios 3.3.1

Posted: Wed Jan 18, 2012 10:47 am
by Wikod
After the install when i go to the home page http://localserver/nagios/ I get a HTTP 500 cannot be displayed every other page from the left side menus are 100% only the home page doesn't show up. I searched around and found a couple fixes but they didn't seem to help possibly due to being the fix for an older version.

Anyone have any ideas? I do not know linux well so please be as descriptive as possible :D

Re: New Install - Ubuntu 11.1 Nagios 3.3.1

Posted: Wed Jan 18, 2012 1:41 pm
by mguthrie
Did you install this from source or apt?

Can you check the apache log when you access that page?

I think on Ubuntu it's:

Code: Select all

tail -f /var/log/apache2/error_log

Re: New Install - Ubuntu 11.1 Nagios 3.3.1

Posted: Wed Jan 18, 2012 4:10 pm
by Wikod
source --------- I followed this guide http://www.telnetport25.com/2012/01/ins ... gios-core/

Part of the Error Log:
[Wed Jan 18 15:43:55 2012] [error] [client X.X.X.X] PHP Warning: require_once(./includes/rss/extlib/Snoopy.class.inc): failed to open stream: No such file or directory in /usr/local/nagios/share/includes/rss/rss_fetch.inc on line 35, referer: http://localhost/nagios/side.php
[Wed Jan 18 15:43:55 2012] [error] [client X.X.X.X] PHP Fatal error: require_once(): Failed opening required './includes/rss/extlib/Snoopy.class.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/local/nagios/share/includes/rss/rss_fetch.inc on line 35, referer: http://localhost/nagios/side.php

Re: New Install - Ubuntu 11.1 Nagios 3.3.1

Posted: Wed Jan 18, 2012 5:47 pm
by mguthrie
Yeah, I think this is a known bug in 3.3.1. I just pulled the latest source and it looks like that has been removed. Try opening side.php and commenting out that line 35 and see if things work.

Re: New Install - Ubuntu 11.1 Nagios 3.3.1

Posted: Wed Jan 18, 2012 6:15 pm
by Wikod
Thanks for your help will try in the am

Re: New Install - Ubuntu 11.1 Nagios 3.3.1

Posted: Thu Jan 19, 2012 9:15 am
by Wikod
That worked it now displays the home page thank you!! :D

Edit: the edit was in line 35 of rss_fetch.inc though for those with this issue