• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

suexec(cgi) problem

H

Highland

Guest
I'm currently stumped. I can't run any CGIs on my server because of suexec. I've followed the steps in http://kb.swsoft.com/en/762 and all I get is
[Mon Mar 10 08:29:10 2008] [error] [client X] failed to open log file /var/log/httpd/suexec_log
[Mon Mar 10 08:29:10 2008] [error] [client X] fopen: Permission denied
[Mon Mar 10 08:29:10 2008] [error] [client X] Premature end of script headers: test.cgi
instead of
[Mon Mar 10 09:36:36 2008] [error] [client X] suexec policy violation: see suexec log for more details
[Mon Mar 10 09:36:36 2008] [error] [client X] Premature end of script headers: test.cgi
The current error file is /var/log/httpd/suexec.log, not /var/log/httpd/suexec_log and I've even tried creating it so I get some errors but nothing.

Currently the error log is
[2008-03-10 09:36:36]: uid: (1234/userX) gid: (2524/2524) cmd: test.cgi
[2008-03-10 09:36:36]: target uid/gid (1234/2524) mismatch with directory (1234/2523) or program (1234/2524)

But test.cgi is 755 and owned by the appropriate groups
-rwxr-xr-x 1 userX psacln 76 Mar 8 11:20 test.cgi

Current Apache is httpd-2.2.3-11.el5_1.3 released Jan 11
PSA version is dated Dec 18
Neither works.
 
Back
Top