• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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