Description
When installing MoinMoin 1.6.1 with Lighttpd and FastCGI, running the moin.fcg script causes the following error:
Traceback (most recent call last): File "./moin.fcg", line 39, in <module> run(Config) File "/opt/moin/lib/python2.5/site-packages/MoinMoin/server/server_fastcgi.py", line 61, in run fcg = thfcgi.FCGI(handle_request, max_requests=config.max_requests, backlog=config.backlog, max_threads=config.max_threads) File "/opt/moin/lib/python2.5/site-packages/MoinMoin/support/thfcgi.py", line 524, in __init__ self._make_socket() File "/opt/moin/lib/python2.5/site-packages/MoinMoin/support/thfcgi.py", line 567, in _make_socket raise RuntimeError("No FastCGI environment: %s - %s" % (repr(err), errmsg)) RuntimeError: No FastCGI environment: 88 - Socket operation on non-socket
Steps to reproduce
Install MoinMoin
- Install and configure Lighttpd and FastCGI
- Run the moin.fcg manually
Component selection
moin.fcg section that calls make_socket
Discussion
Note: this is rather a missing feature than a bug. If you spawn the fcgi processes from the web server, it will just work as expected (using the default fd=sys.stdin). For other configurations see the changesets linked below (they will not change the default behaviour, you need to explicitely set a port in server Config class).
Plan
- Priority:
- Assigned to:
Status: fixed by http://hg.moinmo.in/moin/1.6/rev/35a3382788e3 and http://hg.moinmo.in/moin/1.7/rev/b4b32e3a04af