Internal Server Error Occuring when trying to access Nagios on the browser

Ifeanyi Agu ifepet2002 at yahoo.com
Wed Aug 25 13:22:13 CEST 2010


Hello Jim,

I used this link (http://www.kernelhardware.org/install-nagios-on-centos-5/) to install my Nagios. I did all that you said while installing. I ran this command   ps -ef | grep nagios and I saw an output but I did not see anything that shows me whether Nagios Daemon is running or not. How do I know?

Ifeanyi Agu

08063728802

--- On Tue, 24/8/10, Jim Avery <jim at jimavery.me.uk> wrote:

From: Jim Avery <jim at jimavery.me.uk>
Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser
To: "Nagios Users List" <nagios-users at lists.sourceforge.net>
Date: Tuesday, 24 August, 2010, 1:46 PM

On 24 August 2010 08:37, Ifeanyi Agu <ifepet2002 at yahoo.com> wrote:

Hello all,

I am new to Nagios. I just installed it and did all the necessary configuration but when I open it on my browser, I can only view the documentation. The other links I go keep showing me internal server error.


I checked the apache error logs and it was telling me that permission was denied when trying to access the cgi files that come with Nagios. Please what could be the problem?

Ifeanyi Agu

08063728802

Welcome!  I hope you enjoy using Nagios as much as I do.


A common reason for this problem is that the correct permissions are not applied.


When you compiled nagios, did you run "make install-webconf"?

After that you should have reloaded the Apache config.  The command for this might vary depending on what Linux distribution you are using.  As an example, on Ubuntu it is..


  /etc/init.d/apache2 reload

Another problem can be that the Nagios daemon is not running.  If you enter:

  ps -ef | grep nagios

does this show the daemon running?

It is also a good idea to check your nagios config before starting the Nagios daemon.  You do this by entering:


/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

(you might need to alter those if you installed in a different location).  If the verification fails, you will need to fix whatever the problems are in your config before continuing.


Which version of Linux are you using, and which instructions did you follow when installing Nagios?  Nagios can be installed in lots of different ways so it will help to know which one you were working to.

Cheers,


Jim
 


-----Inline Attachment Follows-----

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
-----Inline Attachment Follows-----

_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100825/9a2a6cb4/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list