• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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