[Mongrel] Frustrating Error

Michael D'Auria michael.dauria at gmail.com
Wed Jan 3 16:00:29 EST 2007


issue an: "lsof | grep 8000" which lists all open files, which includes all
open ports so you can see the process that is causing you grief.  Let us
know what you find.

.: Michael :.


On 1/3/07, Kyle Kochis <kylekochis at gmail.com> wrote:
>
> Based on the error it looks like you probably have another server running
> on that port--my guess is mongrel but it could also be something else
> running there too.
> Kyle Kochis
>
> On 1/3/07, Jim Douglas <jdz99 at hotmail.com> 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...
> >
> > ** 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 at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/mongrel-users
> >
>
>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070103/b4cf032d/attachment.html 


More information about the Mongrel-users mailing list