# Hi i hv problem in gems pack......in ruby on rails pls help

**URL:** <https://www.ruby-forum.com/t/hi-i-hv-problem-in-gems-pack-in-ruby-on-rails-pls-help/180903>\
**Category:** Ruby\
**Created:** [December 31, 2009, 9:04am UTC](https://www.ruby-forum.com/t/hi-i-hv-problem-in-gems-pack-in-ruby-on-rails-pls-help/180903 "2009-12-31T09:04:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ash](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f19dbf/32.png) [@ash](https://www.ruby-forum.com/u/ash)\
**Post date:** [December 31, 2009, 9:04am UTC](https://www.ruby-forum.com/t/hi-i-hv-problem-in-gems-pack-in-ruby-on-rails-pls-help/180903/1 "2009-12-31T09:04:35Z")

</div>

Error:

Exiting  
/home/ashok/rubystack-2.0-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in  
`initialize_without_backlog': Address already in use - bind(2) (Errno::EADDRINUSE) from /home/ashok/rubystack-2.0-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in`initialize’  
from  
/home/ashok/rubystack-2.0-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:93:in  
`new' from /home/ashok/rubystack-2.0-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:93:in`initialize’  
from  
/home/ashok/rubystack-2.0-0/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:10:in  
`new' from /home/ashok/rubystack-2.0-0/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:10:in`run’  
from  
/home/ashok/rubystack-2.0-0/ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:111  
from  
/home/ashok/rubystack-2.0-0/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in  
`gem_original_require' from /home/ashok/rubystack-2.0-0/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in`require’  
from script/server:3

---

<div class="post-metadata">

**Author:** ![ash](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f19dbf/32.png) [@ash](https://www.ruby-forum.com/u/ash)\
**Post date:** [December 31, 2009, 9:15am UTC](https://www.ruby-forum.com/t/hi-i-hv-problem-in-gems-pack-in-ruby-on-rails-pls-help/180903/2 "2009-12-31T09:15:20Z")

</div>

you have more than one instance of rails (mongrel server) running, i  
think.  
see if you have another ruby process (which should be running  
script/server) already.

---

<div class="post-metadata">

**Author:** ![ash](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f19dbf/32.png) [@ash](https://www.ruby-forum.com/u/ash)\
**Post date:** [December 31, 2009, 9:24am UTC](https://www.ruby-forum.com/t/hi-i-hv-problem-in-gems-pack-in-ruby-on-rails-pls-help/180903/3 "2009-12-31T09:24:42Z")

</div>

On 31.12.2009 09:04, Ashok Bhandari wrote:

> Error:
> 
> Exiting  
> /home/ashok/rubystack-2.0-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in  
> `initialize\_without\_backlog’: Address already in use - bind(2)

Bind is using the address your Mongrel wants to use already.

---

<div class="post-metadata">

**Author:** ![ash](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f19dbf/32.png) [@ash](https://www.ruby-forum.com/u/ash)\
**Post date:** [December 31, 2009, 9:29am UTC](https://www.ruby-forum.com/t/hi-i-hv-problem-in-gems-pack-in-ruby-on-rails-pls-help/180903/4 "2009-12-31T09:29:23Z")

</div>

On 31.12.2009 09:19, Phillip G. wrote:

> On 31.12.2009 09:04, Ashok Bhandari wrote:
> 
> > Error:
> > 
> > Exiting  
> > /home/ashok/rubystack-2.0-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in
> > 
> > `initialize\_without\_backlog’: Address already in use - bind(2)
> 
> Bind is using the address your Mongrel wants to use already.

Right, disregard that. I forgot that Ruby outputs the offending method,  
not the offending program using the address/port.
