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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sat, May 29, 2010 at 6:18 PM, Omar Moreno <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Ever since I updated rails to 2.3.8, script/server exits right after it > starts.> [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)It means exactly what it says: you have another process, probably a previous instance of webrick, already running on the port that your new instance is trying to bind to. Find it and kill it. `man netstat` might be of help if you have trouble figuring out which process id is responsible. HTH, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.