• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

permission denied running php as CGI suexec error

  • Thread starter Ryan St. Germain
  • Start date
R

Ryan St. Germain

Guest
This error just started happening. I am wondering if it has something to do with cgi being update im not sure. When i tell it to run php as an apache module its fine. Below is the error log for my domain.....it looks like it has something to do with suexec

suexec policy violation: see suexec log for more details,
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://graphicsdude.com/test/php/test.html?cid=promo-plesk-domain
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details, referer: http://graphicsdude.com/test/php/test.html?cid=promo-plesk-domain

here is the suexec log

[2011-05-05 21:18:55]: uid: (10003/graphic) gid: (505/505) cmd: cgi_wrapper
[2011-05-05 21:18:55]: target uid/gid (10003/505) mismatch with directory (0/0)
or program (0/0)
[2011-05-05 21:18:58]: uid: (10003/graphic) gid: (505/505) cmd: cgi_wrapper
[2011-05-05 21:18:58]: target uid/gid (10003/505) mismatch with directory (0/0)
or program (0/0)
[2011-05-05 21:19:00]: uid: (10003/graphic) gid: (505/505) cmd: cgi_wrapper
[2011-05-05 21:19:00]: target uid/gid (10003/505) mismatch with directory (0/0)
or program (0/0)
[2011-05-05 21:19:03]: uid: (10003/graphic) gid: (505/505) cmd: cgi_wrapper
[2011-05-05 21:19:03]: target uid/gid (10003/505) mismatch with directory (0/0)
or program (0/0)
[2011-05-05 21:19:06]: uid: (10003/graphic) gid: (505/505) cmd: cgi_wrapper
[2011-05-05 21:19:06]: target uid/gid (10003/505) mismatch with directory (0/0)
or program (0/0)
[2011-05-05 21:19:08]: uid: (10003/graphic) gid: (505/505) cmd: cgi_wrapper
[2011-05-05 21:19:08]: target uid/gid (10003/505) mismatch with directory (0/0) or program (0/0)
[2011-05-05 21:19:11]: uid: (10003/graphic) gid: (505/505) cmd: cgi_wrapper
[2011-05-05 21:19:11]: target uid/gid (10003/505) mismatch with directory (0/0) or program (0/0)
 
Looks like that /usr/sbin/suexec has been overwritten. Try to copy /usr/local/psa/suexec/psa-suexec over /usr/sbin/suexec and restart Apache.
 
Back
Top