Get into the start page of nagios but no access to any cgi files
Matthias N
one_matthias at hotmail.com
Wed Jan 31 01:54:28 CET 2007
Hi
i get into initial naqgios page but after that i am getting lost ...
when clicking on the "service details" link on the left side i get:
**********************************
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, root at localhost and inform them of
the time the error occurred, and anything you might have done that may have
caused the error.
More information about this error may be available in the server error log.
******************************
the server log tells me:
*************************************************
[root at hamm etc]# tail -f /etc/httpd/logs/error_log
[Tue Jan 30 18:10:50 2007] [notice] Digest: done
[Tue Jan 30 18:10:50 2007] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Tue Jan 30 18:10:50 2007] [notice] LDAP: SSL support unavailable
[Tue Jan 30 18:10:50 2007] [notice] mod_python: Creating 4 session mutexes
based on 256 max processes and 0 max threads.
[Tue Jan 30 18:10:50 2007] [notice] Apache/2.0.52 (CentOS) configured --
resuming normal operations
[Tue Jan 30 18:14:13 2007] [error] [client ***myserverip***] File does not
exist: /var/www/html/nagops, referer:
http://***myserverip***/nagios/side.html
[Tue Jan 30 18:34:51 2007] [error] [client ***myserverip***] File does not
exist: /var/www/html/nagois, referer:
http://***myserverip***/nagios/side.html
[Tue Jan 30 18:39:36 2007] [error] [client ***myserverip***] Directory index
forbidden by rule: /var/www/html/
[Tue Jan 30 18:40:14 2007] [error] [client ***myserverip***] (13)Permission
denied: exec of '/usr/local/nagios/sbin/status.cgi' failed, referer:
http://***myserverip***/nagios/side.html
[Tue Jan 30 18:40:14 2007] [error] [client ***myipaddress***] Premature end
of script headers: status.cgi, referer:
http://****myserverip***/nagios/side.html
*************************************************
added an html page at /usr/local/nagios/sbin/ location and i can open that
one but if i force the webbroswer to open an cgi file by choosing "open file
in firefox than it ask me what to do with that file and how to open it ...
in the installation i user the following string ...
*****************************************************
./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin
--with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-group=nagios
--with-command-group=nagcmd
***************************************************
httpd.conf contains:
***************************************
ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
<Directory "/usr/local/nagios/sbin">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
Alias /nagios /usr/local/nagios/share
<Directory "/usr/local/nagios/share">
Options None
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
***********************************
i have added nodes to check and the nagios -v nagios.cfg works well ...
nagios started butr one thing that worrie is that libgd i can not find it
... anywhere ...
where can i find all the libraries neded by nagios in the documentation and
where do getthem boutells gd i have but i guess some more is needed ...
<html><div><P><FONT face="Lucida Handwriting, Cursive" size=2>Matthias
Nilsson </FONT><IMG height=19
src="http://graphics.hotmail.com/i.p.emsmile.gif" width=19></P></div></html>
_________________________________________________________________
Världen bevakas på MSN http://nyheter.msn.se/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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