(no subject)

Carl Schelin cschelin at hq.nasa.gov
Thu Dec 11 17:52:19 CET 2003


(personal message bounced)

If you run the .cgi on the command line you'll get the error message. On
my Solaris system I had to create symbolic links from /usr/lib to
/usr/local/lib:

cd /usr/lib
ln -s ../local/lib/libpng.so.3 libpng.so.3
ln -s ../local/lib/libgd.so.2 libgd.so.2
====================================================================

When it works you'll get a bunch of text:

====================================================================
voyeur: ./trends.cgi
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.
====================================================================

That means it's working.

Carl

On Thu, 2003-12-11 at 11:25,
Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx
wrote:
>                                                                                                                                                         
>                                                                             
>                                                                             
>                                                                             
>     I've installed nagios, the gdlibrary, etc.. Nagios says everything's    
>     ok, but I still cannot get the any of the graphical portions of the web 
>     interface running.                                                      
>                                                                             
>                                                                             
> 
> 
> 
> 
> 
> 
> I have red hat 9
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> 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



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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