# Lighttpd not starting on os X (intel)

**URL:** <https://www.ruby-forum.com/t/lighttpd-not-starting-on-os-x-intel/99696>\
**Category:** Rails\
**Created:** [February 1, 2006, 1:49pm UTC](https://www.ruby-forum.com/t/lighttpd-not-starting-on-os-x-intel/99696 "2006-02-01T13:49:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harm\_de\_Laat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/9de053/32.png) [@Harm\_de\_Laat](https://www.ruby-forum.com/u/Harm_de_Laat)\
**Post date:** [February 1, 2006, 1:49pm UTC](https://www.ruby-forum.com/t/lighttpd-not-starting-on-os-x-intel/99696/1 "2006-02-01T13:49:54Z")

</div>

Hi all,

I’m followed the instructions written here to prepare my new iMac for  
Ruby / Rails developement:

> **[Dan Benjamin](https://danbenjamin.com)**
>
> Dan Benjamin's personal website.

When I run script/server I get the following output:

harm-de-laats-computer:~/rails/test harmdelaat$ script/server  
=\> Booting lighttpd (use ‘script/server webrick’ to force WEBrick)  
=\> script/…/config/…/config/lighttpd.conf not found, copying from  
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/configs/lighttpd.conf  
=\> Rails application started on [http://0.0.0.0:3000](http://0.0.0.0:3000)  
=\> Call with -d to detach (requires absolute paths in  
config/lighttpd.conf)  
=\> Ctrl-C to shutdown server (see config/lighttpd.conf for options)  
harm-de-laats-computer:~/rails/test harmdelaat$

However, it seems lighttpd is not started. If I use my browser to  
connect to: [http://0.0.0.0:3000/](http://0.0.0.0:3000/) I get the following output:

Safari can’t open the page “[http://0.0.0.0:3000/](http://0.0.0.0:3000/)” because it could not  
connect to the server “0.0.0.0”.

I guess this is because the server is not running. I also checked the  
log files. However I cannot find anything unusual.

Can somebody please offer some help on this issue?

Regards,

Harm de Laat

---

<div class="post-metadata">

**Author:** ![Harm\_de\_Laat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/9de053/32.png) [@Harm\_de\_Laat](https://www.ruby-forum.com/u/Harm_de_Laat)\
**Post date:** [February 1, 2006, 4:18pm UTC](https://www.ruby-forum.com/t/lighttpd-not-starting-on-os-x-intel/99696/2 "2006-02-01T16:18:19Z")

</div>

Harm de Laat wrote:

> Hi all,  
> …

> However, it seems lighttpd is not started. If I use my browser to  
> connect to: [http://0.0.0.0:3000/](http://0.0.0.0:3000/) I get the following output:
> 
> Safari can’t open the page “[http://0.0.0.0:3000/](http://0.0.0.0:3000/)” because it could not  
> connect to the server “0.0.0.0”.

Try going to :  
[http://localhost:3000/](http://localhost:3000/) or [http://127.0.0.1/3000/](http://127.0.0.1/3000/)

jt

---

<div class="post-metadata">

**Author:** ![Harm\_de\_Laat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/9de053/32.png) [@Harm\_de\_Laat](https://www.ruby-forum.com/u/Harm_de_Laat)\
**Post date:** [February 1, 2006, 4:26pm UTC](https://www.ruby-forum.com/t/lighttpd-not-starting-on-os-x-intel/99696/3 "2006-02-01T16:26:32Z")

</div>

On Wed, 2006-02-01 at 16:18 +0100, John T. wrote:

> Try going to :  
> [http://localhost:3000/](http://localhost:3000/) or [http://127.0.0.1/3000/](http://127.0.0.1/3000/)

* * *

maybe I missed an important part of the earlier thread but by default,  
lightttpd would simply use port 80 - port 3000 is the default webrick  
port.

thus if lighttpd were properly configured…

[http://localhost](http://localhost) would be sufficient

Craig

---

<div class="post-metadata">

**Author:** ![Harm\_de\_Laat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/9de053/32.png) [@Harm\_de\_Laat](https://www.ruby-forum.com/u/Harm_de_Laat)\
**Post date:** [February 1, 2006, 6:06pm UTC](https://www.ruby-forum.com/t/lighttpd-not-starting-on-os-x-intel/99696/4 "2006-02-01T18:06:37Z")

</div>

Okay,

Thank you very much for your help.  
I’ll keep an eye on his blog then!

Regards,

Harm de Laat

---

<div class="post-metadata">

**Author:** ![Harm\_de\_Laat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/9de053/32.png) [@Harm\_de\_Laat](https://www.ruby-forum.com/u/Harm_de_Laat)\
**Post date:** [February 2, 2006, 7:27am UTC](https://www.ruby-forum.com/t/lighttpd-not-starting-on-os-x-intel/99696/5 "2006-02-02T07:27:11Z")

</div>

We are having the same problem at work. I heard a rumor that it was a  
gcc  
issue. Apparently, if lighttpd is compiled with gcc3.3, it will work on  
the  
Intel. Gcc4 is a no go.

If you have time to play with this, and can substanciate that rumor,  
please  
post back. I’d like to hear it.

matt

---

<div class="post-metadata">

**Author:** ![Harm\_de\_Laat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/9de053/32.png) [@Harm\_de\_Laat](https://www.ruby-forum.com/u/Harm_de_Laat)\
**Post date:** [February 1, 2006, 5:40pm UTC](https://www.ruby-forum.com/t/lighttpd-not-starting-on-os-x-intel/99696/6 "2006-02-01T17:40:30Z")

</div>

Harm de Laat wrote:

> Hi all,
> 
> I’m followed the instructions written here to prepare my new iMac for  
> Ruby / Rails developement:  
> [Dan Benjamin](http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger)

I’ve talked to Dan ([hivelogic.com](http://hivelogic.com)) and he had mentioned there are still  
issues with pcre and Lighttpd for Intel Macs and those intructions your  
following. They are still a guideline for PPC Macs, not the Intels yet.  
He said he would update the info once he had it all figured out.

-Mark
