# Lightty 1.4.10 socket file problem

**URL:** <https://www.ruby-forum.com/t/lightty-1-4-10-socket-file-problem/68662>\
**Category:** Rails\
**Created:** [February 15, 2006, 5:00pm UTC](https://www.ruby-forum.com/t/lightty-1-4-10-socket-file-problem/68662 "2006-02-15T17:00:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![derek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b38774/32.png) [@derek](https://www.ruby-forum.com/u/derek)\
**Post date:** [February 15, 2006, 5:00pm UTC](https://www.ruby-forum.com/t/lightty-1-4-10-socket-file-problem/68662/1 "2006-02-15T17:00:39Z")

</div>

When I run lighttpd 1.4.10 [on Mac OS X] the socket file is called  
‘fcgi.socket-’, versus ‘fcgi.socket-0’ that I get under 1.4.8.  
Further, when the FCGI daemon quits, the file does not get deleted,  
and I cannot restart my Rails app until I manually remove it.

Can anyone confirm before I raise a bug at [lighttpd.net](http://lighttpd.net)?

---

<div class="post-metadata">

**Author:** ![derek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b38774/32.png) [@derek](https://www.ruby-forum.com/u/derek)\
**Post date:** [February 15, 2006, 5:16pm UTC](https://www.ruby-forum.com/t/lightty-1-4-10-socket-file-problem/68662/2 "2006-02-15T17:16:00Z")

</div>

Derek C. wrote:

> When I run lighttpd 1.4.10 [on Mac OS X] the socket file is called  
> ‘fcgi.socket-’, versus ‘fcgi.socket-0’ that I get under 1.4.8. Further,  
> when the FCGI daemon quits, the file does not get deleted, and I cannot  
> restart my Rails app until I manually remove it.
> 
> Can anyone confirm before I raise a bug at [lighttpd.net](http://lighttpd.net)?

I got the same problem, also under OS X. What’s worse, is lighttpd  
1.4.10 can’t spawn multiple FCGI socket listeners, because the second  
listener tries to use the same socket file name. I had to downgrade to  
1.4.8, so that I can get my multiple FCGI’s back.

-Brian

---

<div class="post-metadata">

**Author:** ![derek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b38774/32.png) [@derek](https://www.ruby-forum.com/u/derek)\
**Post date:** [February 15, 2006, 5:25pm UTC](https://www.ruby-forum.com/t/lightty-1-4-10-socket-file-problem/68662/3 "2006-02-15T17:25:05Z")

</div>

I had a same problem a moment ago. lighttpd would output:

(mod\_fastcgi.c.897) bind failed for: /Users/daesan/sites/www/lighttpd/  
fcgi.socket-0 0 Address already in use

After manually deleting the socket file, however, the problem went  
away. (The file still doesn’t get deleted, but the server starts up  
fine.)

daesan

---

<div class="post-metadata">

**Author:** ![derek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b38774/32.png) [@derek](https://www.ruby-forum.com/u/derek)\
**Post date:** [February 15, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/lightty-1-4-10-socket-file-problem/68662/4 "2006-02-15T19:08:22Z")

</div>

Thanks for confirming [and Brian and Dae].  
I will raise a bug.

---

<div class="post-metadata">

**Author:** ![derek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b38774/32.png) [@derek](https://www.ruby-forum.com/u/derek)\
**Post date:** [February 15, 2006, 5:43pm UTC](https://www.ruby-forum.com/t/lightty-1-4-10-socket-file-problem/68662/5 "2006-02-15T17:43:25Z")

</div>

Yup, exactly the same problem here.

-Jonathan
