[ic] internal server error

Jason Kohles interchange-users@interchange.redhat.com
Fri Feb 8 12:51:01 2002


On Fri, 2002-02-08 at 12:06, Aaron Hazelton wrote:
>
> I have found the server log under the name "suexec_log" that seems to
> have info on this.  I have tried to correct the permissions of the
> cgi-bin and the lwh.cgi file and no matter how I change it the error
> still says this:
> 
>    [2002-02-08 11:56:15]: error: file is either setuid or setgid:
> (/home/virtual/site1/fst/var/www/cgi-bin/lwh.cgi)
>    [2002-02-08 12:01:08]: info: (target/actual) uid: (admin1/admin1)
> gid: (admin1/admin1) cmd: lwh.cgi
>    [2002-02-08 12:01:08]: error: file is either setuid or setgid:
> (/home/virtual/site1/fst/var/www/cgi-bin/lwh.cgi)
>    [2002-02-08 12:01:10]: info: (target/actual) uid: (admin1/admin1)
> gid: (admin1/admin1) cmd: lwh.cgi
>    [2002-02-08 12:01:10]: error: file is either setuid or setgid:
> (/home/virtual/site1/fst/var/www/cgi-bin/lwh.cgi)
>    [2002-02-08 12:03:32]: info: (target/actual) uid: (admin1/admin1)
> gid: (admin1/admin1) cmd: lwh.cgi
>    [2002-02-08 12:03:32]: error: file is either setuid or setgid:
> (/home/virtual/site1/fst/var/www/cgi-bin/lwh.cgi)
>    [2002-02-08 12:03:34]: info: (target/actual) uid: (admin1/admin1)
> gid: (admin1/admin1) cmd: lwh.cgi
> 
This indicates that when makecat asked you if you used suexec, you told
it you don't, when in fact you do.  Simply turning off the setuid bit
(chmod u-s lwh.cgi) should do the trick.

-- 
Jason Kohles                                 jkohles@redhat.com
Senior System Architect
Red Hat Professional Consulting              http://www.redhat.com/