Lighttpd not starting on os X (intel)

Hi all,

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

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
=> 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/ I get the following output:

Safari can’t open the page “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

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/ I get the following output:

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

Try going to :
http://localhost:3000/ or http://127.0.0.1/3000/

jt

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

Try going to :
http://localhost:3000/ or 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 would be sufficient

Craig

Okay,

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

Regards,

Harm de Laat

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

Harm de Laat wrote:

Hi all,

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

I’ve talked to Dan (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