• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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