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

Discussion in 'Ruby' started by Ashok Bhandari, Dec 31, 2009.

  1. 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
    --
    Posted via http://www.ruby-forum.com/.
     
    Ashok Bhandari, Dec 31, 2009
    #1
    1. Advertising

  2. Ashok Bhandari

    Zhao Lu Guest

    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.

    On Dec 31, 2009, at 12:04 AM, Ashok Bhandari wrote:

    > Error:
    >=20
    > 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/rac=
    k/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/rac=
    k/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/co=
    mmands/server.rb:111
    > from
    > =

    /home/ashok/rubystack-2.0-0/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re=
    quire.rb:31:in
    > `gem_original_require'
    > from
    > =

    /home/ashok/rubystack-2.0-0/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re=
    quire.rb:31:in
    > `require'
    > from script/server:3
    > --=20
    > Posted via http://www.ruby-forum.com/.
    >=20
     
    Zhao Lu, Dec 31, 2009
    #2
    1. Advertising

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

    --
    Phillip Gawlowski
     
    Phillip Gawlowski, Dec 31, 2009
    #3
  4. On 31.12.2009 09:19, Phillip Gawlowski 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.

    --
    Phillip Gawlowski
     
    Phillip Gawlowski, Dec 31, 2009
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tim Jones
    Replies:
    0
    Views:
    396
    Tim Jones
    Jan 31, 2004
  2. Tomás

    Gems -- #include <gems.hpp>

    Tomás, Mar 4, 2006, in forum: C++
    Replies:
    7
    Views:
    434
    Tomás
    Mar 5, 2006
  3. Thaddeus L Olczyk

    Problem getting gems/listing gems. EINVAL

    Thaddeus L Olczyk, Aug 15, 2006, in forum: Ruby
    Replies:
    0
    Views:
    197
    Thaddeus L Olczyk
    Aug 15, 2006
  4. YAG
    Replies:
    2
    Views:
    171
    Ron Fox
    Apr 4, 2008
  5. Alexander Farber

    pack 'C3U*' not same as pack 'C3(xC)*'

    Alexander Farber, Jun 23, 2005, in forum: Perl Misc
    Replies:
    2
    Views:
    153
    Ilmari Karonen
    Jun 23, 2005
Loading...

Share This Page