• 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.

fastcgi problems

J

j0sh

Guest
Hello, I am using I'm using plesk panel on centos 5
OS Linux 2.6.18-194.26.1.el5xen
Panel version 10.2.0

I have a couple issues i really need to figure out, and it would be much appreciated!

One is in the panel i see a red box saying:
Error: New files of configuration for Apache web server were not built due to errors in configuration templates. The detailed error message was e-mailed to you, so please check the e-mail, fix the errors, and click here to retry generating configuration.

I tried clicking retry and i get:
Error: Web server reconfiguration failed: New Apache configuration was not built.

Wondering if there is a fix for that?

Also, i am having an issue with fastcgi, when it is enabled, and php as an apache module is disabled i get either a 500 internal error or a blank page. php as a module works okay but i am having tons of permission issues with clients and would really like to get fastcgi working with suexec, thanks.

Any help would be greatly appreciated
 
fixed the config error for apache, user had deleted one of the .include files in the /vhosts/domain/conf folder, used "touch file.include" and was able to regenerate configs..

Still have the fastcgi problem, and would LOVE to get that working, please :)
 
no one knows how to fix this? fastcgi just doesnt seem to work please lol.. i really need this to work as i think it will fix a big issue i have with plesk.. i am trying to get used to plesk, i am just more efficient with cpanel, any guidance.. i really don't want to switch back to cpanel as i feel alot of my issues with it can be fixed, thanks.. i really appreciate any help anyone can give me!
 
wow.. 4 days and nothing from anyone? :( Please i am really trying to keep plesk but it has been nothing but issue after issue, and with cpanel i had no problems what-so-ever.. I am just trying to fix this fastcgi issue, it is really strange and im sure their is a simple fix.. i just cant seem to figure it out.. please, again.. any help would be greatly appreciated..
 
check your error logs

Hi Josh,

It is a bit hard to know what your problem is without further details. Did you check your error_log for further details about the 500 error?
 
hey sorry

The suexec.log file shows tons and tons of:

[2011-07-20 04:28:34]: target uid/gid (10013/505) mismatch with directory (0/0) or program (0/0)
[2011-07-20 04:37:00]: uid: (10013/eliteconsult) gid: (505/505) cmd: cgi_wrapper
[2011-07-20 04:37:00]: target uid/gid (10013/505) mismatch with directory (0/0) or program (0/0)
[2011-07-20 04:37:00]: uid: (10013/eliteconsult) gid: (505/505) cmd: cgi_wrapper
[2011-07-20 04:37:00]: target uid/gid (10013/505) mismatch with directory (0/0) or program (0/0)
[2011-07-20 05:28:31]: uid: (10013/eliteconsult) gid: (505/505) cmd: cgi_wrapper
[2011-07-20 05:28:31]: target uid/gid (10013/505) mismatch with directory (0/0) or program (0/0)
[2011-07-20 05:28:56]: uid: (10013/eliteconsult) gid: (505/505) cmd: cgi_wrapper
[2011-07-20 05:28:56]: target uid/gid (10013/505) mismatch with directory (0/0) or program (0/0)
[2011-07-20 06:27:32]: uid: (10013/eliteconsult) gid: (505/505) cmd: cgi_wrapper
[2011-07-20 06:27:32]: target uid/gid (10013/505) mismatch with directory (0/0) or program (0/0)
[2011-07-20 06:27:33]: uid: (10013/eliteconsult) gid: (505/505) cmd: cgi_wrapper
[2011-07-20 06:27:33]: target uid/gid (10013/505) mismatch with directory (0/0) or program (0/0)
[2011-07-20 06:27:34]: uid: (10013/eliteconsult) gid: (505/505) cmd: cgi_wrapper
[2011-07-20 06:27:34]: target uid/gid (10013/505) mismatch with directory (0/0) or program (0/0)
[2011-07-20 06:28:49]: uid: (10013/eliteconsult) gid: (505/505) cmd: cgi_wrapper
[2011-07-20 06:28:49]: target uid/gid (10013/505) mismatch with directory (0/0) or program (0/0)
[2011-07-20 06:29:13]: uid: (10013/eliteconsult) gid: (505/505) cmd: cgi_wrapper
[2011-07-20 06:29:13]: target uid/gid (10013/505) mismatch with directory (0/0) or program (0/0)
[2011-07-20 06:47:32]: uid: (10013/eliteconsult) gid: (505/505) cmd: cgi_wrapper
[2011-07-20 06:47:32]: target uid/gid (10013/505) mismatch with directory (0/0) or program (0/0)
[2011-07-20 08:30:09]: uid: (10013/eliteconsult) gid: (505/505) cmd: cgi_wrapper
[2011-07-20 08:30:09]: target uid/gid (10013/505) mismatch with directory (0/0) or program (0/0)
[2011-07-20 08:30:40]: uid: (10013/eliteconsult) gid: (505/505) cmd: cgi_wrapper
[2011-07-20 08:30:40]: target uid/gid (10013/505) mismatch with directory (0/0) or program (0/0)
 
It does this for any user, any site.. etc, i believe at one point it did work tho, before an upgrade of plesk and or system updates.. thanks for the reply and i would be so greatfull for any suggestions!
 
I havent' had that problem, but have you checked you have the right user/group assigned for the web files and folders.

Are you testing with a basic HTML file or PHP script. Maybe start with a simple HTML file, then test with a simple PHP script (like phpinfo(); ) Keep an eye on your /var/log/httpd/error_log to get further details on the 500 errors.
 
It seems copying /usr/local/psa/suexec/psa-suexec over /usr/sbin/suexec resolves the issue.. maybe system upgrades overwrote and changed something? well again thanks for your help!
 
Glad to hear you got it sorted. I have had strange problems after upgrades before (system and Plesk), and have found that a solution that often helps is to re-run the Plesk command-line autoinstaller but not changing the package selections. This will revert the system to psa supplied packages, and re-apply hotfixes.

Another thing I think is worth doing, is to restart the server after major updates or upgrades.
 
Back
Top