Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Nov. 17, 2005 05:03:02

James B.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django/lighttpd weirdness


I'm working on writing instructions for deploying Django at TextDrive,
and so I'm using the Django/lighttpd_FCGI instructions here:https://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/wiki/DjangoFcgiLighttpdBut I'm seeing something extremely odd with my test deployment; even
though the sockets exist and have the correct permissions, lighttpd
returns an internal server error and complains that it can't connect
to the socket. If I remove the 'bin-path', 'min-procs' and 'max-procs'
from my lighttpd.conf, however, and execute main.fcgi (which sets the
Django environment variables and launches a daemonized django-fcgi.py)
from the command line before starting lighttpd, everything works.

Anyone got any ideas or tips?


--
"May the forces of evil become confused on the way to your house."
-- George Carlin

Offline

#2 Nov. 17, 2005 11:31:25

Nebojša Đ.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django/lighttpd weirdness


On 17-11-2005, at 6:02, James Bennett wrote:I'm working on writing instructions for deploying Django at TextDrive,
and so I'm using the Django/lighttpd_FCGI instructions here:https://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/wiki/DjangoFcgiLighttpdBut I'm seeing something extremely odd with my test deployment; even
though the sockets exist and have the correct permissions, lighttpd
returns an internal server error and complains that it can't connect
to the socket. If I remove the 'bin-path', 'min-procs' and 'max-procs'
from my lighttpd.conf, however, and execute main.fcgi (which sets the
Django environment variables and launches a daemonized django-fcgi.py)
from the command line before starting lighttpd, everything works.

Anyone got any ideas or tips?Well, I have working setup with "socket" => "/users/home/djnesh/tmp/django.socket". IMHO /tmp/ is not writable or something similar.---
Nebojša Đorđević - nesh
Studio Quattro - Niš - SCGhttp://djnesh.blogspot.com/|http://djnesh-django.blogspot.com/Registered Linux User 282159

Offline

Board footer

Moderator control

Enjoy the 18th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support