default userpic

Premature End of Script Headers

Vote 0 Votes

After upgrading to 4.2RC4 from RC3, I'm getting an 500 Internal Server error when I attempt to log in. I check the server error logs and it's a premature end of script headers error. /home/xxxxxxx/public_html/cgi-bin/mt.cgi

Any suggestions on how to correct this?

Thanks in advance.

12 Replies

| Add a Reply
  • Oh yeah, and I have verified the files were uploaded correctly and that all the permissions are set as they should be as well.

  • I had the same issue on a test site. I figured out that the problem was related to the /cgi-bin/mt directory permissions being changed to 777.

    I had checked all the other files, re-uploaded, etc. Missed that simple thing.

  • I've checked permissions on all folders and they're all correct too. Still no luck with logging in. I am able to enter my username and password, but when I click "sign in" I get the 500 Internal Server Error.

  • Any other suggestions anyone?

  • Does mt-check run correctly?

  • Anything else in the web server logs?

  • Here's the log:

    [2008-07-26 02:31:16]: error: file has no execute permission: (/home/neocarla/public_html/cgi-bin/mt.cgi)
    [2008-07-26 02:31:05]: error: file has no execute permission: (/home/neocarla/public_html/cgi-bin/mt.cgi)
    [2008-07-26 02:30:33]: error: file has no execute permission: (/home/neocarla/public_html/cgi-bin/mt.cgi)
    [2008-07-25 22:57:16]: error: file has no execute permission: (/home/neocarla/public_html/cgi-bin/mt.cgi)
    [2008-07-25 22:57:16]: error: file has no execute permission: (/home/neocarla/public_html/cgi-bin/mt.cgi)
    [2008-07-25 22:57:13]: error: file has no execute permission: (/home/neocarla/public_html/cgi-bin/mt.cgi)
    [2008-07-25 22:57:11]: error: file has no execute permission: (/home/neocarla/public_html/cgi-bin/mt.cgi)
    [2008-07-25 22:56:31]: error: file is writable by others: (/home/neocarla/public_html/cgi-bin/mt.cgi)
    [2008-07-25 22:51:56]: error: file has no execute permission: (/home/neocarla/public_html/cgi-bin/mt.cgi)
    [2008-07-25 22:51:55]: error: file has no execute permission: (/home/neocarla/public_html/cgi-bin/mt.cgi)
    [2008-07-25 22:51:55]: error: file has no execute permission: (/home/neocarla/public_html/cgi-bin/mt.cgi)
    [2008-07-25 22:51:49]: error: file has no execute permission: (/home/neocarla/public_html/cgi-bin/mt.cgi)
    [2008-07-25 22:51:45]: error: file has no execute permission: (/home/neocarla/public_html/cgi-bin/mt.cgi)
    [2008-07-25 22:51:35]: error: file has no execute permission: (/home/neocarla/public_html/cgi-bin/mt.cgi)
    [2008-07-25 22:51:19]: error: file has no execute permission: (/home/neocarla/public_html/cgi-bin/mt.cgi)
    [2008-07-25 22:04:41]: error: directory is writable by others: (/home/neocarla/public_html/cgi-bin)
    [2008-07-25 22:04:33]: error: directory is writable by others: (/home/neocarla/public_html/cgi-bin)
    [2008-07-24 17:07:32]: error: file has no execute permission: (/home/neocarla/public_html/cgi-bin/mt/mt.cgi)
    [2008-07-24 13:50:25]: error: directory is writable by others: (/home/neocarla/public_html/cgi-bin)
    [2008-07-24 13:50:17]: error: directory is writable by others: (/home/neocarla/public_html/cgi-bin)
    [2008-07-24 02:08:05]: error: file is writable by others: (/home/neocarla/public_html/cgi-bin/mt.cgi)
    [2008-07-24 02:07:54]: error: file is writable by others: (/home/neocarla/public_html/cgi-bin/mt.cgi)
    [Sat Jul 26 16:19:57 2008] [error] [client 66.137.224.189] File does not exist: /home/neocarla/public_html/500.shtml
    [Sat Jul 26 16:19:57 2008] [error] [client 66.137.224.189] Premature end of script headers: /home/neocarla/public_html/cgi-bin/mt.cgi
    [Sat Jul 26 16:15:44 2008] [error] [client 66.137.224.189] File does not exist: /home/neocarla/public_html/500.shtml
    [Sat Jul 26 16:15:44 2008] [error] [client 66.137.224.189] Premature end of script headers: /home/neocarla/public_html/cgi-bin/mt.cgi
    [Sat Jul 26 16:15:35 2008] [error] [client 66.137.224.189] File does not exist: /home/neocarla/public_html/404.shtml
    [Sat Jul 26 16:15:35 2008] [error] [client 66.137.224.189] File does not exist: /home/neocarla/public_html/favicon.ico
    [Sat Jul 26 16:15:35 2008] [error] [client 66.137.224.189] File does not exist: /home/neocarla/public_html/500.shtml
    [Sat Jul 26 16:15:35 2008] [error] [client 66.137.224.189] Premature end of script headers: /home/neocarla/public_html/cgi-bin/mt.cgi
    [Sat Jul 26 16:00:10 2008] [error] [client 74.6.17.160] File does not exist: /home/neocarla/public_html/404.shtml
    [Sat Jul 26 16:00:10 2008] [error] [client 74.6.17.160] File does not exist: /home/neocarla/public_html/mt/entertainment/
    [Sat Jul 26 16:00:10 2008] [error] [client 74.6.17.160] File does not exist: /home/neocarla/public_html/404.shtml
    [Sat Jul 26 16:00:10 2008] [error] [client 74.6.17.160] File does not exist: /home/neocarla/public_html/robots.txt
    [Sat Jul 26 15:55:30 2008] [error] [client 66.137.224.189] File does not exist: /home/neocarla/public_html/500.shtml
    [Sat Jul 26 15:55:30 2008] [error] [client 66.137.224.189] Premature end of script headers: /home/neocarla/public_html/cgi-bin/mt.cgi
    [Sat Jul 26 15:53:27 2008] [error] [client 66.231.189.93] File does not exist: /home/neocarla/public_html/404.shtml
    [Sat Jul 26 15:53:27 2008] [error] [client 66.231.189.93] File does not exist: /home/neocarla/public_html/mt/fyi/
    [Sat Jul 26 15:53:26 2008] [error] [client 66.231.188.51] File does not exist: /home/neocarla/public_html/404.shtml
    [Sat Jul 26 15:53:26 2008] [error] [client 66.231.188.51] File does not exist: /home/neocarla/public_html/robots.txt
    [Sat Jul 26 15:53:02 2008] [error] [client 86.130.228.149] File does not exist: /home/neocarla/public_html/500.shtml
    [Sat Jul 26 15:53:02 2008] [error] [client 86.130.228.149] Premature end of script headers: /home/neocarla/public_html/cgi-bin/mt-config.cgi
    [Sat Jul 26 15:52:32 2008] [error] [client 72.29.65.116] File does not exist: /home/neocarla/public_html/404.shtml
    [Sat Jul 26 15:52:32 2008] [error] [client 72.29.65.116] script not found or unable to stat: /home/neocarla/public_html/cgi-bin/mt.js
    [Sat Jul 26 15:48:03 2008] [error] [client 86.130.228.149] File does not exist: /home/neocarla/public_html/404.shtml
    [Sat Jul 26 15:48:03 2008] [error] [client 86.130.228.149] File does not exist: /home/neocarla/public_html/favicon.ico
    [Sat Jul 26 15:48:00 2008] [error] [client 86.130.228.149] File does not exist: /home/neocarla/public_html/404.shtml
    [Sat Jul 26 15:48:00 2008] [error] [client 86.130.228.149] File does not exist: /home/neocarla/public_html/favicon.ico
    [Sat Jul 26 15:21:31 2008] [error] [client 66.137.224.189] File does not exist: /home/neocarla/public_html/404.shtml
    [Sat Jul 26 15:21:31 2008] [error] [client 66.137.224.189] File does not exist: /home/neocarla/public_html/favicon.ico
    [Sat Jul 26 15:21:28 2008] [error] [client 66.137.224.189] File does not exist: /home/neocarla/public_html/404.shtml
    [Sat Jul 26 15:21:28 2008] [error] [client 66.137.224.189] File does not exist: /home/neocarla/public_html/favicon.ico
    [Sat Jul 26 12:18:52 2008] [error] [client 65.55.105.86] File does not exist: /home/neocarla/public_html/404.shtml
    [Sat Jul 26 12:18:52 2008] [error] [client 65.55.105.86] File does not exist: /home/neocarla/public_html/robots.txt
    [Sat Jul 26 10:21:26 2008] [error] [client 87.234.234.66] File does not exist: /home/neocarla/public_html/404.shtml
    [Sat Jul 26 10:21:26 2008] [error] [client 87.234.234.66] script not found or unable to stat: /home/neocarla/public_html/cgi-bin/mt
    [Sat Jul 26 10:21:22 2008] [error] [client 222.73.41.9] File does not exist: /home/neocarla/public_html/404.shtml
    [Sat Jul 26 10:21:22 2008] [error] [client 222.73.41.9] script not found or unable to stat: /home/neocarla/public_html/cgi-bin/mt
    [Sat Jul 26 09:50:33 2008] [error] [client 66.137.224.189] File does not exist: /home/neocarla/public_html/404.shtml
    [Sat Jul 26 09:50:33 2008] [error] [client 66.137.224.189] File does not exist: /home/neocarla/public_html/favicon.ico
    [Sat Jul 26 09:50:33 2008] [error] [client 66.137.224.189] File does not exist: /home/neocarla/public_html/500.shtml
    [Sat Jul 26 09:50:33 2008] [error] [client 66.137.224.189] Premature end of script headers: /home/neocarla/public_html/cgi-bin/mt.cgi

  • I just did a new install, and all seems to be fine thus far. And still not certain what was screwed up with the R3 to R4 upgrade.

    Thanks to those of you who replied.

  • Not sure if you ever figured this out, but I had the same issues, and discovered that even if all my *.cgi files had the 755 permissions but the parent directory (i.e. all the *.cgi files within directory "/mt/") had the permission set to 777, then it would still give me the 500 error. When I changed the blog directory itself to 755, then it worked!

  • i am also fscing same type of problelm.
    please help me .
    i want a quick help about this.

  • Did anyone use a third party to help with the install? If so, which one?
    Thanks

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1773 6162

Last Topic: Excluding categories from blog by kholechek on Feb 9, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1429 5077

Last Topic: What apocalypse hit this community in the middle of 2011? by 75th on Feb 10, 2012

695 2910

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 567

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012