[Moin-user] Problem with FastCGI

Alexander Schremmer mailinglist at alexanderweb.de
Mon Dec 27 11:21:03 EST 2004

Steve Zatz wrote on Monday, December 27, 2004 8:13 PM CEST:

> Of course, there are always problems and mine is with FastCGI.
> Everything runs fine under CGI but when I try to run under FastCGI, I
> get the following in my apache2 error log:
> [Mon Dec 27 07:02:48 2004] [notice] Apache/2.0.50 (Ubuntu)
> mod_fastcgi/2.4.2 mod_scgi/1.2 configured -- resuming normal
> operations
> Traceback (most recent call last):
>   File "moin.fcg", line 38, in ?
>     fcg.run()
>   File "/usr/lib/python2.3/site-packages/MoinMoin/support/thfcgi.py",
> line 505, in run
>     self.sock.listen(5)
> socket.error: (22, 'Invalid argument')

Try to remove the 5. According to the python docs, 5 is the default anyway. I
don't know why it does not like this backlog parameter in your case.

Kind regards,

More information about the Moin-user mailing list