Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 24th, 2000, 10:36 AM
Mirax's Avatar
Mirax Mirax is offline
Senior Member
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2000
Location: Enschede, The Netherlands
Posts: 1,527 Mirax User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 55 m 57 sec
Reputation Power: 14
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...

Reply With Quote
  #2  
Old August 24th, 2000, 11:39 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>cannot run as forbidden gid

Start here -> http://www.apache.org/docs/suexec.html

Read thru the 20 questions.

Reply With Quote
  #3  
Old August 24th, 2000, 02:05 PM
Mirax's Avatar
Mirax Mirax is offline
Senior Member
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2000
Location: Enschede, The Netherlands
Posts: 1,527 Mirax User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 55 m 57 sec
Reputation Power: 14
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

Reply With Quote
  #4  
Old August 24th, 2000, 02:20 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
So what is your DocumentRoot?

Are there any UserDir? ScriptAlias?

Reply With Quote
  #5  
Old August 25th, 2000, 12:48 PM
Mirax's Avatar
Mirax Mirax is offline
Senior Member
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2000
Location: Enschede, The Netherlands
Posts: 1,527 Mirax User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 55 m 57 sec
Reputation Power: 14
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!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > all CGI scripts returning errors?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap