leighj

Well-Known Member
Feb 21, 2003
51
0
156
Ok this is a bit of a streach but I'm trying to install Bugzilla into a subdomain of one of the accounts on the server and it just doesn't want to work.
This is the stuff from testserver.pl

TEST-OK Webserver is running under group id in $webservergroup.
TEST-OK Got ant picture.
Use of uninitialized value in pattern match (m//) at ./testserver.pl line 100.
Use of uninitialized value in pattern match (m//) at ./testserver.pl line 100.
TEST-FAILED Webserver is not executing CGI files.
TEST-OK Webserver is preventing fetch of

This is driving me up a wall any hints?
 

Wave3

Member
Apr 6, 2005
6
0
151
Have you checked the pemmissions of all the .cgi files? they should be chmoded 744 I found if you unziped bugzilla on Windows the take off read-only access from the folder and files. Then upload those files to the server, testserver.pl runs successfully.

(You could also use an ftp manager to change the permissions but there are a lot of files that need to be changed.)
 

leighj

Well-Known Member
Feb 21, 2003
51
0
156
Solved

Ok

I solved the problem. FIRST I forgot to look in
/etc/httpd/logs/suexec_log

Which had the following
[2005-04-08 10:18:03]: info: (target/actual) uid: (fffff/fffff) gid: (fffff/fffff) cmd: index.cgi

Hmmm seems like and ownership problem. Suexec is enabled SO the owner should be the owner of the account.

so I chown everything to fffff

No luck but GETTING CLOSE

chgrp everything to nobody

VOILA

The frustrating thing with problems with perl CGI is that often you get
"check the permissions and ownership"

BUT nobody gives you a hint on WHAT they should be.