Error 500, socket does not match the pid


#1

This is the error that is repeating itself in my log:

2007-06-12 02:32:38: (mod_fastcgi.c.1739) connect failed: Connection
refused on unix:/home/devspace/space/rails/current/tmp/space-0.socket
2007-06-12 02:32:38: (mod_fastcgi.c.2851) backend died, we disable it
for a 5 seconds and send the request to another backend instead:
reconnects: 0 load: 1
2007-06-12 02:32:44: (mod_fastcgi.c.2669) fcgi-server re-enabled:
unix:/home/devspace/space/rails/current/tmp/space-0.socket

Everything seem to be working before until the machine had to be
restarted. I am now getting the following error message and have been
trying to troubleshoot the problem.

Nothing has change, as far as I know anyways. In theory it should just
be a matter of restarting lighttpd and fastcgi, but you know how it
is, nothing is that simple.

What I a seeing is that the pid file for space-0.socket is not
pointing to any running process. Now is this issue related, ie socket
can’t connect because the pid is wrong?