LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Nagios 3.2.3 blank screen (https://www.linuxquestions.org/questions/linux-software-2/nagios-3-2-3-blank-screen-884824/)

dell20 06-06-2011 10:07 AM

Nagios 3.2.3 blank screen
 
Hi all!
I have installed Nagios, and it claims to not have any errors, based on these directions from the nagios quickstart sourceforge page. (Sorry, I can't link to it)

But, after I authenticate at localhost/nagios, I only see a blank screen. I can't figure out what I'm doing wrong!

Can someone please help me decode these httpd error logs? I had to edit them to remove the links, but the gist is there.

Thanks!

PHP Warning: require_once(/usr/local/nagios/share/includes/../config.inc.php) failed to open stream: No such file or directory in /usr/local/nagios/share/includes/utils.inc.php on line 4, referer: localhost/nagios
[Mon Jun 06 10:49:08 2011] [error] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/nagios/share/includes/../config.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagios/share/includes/utils.inc.php on line 4, referer:
[Mon Jun 06 10:49:08 2011] [error] [client 127.0.0.1] PHP Warning: require_once(/usr/local/nagios/share/includes/../config.inc.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /usr/local/nagios/share/includes/utils.inc.php on line 4, referer:
[Mon Jun 06 10:49:08 2011] [error] [client 127.0.0.1] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/nagios/share/includes/../config.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagios/share/includes/utils.inc.php on line 4,


I should mention that I do have this file: /usr/local/nagios/share/includes/utils.inc.php

kirukan 06-06-2011 10:14 AM

Have you ever referred Nagios official document to install and configure Nagios? because Nagios have well documented guide on their official site.

dell20 06-06-2011 10:15 AM

Yep... I installed directly from what the quickinstall guide told me.

rahul_dubeyin 06-06-2011 10:23 AM

Let us know your installation steps. or just move the Nagios directory and install again thoroughly following documentation.

Also check whether SE Linux is disabled.

kirukan 06-06-2011 10:30 AM

Have you checked PHP module whether it is properly loaded in Apache?

dell20 06-06-2011 10:40 AM

Hello!
SE Linux is disabled.

I followed the instructions at the Nagios Sourceforge quickstart located here verbatim:
http (colon slash slash) nagios.sourceforge.net/docs/3_0/quickstart-fedora.html

dell20 06-06-2011 10:48 AM

Quote:

Originally Posted by kirukan (Post 4377880)
Have you checked PHP module whether it is properly loaded in Apache?

My apologies, I don't know how to check that!

dell20 06-06-2011 11:52 AM

Okay, I got it.
After doing an updatedb, I removed ANYTHING that said Nagios, deleted users, and started from scratch again. I must have missed something last time because now it works... Sweet!

Thanks for the help!


All times are GMT -5. The time now is 01:04 PM.