[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] CGI-Wrap Permissions?!
- Subject: [cobalt-users] CGI-Wrap Permissions?!
- From: "Nick Clewer" <nickc@xxxxxxxxxxxxxx>
- Date: Wed Feb 21 00:08:41 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Guys/Gals, for some reason on of my clients boxes has delevoped a error in
which no CGI's can be ran on the server, I have rebooted the server, checked
the httpd.conf,srm.conf,access.conf but can't seem to find anything wrong. I
am getting a User not Privileged error, so I ran the wrapper in debug and
got this;
-----------------------------------------------------------
Initializing Logging
Redirecting STDERR to STDOUT
Cobalt RaQ virtual site CGI wrapper
Setting SIGXCPU to default behaviour
Environment Variables:
QUERY_STRING: ''
SCRIPT_NAME: '/cgiwrapDir/cgiwrapd'
PATH_INFO: '/cgi-bin/simple.cgid'
PATH_TRANSLATED: '/home/sites/site2/web/cgi-bin/simple.cgid'
REMOTE_USER: '<NULL>'
REMOTE_HOST: '<NULL>'
REMOTE_ADDR: 'XXX.XXX.XXX.XXX'
Trying to extract user from PATH_INFO.
Retrieved User Name: ''
Script File: '/home/sites/site2/web/cgi-bin/simple.cgi'
*****************
* CGIWrap Error *
*****************
Execution of (root) is not permitted
for the following reason:
User not Privileged.
****************************************
* Local Information and Documentation: *
****************************************
Contact Name: Administrator
Contact EMail: admin
****************
* Server Data: *
****************
Server Administrator/Contact: site2
Server Name: www.domain.com
Server Port: 80
Server Protocol: HTTP/1.1
*****************
* Request Data: *
*****************
User Agent/Browser: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Request Method: GET
Remote Address: XXX.XXX.XXX.XXX
Remote Port: 3824
Extra Path Info: /cgi-bin/simple.cgid
-----------------------------------------------------
I have checked the permissions on the cgi file but it is doing it to every
cgi that is on the server, which lead me to think there is something wrong
with the wrapper. It happens to every user that owns the cgi script, I also
have tried running the script via the user httpd and it ran eg below
[httpd cgi-bin]$ perl simple.cgi
Content-type: text/html
<html><head><title>Simple CGI Test</title></head><body>
<center>
The Simple CGI Test script is functioning properly.
</center>
</body></html>
[httpd cgi-bin]$
Any Ideas?