Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
*** Exception PhusionPassenger::UnknownError in PhusionPassenger::Rack::ApplicationSpawner (Failed to connect to a master node at 127.0.0.1:27017 (Mongo::ConnectionFailure)) (process 5177, thread #<Thread:0x00000000ad30e0>):
from /var/www/rails/simpletask/shared/bundle/ruby/1.9.1/gems/mongo-1.8.1/lib/mongo/mongo_client.rb:479:in `connect'
from /var/www/rails/simpletask/shared/bundle/ruby/1.9.1/gems/mongo-1.8.1/lib/mongo/mongo_client.rb:631:in `setup'
from /var/www/rails/simpletask/shared/bundle/ruby/1.9.1/gems/mongo-1.8.1/lib/mongo/mongo_client.rb:147:in `initialize'
from /var/www/rails/simpletask/shared/bundle/ruby/1.9.1/gems/mongo-1.8.1/lib/mongo/legacy.rb:56:in `initialize'
from /var/www/rails/simpletask/shared/bundle/ruby/1.9.1/gems/mongo_mapper-0.11.0/lib/mongo_mapper/connection.rb:72:in `new'
from /var/www/rails/simpletask/shared/bundle/ruby/1.9.1/gems/mongo_mapper-0.11.0/lib/mongo_mapper/connection.rb:72:in `connect'
from /var/www/rails/simpletask/shared/bundle/ruby/1.9.1/gems/mongo_mapper-0.11.0/lib/mongo_mapper/connection.rb:82:in `setup'
from /var/www/rails/simpletask/shared/bundle/ruby/1.9.1/gems/mongo_mapper-0.11.0/lib/mongo_mapper/railtie.rb:28:in `block in <class:Railtie>'
from /var/www/rails/simpletask/shared/bundle/ruby/1.9.1/gems/railties-3.1.10/lib/rails/initializable.rb:30:in `instance_exec'
from /var/www/rails/simpletask/shared/bundle/ruby/1.9.1/gems/railties-3.1.10/lib/rails/initializable.rb:30:in `run'
from /var/www/rails/simpletask/shared/bundle/ruby/1.9.1/gems/railties-3.1.10/lib/rails/initializable.rb:55:in `block in run_initializers'
from /var/www/rails/simpletask/shared/bundle/ruby/1.9.1/gems/railties-3.1.10/lib/rails/initializable.rb:54:in `each'
from /var/www/rails/simpletask/shared/bundle/ruby/1.9.1/gems/railties-3.1.10/lib/rails/initializable.rb:54:in `run_initializers'
from /var/www/rails/simpletask/shared/bundle/ruby/1.9.1/gems/railties-3.1.10/lib/rails/application.rb:96:in `initialize!'
from /var/www/rails/simpletask/shared/bundle/ruby/1.9.1/gems/railties-3.1.10/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /var/www/rails/simpletask/releases/20130109190945/config/environment.rb:5:in `<top (required)>'
from config.ru:3:in `require'
from config.ru:3:in `block in <main>'
from /var/www/rails/simpletask/shared/bundle/ruby/1.9.1/gems/rack-1.3.8/lib/rack/builder.rb:51:in `instance_eval'
from /var/www/rails/simpletask/shared/bundle/ruby/1.9.1/gems/rack-1.3.8/lib/rack/builder.rb:51:in `initialize'
from config.ru:1:in `new'
from config.ru:1:in `<main>'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:225:in `eval'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:225:in `load_rack_app'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:157:in `block in initialize_server'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/utils.rb:572:in `report_app_init_status'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:154:in `initialize_server'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:204:in `start_synchronously'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:180:in `start'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:129:in `start'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:253:in `block (2 levels) in spawn_rack_application'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:246:in `block in spawn_rack_application'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize'
from <internal:prelude>:10:in `synchronize'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11/helper-scripts/passenger-spawn-server:99:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.