statusmap.cgi question
Colby, James
jcolby at enterasys.com
Fri Mar 7 21:10:36 CET 2003
All -
I'm having a problem accessing my statusmap.cgi and trends.cgi. I have
successfully compiled all of the CGIs, but I am still getting this error
when I try to view them in nagios:
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 damascus.ctron.com 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.
------------------------------------------------------------------------
----
Apache/1.3.20 Server at <SERVER> Port 80
And in the the server error log I have the following message
[Fri Mar 7 14:50:50 2003] [error] [client 134.141.1.61] script not
found or unable to stat: /usr/local/nagios
/sbin/statusmap.cgi
ld.so.1: statusmap.cgi: fatal: libgd.so.2: open failed: No such file or
directory
[Fri Mar 7 14:52:03 2003] [error] [client 134.141.1.61] Premature end
of script headers: /usr/local/nagios/sb
in/statusmap.cgi
If I log into my nagios server, and try to execute the statusmap.cgi as
the nagios user I get the following output:
getcgivars(): Unsupported REQUEST_METHOD -> ''
I'm guessing you're trying to execute the CGI from a command line.
In order to do that, you need to set the REQUEST_METHOD environment
variable to either "GET", "HEAD", or "POST". When using the
GET and HEAD methods, arguments can be passed to the CGI
by setting the "QUERY_STRING" environment variable. If you're
using the POST method, data is read from standard input. Also of
note: if you've enabled authentication in the CGIs, you must set the
"REMOTE_USER" environment variable to be the name of the user you're
"authenticated" as.
I am running nagios version 1.0 on a soloris 2.7 server running apache
1.3.20
Thanks in advance for all of your help
James
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
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