Welcome Guest | Login

My app won't start

I've had my app running in the past so it's not an issue of that... I stopped it with mongrel_rails stop and then tried to start it back with mongrel_rails start and it says that the address is already in use.. it's not.  Here's the full error:

** Starting Mongrel listening at 0.0.0.0:3000
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/tcphack.rb:12:in `initialize_without_backlog': Address already in use - bind(2) (Errno::EADDRINUSE)
       from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/tcphack.rb:12:in `initialize'
       from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:93:in `new'
       from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:93:in `initialize'
       from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:139:in `new'
       from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:139:in `listener'
       from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:99:in `cloaker_'
       from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in `call'
       from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in `initialize'
       from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `new'
       from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `run'
       from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in `run'
       from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
       from /usr/local/bin/mongrel_rails:19:in `load'
       from /usr/local/bin/mongrel_rails:19
lulvulc@lulvul.com [~/lulvul]#

2008-11-16 06:23 PM

i forgot that i had to signal the port to use when using the start command.  i'll try again.

2008-11-16 06:28 PM

heh, i forgot to run the migration before restarting.  big blunder there.

ok, everything is working now.  sorry for the waste of a post.

2008-11-16 06:33 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.