localprojects/Change-By-Us — Issue #17: fastcgi-backend ./main.py failed to start
Author: cvee
Created: 2012-01-04 21:57:57+00:00
State: open

I completed **Installation Instructions (Ubuntu)** and attempted to start Lighttpd resulting in:

```
(.env)$:~/apps/Change-By-Us$ /usr/sbin/lighttpd -D -f lighttpd.conf
Traceback (most recent call last):
File "./main.py", line 17, in
from framework.log import log
File "/home/cvee/apps/Change-By-Us/framework/log.py", line 63, in
logfile = Config.get('logfile') # %s/../logs/%s.log' % (os.path.dirname(os.path.realpath(__file__)), name)
File "/home/cvee/apps/Change-By-Us/framework/config.py", line 57, in get
raise KeyError
KeyError
```

logs/main.log file contains the following:

```
2012-01-04 16:22:54: (log.c.166) server started
2012-01-04 16:22:54: (mod_fastcgi.c.1104) the fastcgi-backend ./main.py failed to start:
2012-01-04 16:22:54: (mod_fastcgi.c.1108) child exited with status 1 ./main.py
2012-01-04 16:22:54: (mod_fastcgi.c.1111) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version.
If this is PHP on Gentoo, add 'fastcgi' to the USE flags.
2012-01-04 16:22:54: (mod_fastcgi.c.1399) [ERROR]: spawning fcgi failed.
2012-01-04 16:22:54: (server.c.938) Configuration of plugins failed. Going down.
2012-01-04 16:23:19: (log.c.166) server started
2012-01-04 16:23:19: (mod_fastcgi.c.1104) the fastcgi-backend ./main.py failed to start:
2012-01-04 16:23:19: (mod_fastcgi.c.1108) child exited with status 1 ./main.py
2012-01-04 16:23:19: (mod_fastcgi.c.1111) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version.
If this is PHP on Gentoo, add 'fastcgi' to the USE flags.
2012-01-04 16:23:19: (mod_fastcgi.c.1399) [ERROR]: spawning fcgi failed.
2012-01-04 16:23:19: (server.c.938) Configuration of plugins failed. Going down.
2012-01-04 16:51:13: (log.c.166) server started
2012-01-04 16:53:26: (server.c.1396) [note] graceful shutdown started
2012-01-04 16:53:26: (server.c.1512) server stopped by UID = 0 PID = 0
```

Could this be related to my question in issue #16 regarding FastCGI configuration?