• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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