Dreamhost, Django, Premature end of script headers: dispatch.fcgi

This problem comes up from time to time on my Dreamhost account, I get a long page load, finally ending with a 500 error in the browser. Tail'ing the apache error_log shows:

...
[Wed Oct 28 13:48:37 2009] [error] [client 198.53.10.99] Premature end of script headers: dispatch.fcgi
[Wed Oct 28 13:48:37 2009] [error] [client 198.53.10.99] Premature end of script headers: dispatch.fcgi
[Wed Oct 28 13:48:40 2009] [error] [client 198.53.10.99] Premature end of script headers: dispatch.fcgi
[Wed Oct 28 13:49:18 2009] [error] [client 198.53.10.99] Premature end of script headers: dispatch.fcgi
[Wed Oct 28 13:49:21 2009] [error] [client 198.53.10.99] Premature end of script headers: dispatch.fcgi
[Wed Oct 28 13:49:58 2009] [error] [client 198.53.10.99] Premature end of script headers: dispatch.fcgi
[Wed Oct 28 13:50:39 2009] [error] [client 198.53.10.99] Premature end of script headers: dispatch.fcgi
...

But where's the real error?

A little trick for you: go to the folder where your dispatch.fcgi file is and type:

./dispatch.fcgi

Basically you are executing the script, similar to an incoming request. You should then see the original traceback.

Hth,

Aaron

Posted

Oct 28, 2009
by AnonymousUser

Categories

General Posts

Comments

No comments.

Got something to say?

  • Categories

    Tag Cloud

    'dark 'why 50mm actionscript adbusters amf aquaplex band blaire bowen brian burntstick butterfly cache calaway calaway park calgary caroline cat causeway chrome clearwater comments dan design django dos double time dreamhost drivers easy_install emacs email extra facebook family reunion favorite fcgi film firefox firewire flash flex flood fluxbox fossils funny gedit george green google grep hack hardy heron hdr init james join keys laserjet 1600 lightroom linux marye memory moderation mount mxml nelson noah olympus outlook park pil pillar pool potty pygments python raven recommend sata select send_mail server shortcut signals signs skye skype smtp soup spirit staged right sucks sucks' sundre sunset svn trac ubuntu vafcs vim virtualbox virus vista vnc water webcam webfaction white balance wide angle wireless work xl2 xmbc xmlrpc xp xp'

    Random Images

    Foot of snow and 30 below bug elk Clearwater HDR Nelson street Reading on the potty abba still sucks salad The Yard Skye again

    About this blog

    This blog is built on an experimental engine conceived by Aaron Fay. The system used to power this site is running on the awesome Django framework. As the site becomes more complete, and the functionality becomes streamlined, I will reveal more about the inner workings and may also release it open source one day. The most prominent feature at this point is all the different content types use the same model :)

    My Comments Elsewhere

    Darren's Developer Diary: Controlling file associations in Gnome Installing and configuring lighttpd webserver - HOWTO Import RSS feeds into Facebook without relinquishing content control | bylr.net Grogler » Blog Archive » After Effects Keyboard Shortcuts - Next Frame / Previous Frame Django snippets: Template Query Debug Django snippets: EditInline for GenericForiegnKey II I quit; goodbye cruel facebook « don’t mind me, just talking to myself