It's a common error.I've tried all methods,but It still doesn't work.

gentoo Linux
www-servers/lighttpd-1.4.30
dev-python/flup-1.0.2
python 2.7

Here is my configuration:
server.modules += ("mod_fastcgi")

fastcgi.server=("/hello"=>
((
        "bin-path"=>"/var/www/localhost/htdocs/hello.py",
        "socket"=>"/tmp/fastcgi.socket",
        "max-procs"=>3,
        "bin-environment" => (
                "REAL_SCRIPT_NAME" => ""
                ),
        "check-local" => "disable"
)))

error.log:
2012-04-30 18:02:36: (log.c.166) server started
2012-04-30 18:03:27: (mod_fastcgi.c.1732) connect failed: Connection
refused on unix:/tmp/fastcgi.socket-0
2012-04-30 18:03:27: (mod_fastcgi.c.3025) backend died; we'll disable
it for 1 seconds and send the request to another backend instead:
reconnects: 0 load: 1
2012-04-30 18:03:28: (mod_fastcgi.c.2566) unexpected end-of-file
(perhaps the fastcgi process died): pid: 908 socket: unix:/tmp/
fastcgi.socket-0
2012-04-30 18:03:28: (mod_fastcgi.c.3305) child exited, pid: 908
status: 0
2012-04-30 18:03:28: (mod_fastcgi.c.3352) response not received,
request sent: 755 on socket: unix:/tmp/fastcgi.socket-0 for /hello?,
closing connection

Just need your help!Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to