Do not have access to any .cgi file !!!
Ben Thomas
bthomas at journalbroadcastgroup.com
Mon Oct 30 19:59:33 CET 2006
forgot to send this to the list.
you probably need to chmod +x on the cgi files so that they can execute.
i would check that first.
________________________________
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Nene
Sent: Monday, October 30, 2006 12:28 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Do not have access to any .cgi file !!!
Hello list, I'm still crashing my hed to the wall, trying to get Nagios
ready !!!!!!
At this time I have problems accessing the host information through web:
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
I got into apache log error files, and notice this:
[Mon Oct 30 12:04:12 2006] [error] [client x.x.x.x] (13)Permission
denied: exec of '/usr/local/nagios/sbin/status.cgi' failed, referer:
http://x.x.x.x/nagios/side.html <http://x.x.x.x/nagios/side.html>
[Mon Oct 30 12:04:12 2006] [error] [client x.x.x.x] Premature end of
script headers: status.cgi, referer: http://x.x.x.x/nagios/side.html
<http://x.x.x.x/nagios/side.html>
So I'd read the documentation AGAIN and check AGAIN the httpd.conf, and
there is all like it should be (I hope):
### Section 4: Nagios Configuration Files
ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
<Directory "/usr/local/nagios/sbin">
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/nagios.pwd
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/nagios.pwd
Require valid-user
</Directory>
Then I surf the server directly, looking for side.html file, I access to
it, but when I click in any monitoring features, I got this error:
The file /nagios/cgi-bin/status.cgi?host=all cannot be found. Please
check......
So I try to locate manually but there is no file with that name in my
server !!!!!
What I'm doing wrong this time ????
Muchas gracias
David
......................................................................
The information contained in this communication may be confidential or
legally privileged and is intended only for the recipient named above.
If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication or its contents is strictly prohibited. If you have
received this communication in error, please immediately advise the
sender and delete the original and any copies from your computer system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20061030/9e0b10f4/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- 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