Django... what is wrong?
Posted by: mrm
Posted on: 2006-11-17 11:20:00
Hi,
I installed Django on my account byusing jeffcroff(http://www2.jeffcroft.com/2006/may/11/django-dreamhost/) tutorial, and DH wiki(http://wiki.dreamhost.com/index.php/Django)
I tried two times, so there are rather no stupid mistakes, like a bug in my configs, cause the error is always the same.
I try to run ns.krowy.net, and after a long long time I get "500 Internal Server Error".
I was looking for somtehing and I've found it some logs:
[Fri Nov 17 10:18:12 2006] [error] [client 83.20.32.239] FastCGI: comm with (dynamic) server "/home/neuroshima/nsorg/django.fcgi" aborted: (first read) idle timeout (120 sec)
[Fri Nov 17 10:18:12 2006] [error] [client 83.20.32.239] FastCGI: incomplete headers (0 bytes) received from server "/home/neuroshima/nsorg/django.fcgi"
[Fri Nov 17 10:20:15 2006] [error] [client 83.20.32.239] FastCGI: comm with (dynamic) server "/home/neuroshima/nsorg/django.fcgi" aborted: (first read) idle timeout (120 sec)
[Fri Nov 17 10:20:15 2006] [error] [client 83.20.32.239] FastCGI: incomplete headers (0 bytes) received from server "/home/neuroshima/nsorg/django.fcgi"
[Fri Nov 17 10:21:01 2006] [error] [client 83.20.32.239] FastCGI: comm with (dynamic) server "/home/neuroshima/nsorg/django.fcgi" aborted: (first read) idle timeout (120 sec)
[Fri Nov 17 10:21:01 2006] [error] [client 83.20.32.239] FastCGI: incomplete headers (0 bytes) received from server "/home/neuroshima/nsorg/django.fcgi"
[Fri Nov 17 10:23:04 2006] [error] [client 83.20.32.239] FastCGI: comm with (dynamic) server "/home/neuroshima/nsorg/django.fcgi" aborted: (first read) idle timeout (120 sec)
[Fri Nov 17 10:23:04 2006] [error] [client 83.20.32.239] FastCGI: incomplete headers (0 bytes) received from server "/home/neuroshima/nsorg/django.fcgi"
So it seems that something with fcgi is wrong. But my domain runs with fastcgi.
According to DHWiki I tried to do simple non-interlaced with my django instalation fcgi script (the code is in wiki) but it's also broken - the same error - 500 Internal... I've notised that on this forum there were some users with the same problem (the same error) but there were no answer which solved this problem.
Could someone help - I have almost finished djangos aplication and i want to start using it. It's quite important for me!
And sorry for my english if it's bad - i tried to write without mistakes but i only learn this language :(