Ruby on Rails Saturday, May 29, 2010

Ever since I updated rails to 2.3.8, script/server exits right after it
starts.
Here's the output

=> Ctrl-C to shutdown server
[2010-05-29 18:14:58] INFO WEBrick 1.3.1
[2010-05-29 18:14:58] INFO ruby 1.9.1 (2009-01-30) [i686-linux]
[2010-05-29 18:14:58] WARN TCPServer Error: Address already in use -
bind(2)
Exiting
/usr/local/lib/ruby/1.9.1/webrick/utils.rb:73:in `initialize': Address
already in use - bind(2) (Errno::EADDRINUSE)
from /usr/local/lib/ruby/1.9.1/webrick/utils.rb:73:in `new'
from /usr/local/lib/ruby/1.9.1/webrick/utils.rb:73:in `block in
create_listeners'
from /usr/local/lib/ruby/1.9.1/webrick/utils.rb:70:in `each'
from /usr/local/lib/ruby/1.9.1/webrick/utils.rb:70:in
`create_listeners'
from /usr/local/lib/ruby/1.9.1/webrick/server.rb:74:in `listen'
from /usr/local/lib/ruby/1.9.1/webrick/server.rb:62:in `initialize'
from /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:24:in
`initialize'
from
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.1/lib/rack/handler/webrick.rb:10:in
`new'
from
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.1/lib/rack/handler/webrick.rb:10:in
`run'
from
/usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/commands/server.rb:111:in
`<top (required)>'
from script/server:3:in `require'
from script/server:3:in `<main>'

I think the problem is with bind, but I have no idea what to do with it.
Thanks in advance
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment