Lighttpd: (mod_fastcgi.c.1742) connect failed: Connection refused on unix:/tmp/lighttpd-fastcgi-php.socket

O. Hartmann ohartman at
Thu Sep 3 17:53:58 UTC 2009

I deleted accidentally /usr/local/lib on a server but I was able to 
reinstall most of the software we need manually.

After installing php5, several php5-XXX add ons and lighttpd, I get the 
appended error. The configuration for lighttpd is stuck with the same as 
before the accident. spawn_fastcgi ist installed as well as other php5 

I'm helpless,

Does anyone have any idea what's going wrong?

Box is running FreeBSD 8.0-BETA3/AMD64 with compiled world of today. 
Software has been taken from ports within the past two days, so it 
should be up to date.



P.S. Please respond also to my eMail address, thank you very much.

2009-09-03 19:47:49: (mod_access.c.135) -- mod_access_uri_handler called
2009-09-03 19:47:49: (mod_fastcgi.c.3644) handling it in mod_fastcgi
2009-09-03 19:47:49: (mod_fastcgi.c.1742) connect failed: Connection 
refused on unix:/tmp/lighttpd-fastcgi-php.socket-7
2009-09-03 19:47:49: (mod_fastcgi.c.2943) backend died; we'll disable it 
for 5 seconds and send the request to another backend instead: 
reconnects: 0 load: 1
2009-09-03 19:47:49: (mod_fastcgi.c.2481) unexpected end-of-file 
(perhaps the fastcgi process died): pid: 20516 socket: 
2009-09-03 19:47:49: (mod_fastcgi.c.3299) response not received, request 
sent: 1010 on socket: unix:/tmp/lighttpd-fastcgi-php.socket-7 for 
/refdb/index.php , closing connection
2009-09-03 19:47:49: (response.c.126) Response-Header:
HTTP/1.1 500 Internal Server Error
Content-Type: text/html
Content-Length: 369
Date: Thu, 03 Sep 2009 17:47:49 GMT
Server: Lighttpd

More information about the freebsd-ports mailing list