|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
I have a webserver on which I try to run some cgi-scripts. I looked at /var/log/apache/suexec.log and it says that something is going wrong when I run a script. If I run www.domain.com/cgi-bin/someScript.pl it returns some error (Some Internal Error) and the suexec.log contains something like:
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR> [2000-08-24 10:00:17]: cannot run as forbidden gid (33/profSchets.pl) [2000-08-24 10:03:23]: uid: (euramco/euramco) gid: (www-data/www-data) cmd: prof Schets.pl [/quote] The server runs Perl 5.005 and has Apache as webserver. Someone knows what's going wrong? I have really no idea.. /usr/bin/perl has mode 277 (?) (lrwxrwxrwx) so that's not the problem either... ![]() |
|
#2
|
|||
|
|||
|
>>cannot run as forbidden gid
Start here -> http://www.apache.org/docs/suexec.html Read thru the 20 questions. |
|
#3
|
||||
|
||||
|
Thnx!
But I now get the following error in the suexec.log when using suexec: <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR> [2000-08-24 18:43:53]: command not in docroot (/home/euramco/cgi-bin/profSchets. pl) [/quote] In the file access.log is /home registered as directory and the cgi-bin is located at /home/euramco/cgi-bin |
|
#4
|
|||
|
|||
|
So what is your DocumentRoot?
Are there any UserDir? ScriptAlias? |
|
#5
|
||||
|
||||
|
The problem is already solved.. gave somebody access to the server and he fixed it.. no idea what was changed though...
![]() Thanx for your help freebsd! |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > all CGI scripts returning errors? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|