Skip to content

Instantly share code, notes, and snippets.

@bcurren
Created August 12, 2010 18:28
Show Gist options
  • Save bcurren/521433 to your computer and use it in GitHub Desktop.
Save bcurren/521433 to your computer and use it in GitHub Desktop.
root@domU-12-31-39-0B-15-84:/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef# chef-server --log-level debug -N -p 4000 -e production
Merb root at: /usr/local/lib/ruby/gems/1.8/gems/chef-server-api-0.9.8
~ No Gemfile found! If you're generating new app with merb-gen this is fine, otherwise run: bundle init to create Gemfile
Loading init file from ./config/init.rb
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/_all_dbs
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/id_map
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/_all_dbs
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/nodes
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/_all_dbs
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/roles
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/_all_dbs
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/data_bags
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/_all_dbs
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/clients
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/_all_dbs
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/users
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/_all_dbs
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/cookbooks
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/_all_dbs
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/sandboxes
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/_all_dbs
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/checksums
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/id_map/_view/name_to_id
[Thu, 12 Aug 2010 18:46:27 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/id_map/_view/name_to_id
[Thu, 12 Aug 2010 18:46:27 +0000] INFO: Loading roles
/usr/local/lib/ruby/gems/1.8/gems/mixlib-authentication-1.1.4/lib/mixlib/authentication/http_authentication_request.rb:25: warning: already initialized constant MANDATORY_HEADERS
/usr/local/lib/ruby/gems/1.8/gems/mixlib-authentication-1.1.4/lib/mixlib/authentication/signatureverification.rb:28: warning: already initialized constant SignatureResponse
~ Could not find resource model User
~ Could not find resource model Node
~ Could not find resource model Role
~ Could not find resource model Datum
merb : chef-server (api) : worker (port 4000) ~ Starting Thin at port 4000
merb : chef-server (api) : worker (port 4000) ~ Using Thin adapter on host 0.0.0.0 and port 4000.
merb : chef-server (api) : worker (port 4000) ~ Successfully bound to port 4000
[Thu, 12 Aug 2010 18:46:29 +0000] INFO: Authenticating client bcurren
[Thu, 12 Aug 2010 18:46:29 +0000] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/id_map/_view/name_to_id
[Thu, 12 Aug 2010 18:46:29 +0000] DEBUG: Authentication failed: Cannot find client bcurren in CouchDB!, /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/couchdb.rb:213:in `find_by_name'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/couchdb.rb:136:in `load'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/api_client.rb:194:in `cdb_load'
/usr/local/lib/ruby/gems/1.8/gems/chef-server-api-0.9.8/app/controllers/application.rb:38:in `authenticate_every'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:352:in `send'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:352:in `_call_filters'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:344:in `each'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:344:in `_call_filters'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:286:in `_dispatch'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:284:in `catch'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:284:in `_dispatch'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/merb_controller.rb:285:in `_dispatch'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/merb_controller.rb:262:in `_call'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/merb_controller.rb:252:in `call'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/dispatch/dispatcher.rb:91:in `dispatch_action'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/dispatch/dispatcher.rb:69:in `handle'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/dispatch/dispatcher.rb:29:in `handle'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/application.rb:17:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/content_length.rb:13:in `call'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:76:in `pre_process'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:74:in `catch'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:74:in `pre_process'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:57:in `process'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:42:in `receive_data'
/usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
/usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/backends/base.rb:57:in `start'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/server.rb:156:in `start'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/adapter/thin.rb:30:in `start_server'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/adapter/abstract.rb:305:in `start_at_port'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/adapter/abstract.rb:138:in `start'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:174:in `bootup'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:42:in `start'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core.rb:165:in `start'
/usr/local/lib/ruby/gems/1.8/gems/chef-server-api-0.9.8/bin/chef-server:82
/usr/local/bin/chef-server:19:in `load'
/usr/local/bin/chef-server:19
merb : chef-server (api) : worker (port 4000) ~ Started request handling: Thu Aug 12 18:46:29 +0000 2010
merb : chef-server (api) : worker (port 4000) ~ Routed to: {"format"=>nil, "action"=>"index", "controller"=>"nodes"}
merb : chef-server (api) : worker (port 4000) ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"nodes"}
merb : chef-server (api) : worker (port 4000) ~ Failed to authenticate. Ensure that your client key is valid. - (Merb::ControllerExceptions::Unauthorized)
/usr/local/lib/ruby/gems/1.8/gems/chef-server-api-0.9.8/app/controllers/application.rb:50:in `authenticate_every'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:352:in `send'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:352:in `_call_filters'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:344:in `each'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:344:in `_call_filters'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:286:in `_dispatch'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:284:in `catch'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:284:in `_dispatch'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/merb_controller.rb:285:in `_dispatch'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/merb_controller.rb:262:in `_call'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/merb_controller.rb:252:in `call'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/dispatch/dispatcher.rb:91:in `dispatch_action'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/dispatch/dispatcher.rb:69:in `handle'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/dispatch/dispatcher.rb:29:in `handle'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/application.rb:17:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/content_length.rb:13:in `call'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:76:in `pre_process'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:74:in `catch'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:74:in `pre_process'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:57:in `process'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:42:in `receive_data'
/usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
/usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/backends/base.rb:57:in `start'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/server.rb:156:in `start'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/adapter/thin.rb:30:in `start_server'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/adapter/abstract.rb:305:in `start_at_port'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/adapter/abstract.rb:138:in `start'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:174:in `bootup'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:42:in `start'
/usr/local/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core.rb:165:in `start'
/usr/local/lib/ruby/gems/1.8/gems/chef-server-api-0.9.8/bin/chef-server:82
/usr/local/bin/chef-server:19:in `load'
/usr/local/bin/chef-server:19
merb : chef-server (api) : worker (port 4000) ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"nodes"}
merb : chef-server (api) : worker (port 4000) ~ {:action_time=>0.000822, :after_filters_time=>1.5e-05, :before_filters_time=>2.5e-05, :dispatch_time=>0.005882}
merb : chef-server (api) : worker (port 4000) ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment