On 1/3/07, Jim Douglas <[EMAIL PROTECTED]> wrote: > I am followint this article, > > http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/ > > > ...but I keep getting this error in the log...not sure what to try next... >
Errno::EADDRINUSE refer to the address+port combination being used by OTHER application (could be another mongrel already daemonized on that port or webrick). you could check using ps: $ sudo ps ax | grep mongrel And if you get more than one grep mongrel process running, that means you must kill them first. > ** Daemonized, any open files are closed. Look at log/mongrel.8000.pid and > log/mongrel.log for info. > ** Starting Mongrel listening at 127.0.0.1:8000 > /usr/lib/ruby/gems/1.8/gems/mongrel-1.0/lib/mongrel/tcphack.rb:12:in > `initialize_without_backlog': Address already in use - bind(2) > (Errno::EADDRINUSE) > from > /usr/lib/ruby/gems/1.8/gems/mongrel-1.0/lib/mongrel/tcphack.rb:12:in > `initialize' > from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0/lib/mongrel.rb:560:in > `new' > from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0/lib/mongrel.rb:560:in > `initialize' > from > /usr/lib/ruby/gems/1.8/gems/mongrel-1.0/lib/mongrel/configurator.rb:128:in > `new' > from > /usr/lib/ruby/gems/1.8/gems/mongrel-1.0/lib/mongrel/configurator.rb:128:in > `listener' > from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0/bin/mongrel_rails:98:in > `cloaker_' > from > /usr/lib/ruby/gems/1.8/gems/mongrel-1.0/lib/mongrel/configurator.rb:51:in > `call' > from > /usr/lib/ruby/gems/1.8/gems/mongrel-1.0/lib/mongrel/configurator.rb:51:in > `initialize' > from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0/bin/mongrel_rails:83:in > `new' > from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0/bin/mongrel_rails:83:in > `run' > from > /usr/lib/ruby/gems/1.8/gems/mongrel-1.0/lib/mongrel/command.rb:211:in > `run' > from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0/bin/mongrel_rails:243 > from /usr/bin/mongrel_rails:18:in `load' > from /usr/bin/mongrel_rails:18 > > Thanks, > Jim > > _________________________________________________________________ > The MSN Entertainment Guide to Golden Globes is here. Get all the scoop. > http://tv.msn.com/tv/globes2007/ > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users > -- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of us must pay to achieve any goal that is worthwhile. Vince Lombardi _______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users