Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > hi i hv problem in gems pack......in ruby on rails pls help.

Reply
Thread Tools

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

 
 
Ashok Bhandari
Guest
Posts: n/a
 
      12-31-2009
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/.

 
Reply With Quote
 
 
 
 
Zhao Lu
Guest
Posts: n/a
 
      12-31-2009
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



 
Reply With Quote
 
 
 
 
Phillip Gawlowski
Guest
Posts: n/a
 
      12-31-2009
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

 
Reply With Quote
 
Phillip Gawlowski
Guest
Posts: n/a
 
      12-31-2009
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AFTER INSTALLATION OF RUBY AND RUBY GEMS WHEN I GO 4 INTALL RAILS-THAT TIME ERROR YAG Ruby 2 04-04-2008 10:14 AM
Ruby on Rails Developer – London – Upto £55k – Ruby on Rails Jason Wong Ruby 0 11-20-2007 11:01 AM
Problem getting gems/listing gems. EINVAL Thaddeus L Olczyk Ruby 0 08-15-2006 05:26 AM
Rails and Ruby in Germany -> Rails is Ruby killer application Josef 'Jupp' SCHUGT Ruby 5 01-24-2006 11:13 PM
ruby gems/rails blackwater dev Ruby 1 08-01-2005 10:11 PM



Advertisments