[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Unable to run CGI on a Qube2



I'm trying to move some working CGI scripts to a Qube2. For now, I've created the "site" under a normal user directory (e.g., /<domain>/users/<user>/<website>) with all scripts living in a "cgi-bin" subdirectory. All the scripts correctly begin w/ #!/usr/bin/perl (which is the location of Perl - verified by "whereis"). The cgi-bin directory and all contents have been set to 755 (through chmod). I've verified this as well - in fact, here's the ls -l output:
 
-rwxr-xr-x   1 brendan  httpd       17744 May 15  1999 Internet.pm
-rwxr-xr-x   1 brendan  httpd         834 Feb 12 11:04 dellog.pl
-rwxr-xr-x   1 brendan  httpd        4515 Feb 12 11:04 get.pl
-rwxr-xr-x   1 brendan  httpd        1137 Feb 12 11:04 signout.pl
-rwxr-xr-x   1 brendan  httpd        1745 Feb 12 11:32 status.pl
-rwxr-xr-x   1 brendan  httpd        3595 Feb 12 11:04 viewlog.pl
-rwxr-xr-x   1 brendan  httpd       13120 Feb 12 11:05 webmailer.pl
 
However, whenever I attempt to run one of these scripts, I get the following error:
 

CGIWrap encountered an error while attempting to execute this script:

Error Message: No such file or directory
Error Number: 2
This message usually indicates there is a problem with the script itself. The owner of the script needs to check the #! line for correctness.

Server Data:

Server Administrator/Contact: admin@xxxxxxxxx
Server Name: qube.home
Server Port: 80
Server Protocol: HTTP/1.1

Request Data:

User Agent/Browser: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; MS ITG IE5 internal; DigExt)
Request Method: GET
Remote Address: 10.0.0.2
Remote Port: 2912
(For this specific case, the "website" is named "Aleia" and the "domain", since I'm on a LAN only at present, is "home". The executing URL is: http://qube.home/users/brendan/Aleia/cgi-bin/status.pl.)
 
Any thoughts? Suggestions? Further questions?
 
Brendan