Article ID: 114382, created on Jul 16, 2012, last review on Aug 12, 2014

  • Applies to:
  • Plesk 10.x for Linux

Symptoms

After 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

Cause

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

Resolution

The 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 Information

The 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

should be:
-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.

dd0611b6086474193d9bf78e2b293040 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838

Email subscription for changes to this article
Save as PDF