• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

CGI problem after update: command not in docroot

B

brucew

Guest
Ran the Plesk updater today on an RH9 box with 7.5.4.
Update of system was succesfully completed.

Short update summary:

/PSA_7.5.4/rpm_RedHat_9/base/psa-hotfix2-7.5.4-rh9.build75051014.16.i586.rpm - installed
/PSA_7.5.4/rpm_RedHat_9/base/psa-api-common-7.5.4-rh9.build75051014.16.noarch.rpm - updated older package psa-api-common
/PSA_7.5.4/rpm_RedHat_9/base/psa-api-cli-7.5.4-rh9.build75051014.16.noarch.rpm - updated older package psa-api-cli
/PSA_7.5.4/rpm_RedHat_9/opt/api/psa-agent-1.3.5-75050930.11.noarch.rpm - updated older package psa-agent
/PSA_7.5.4/rpm_RedHat_9/opt/api/psa-api-rpc-7.5.4-rh9.build75050930.11.noarch.rpm - updated older package psa-api-rpc
/PSA_7.5.4/rpm_RedHat_9/opt/api/psa-api-rpc-doc-7.5.4-rh9.build75050930.11.noarch.rpm - updated older package psa-api-rpc-doc
/PSA_7.5.4/rpm_RedHat_9/opt/api/psa-api-rpc-protocol-7.5.4-rh9.build75050930.11.noarch.rpm - updated older package psa-api-rpc-protocol
/PSA_7.5.4/rpm_RedHat_9/opt/migration/psa-migration-manager-7.5.4-rh9.build75050930.11.i586.rpm - updated older package psa-migration-manager

Since then, all MovableType 2.6x installations return 500 errors on mt.cgi.

From the domains' error_log:
[Sun Nov 13 23:23:38 2005] [error] [client <my ip address>] Premature end of script headers: mt.cgi, referer: http://<referring uri>/

And from /var/log/httpd/suexec.log:
[2005-11-13 23:23:38]: uid: (10007/<domain username>) gid: (10001/10001) cmd: mt.cgi
[2005-11-13 23:23:38]: command not in docroot (/home/httpd/vhosts/<domain>/cgi-bin/mt/mt.cgi)

Added 10 hours later:

Additionally, FrontPage users are unable to publish.

From a domain's error_log:
[Mon Nov 14 11:01:29 2005] [error] [client <user's ip>] Premature end of script headers: fpexe
And from /var/log/httpd/suexec.log:
[2005-11-14 11:01:29]: user mismatch (root instead of apache)

Out of my depth here. Any hints on how to fix this?
 
Execute the command:

cp -f /usr/local/psa/suexec/psa-suexec /usr/sbin/suexec
 
Thanks hardweb!

I finally got there the long way around. Nice to have a simple, one-liner.
 
Very Frustrated!

I downloaded the application "movable type" and it is NOT working. I tried to manually install it first, step by step. Then later found that I could download it via the applications menu. I downloaded wordpress from the applications menu and had no problems, it runs fine. The site that I tried to put this on is josephdlyon.com When I try to log in, it gives me an error message. I think that I have all the required parts on my server to run movable type. It is volume 5.2. I don't know if I need to install perl bundle:dbi or what I have to do. I do not understand ssh or how to troubleshoot through that, all I know, is that if this is an app that I can download from Paralles, and all the other apps download just fine with no problems, then why doesn't this one work? I even changed the cgi permissions as the instructions said to do. Is there any way you can look at the required hardware/software to run this from movabletype.org and fix this problem? I can't be the only one experiencing this. Someone has to have had this problem if they too tried to download this app from the control panel.
 
Back
Top