/home/freefor$ cd substruct
/home/freefor/substruct$ ruby script/server
** Starting Mongrel listening at 0.0.0.0:3000
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/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.4/lib/mongrel/tcphack.rb:12:in `initialize'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:93:in `new'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:93:in `initialize'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:139:in `new'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:139:in `listener'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:99:in `cloaker_'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:50:in `call'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:50:in `initialize'
... 13 levels...
from /home/freefor/substruct/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'
from /home/freefor/substruct/vendor/rails/railties/lib/commands/server.rb:39
from script/server:3:in `require'
from script/server:3
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
I used the following instructions to set up substruct:
http://www.hostingrails.com/forums/wiki_thread/1
http://code.google.com/p/substruct/wiki/InstallingSubstruct
My thoughts are that because I got a different error earlier running script/server (but fixed it) I may have left port 3000 open? I tried shutting down all processes, but I get the same error. I also have no idea how to close a TCP connection on port 3000 (I'm a windows guy).
Nagivating to my website produces some default .rb script, and .com:3000 times out on me.
I would appreciate any help and your patience.