Home screen blank

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
FTL
Posts: 72
Joined: Fri Oct 21, 2011 7:23 am

Home screen blank

Post by FTL »

Hi all,

New to forum, completely new to Linux and new to Nagios! (please dont abandon me already :-) )

I have installed Nagios Core on Ubuntu Desktp 11.04 32-bit - i am at a default install.

However upon logging into Nagios the "Home" page is blank. I believe it should show the nagios logo, check for updates etc etc?

Mine shows nothing.

All other links on the left side bar menu work and return the pages they should just not "Home"

Not a big issue i know but does anybody know why and can help me?

Attached is a copy of my main.php file if it helps?

Thanks in advance
Attachments
mainphp.txt
(6.09 KiB) Downloaded 380 times
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Home screen blank

Post by mguthrie »

There must be a fatal php error. Check out your apache log, there should be error messages showing up after accessing that page. Go ahead and post them if you find them.
FTL
Posts: 72
Joined: Fri Oct 21, 2011 7:23 am

Re: Home screen blank

Post by FTL »

Thankyou for taking time to comment on my issue mguthrie

Please find below the output from the apache error.log file as requested once attempting to access the main.php page

[Mon Oct 24 12:58:05 2011] [error] [client 127.0.0.1] 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/


[Mon Oct 24 12:58:05 2011] [error] [client 127.0.0.1] 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/
FTL
Posts: 72
Joined: Fri Oct 21, 2011 7:23 am

Re: Home screen blank

Post by FTL »

linked is the file in question

http://dl.dropbox.com/u/895609/rss_fetch.inc
FTL
Posts: 72
Joined: Fri Oct 21, 2011 7:23 am

Re: Home screen blank

Post by FTL »

mguthrie:

Due to another issue i had with not being able to issue any changes via the web interface due to permissions issue i dug out a different drive and relaoded from scratch.

Followed the same guide but this time monitored the commands closely and found and issue with the the Make Install command of nagios core.

See the other thread for a bit of detail

http://forums.meulie.net/viewtopic.php? ... 342#p24342

After running the command in the ubuntu forums link from above forum and then continuing with the install i now have a home screen!! YAY

Although now the backgorund of the Menu bar on the left is white with blue writing where as before it used to be black with white writing which made it much easier to read!

Hey ho onwards and upwards - start to learn a bit of nagios.

Thanks
lrgiese
Posts: 1
Joined: Tue Dec 13, 2011 10:22 pm

Re: Home screen blank

Post by lrgiese »

I found that the missing Snoopy.class.inc is caused by a bug in the installation. It's created, but not copied over to where it belongs. Find Snoopy.class.inc in your build tree(./html/includes/rss/extlib ) to ./share/includes/rss/extlib

Lyle
Locked