R: R: Installing problem
Marco Borsani
m.borsani at it.net
Mon Oct 2 11:39:36 CEST 2006
1) I have not yum on my system, usually use rpm.
Performing a rpm -qa | grep gd , I obtain:
gdbm-devel-1.8.0-24
gdbm-1.8.0-24
sysklogd-1.4.1-26_EL
gd-2.0.28-4
gdm-2.6.0.5-6
gdb-6.1post-1.20040607.62
gdk-pixbuf-0.22.0-15.1
Do I need to install another library?
2) I set SELinux to permissive, but I still receive the message:
./status.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.
I have not errors when I go into the directories. Is it normal?
When I installed Nagios on Red Hat Enterprise 3 I had not these problems!!
Marco
-}-----Messaggio originale-----
-}Da: Andreas Ericsson [mailto:ae at op5.se]
-}Inviato: venerdì 29 settembre 2006 17.35
-}A: Marco Borsani
-}Cc: 'Nagios Users Mailinglist'
-}Oggetto: Re: R: [Nagios-users] Installing problem
-}
-}Marco Borsani wrote:
-}> Well,
-}>
-}> 1) On HP-UX nagios is running correctly, all the libraries were
-}> installed before install it.
-}>
-}> I am not expert on Linux so I don't understand when you write:
-}> "..but for RedHat you *should* get everything needed by the simple
-}> expedient of
-}>
-}> yum install gd-devel"
-}> What do you mean?
-}>
-}
-}I mean you should type (as root)
-}
-}yum install gd-devel
-}
-}on your system to get the libraries you need to build the
-}cgi-programs that didn't execute properly.
-}
-}>
-}> 2) I performed:
-}> su apache
-}> cd /usr/local/
-}> cd nagios
-}> cd sbin
-}> ./status.gci
-}> 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.
-}>
-}> What does it mean?
-}>
-}> I am sorry, I am working with nagios from 2 year, but I meet these
-}> error for the first time now!
-}>
-}
-}
-}This is odd. Do you have SELinux turned on? If so, turn it
-}off and try accessing the page through the web again. Try
-}Google or the RedHat user forums for info on how to do that,
-}cause I have absolutely no idea.
-}
-}As a side note, I expected you to get errors several times
-}when cd'ing to the directory, as well as when trying to
-}execute the cgi program.
-}
-}--
-}Andreas Ericsson andreas.ericsson at op5.se
-}OP5 AB www.op5.se
-}Tel: +46 8-230225 Fax: +46 8-230231
-}
-------------------------------------------------------------------------
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