SymptomsAfter Plesk 10(pp10) template installation on a Debian 5 container, I get internal error 500 when trying to log into Parallels Plesk Panel web interface.
There following information is logged to /var/log/sw-cp-server.log:
2012-06-29 20:07:13: (mod_fastcgi.c.1105) [ERROR]: spawning fcgi failed. Must be suid root
Note: If you are looking for a solution to the "500 - Internal Server Error", make sure you check out the main article: #114882:[HUB] 500 - Internal Server Error
CauseThe issue appears in case vzpkgenvdeb package has been upgraded to version 4.6.0-25.As a result SUID bit is missing on /usr/lib/sw-cp-server/sw-suexec file after Plesk template installation.
ResolutionThe following command has to be added to pp10 post-install script:
chmod 4710 /usr/lib/sw-cp-server/sw-suexec
That will solve the issue for all further pp10 template installations.
Additional InformationThe following Qmail issue may also be observed along with the one above:
Messages cannot be sent from container, because the following files do not have suid and guid bits:
-r-x--x--x 1 mhandlers-user popuser 47440 Nov 2 2011 qmail-queue
-r-x--x--x 1 qmailq qmail 20432 Nov 1 2011 qmail-queue.moved
-r-x--x--x 1 mhandlers-user popuser 46296 Nov 2 2011 qmail-remote
-r-x--s--x 1 mhandlers-user popuser 47440 Nov 2 2011 qmail-queue
-r-s--x--x 1 qmailq qmail 20432 Nov 1 2011 qmail-queue.moved
-r-x--s--x 1 mhandlers-user popuser 46296 Nov 2 2011 qmail-remote
If the permissions are incorrect on your container, correct them as shown above. It will solve the issue.