New Install - Ubuntu 11.1 Nagios 3.3.1

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Wikod
Posts: 10
Joined: Wed Jan 18, 2012 10:36 am

New Install - Ubuntu 11.1 Nagios 3.3.1

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

Re: New Install - Ubuntu 11.1 Nagios 3.3.1

Post 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
Wikod
Posts: 10
Joined: Wed Jan 18, 2012 10:36 am

Re: New Install - Ubuntu 11.1 Nagios 3.3.1

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

Re: New Install - Ubuntu 11.1 Nagios 3.3.1

Post 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.
Wikod
Posts: 10
Joined: Wed Jan 18, 2012 10:36 am

Re: New Install - Ubuntu 11.1 Nagios 3.3.1

Post by Wikod »

Thanks for your help will try in the am
Wikod
Posts: 10
Joined: Wed Jan 18, 2012 10:36 am

Re: New Install - Ubuntu 11.1 Nagios 3.3.1

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