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

A

Ashok Bhandari

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
 
Z

Zhao Lu

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.
 
P

Phillip Gawlowski

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.
 
P

Phillip Gawlowski

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,930
Messages
2,570,072
Members
46,521
Latest member
JamieCooch

Latest Threads

Top