Skip to content

Instantly share code, notes, and snippets.

@markbate
Created September 30, 2010 09:14
Show Gist options
  • Save markbate/604273 to your computer and use it in GitHub Desktop.
Save markbate/604273 to your computer and use it in GitHub Desktop.
INFO: ** activemq **
INFO: Saving activemq
INFO: Validating ruby files
INFO: Validating templates
INFO: Syntax OK
INFO: Generating Metadata
INFO: Uploading files
WARN: HTTP Request Returned 500 Internal Server Error: Connection refused - connect(2)
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:2097:in `error!': 500 "Internal Server Error" (Net::HTTPFatalError)
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:229:in `api_request'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:280:in `retriable_rest_request'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:210:in `api_request'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:126:in `put_rest'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/cookbook_version.rb:671:in `save'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/cookbook_uploader.rb:77:in `upload_cookbook'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/knife/cookbook_upload.rb:57:in `run'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/cookbook_loader.rb:160:in `each'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/cookbook_loader.rb:159:in `each'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/knife/cookbook_upload.rb:55:in `run'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/knife/cookbook_upload.rb:80:in `humanize_auth_exceptions'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/knife/cookbook_upload.rb:53:in `run'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/knife.rb:127:in `run'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/application/knife.rb:118:in `run'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/knife:25
from /usr/bin/knife:19:in `load'
from /usr/bin/knife:19
merb : chef-server (api) : worker (port 4000) ~ Started request handling: Thu Sep 30 09:03:19 +0000 2010merb : chef-server (api) : worker (port 4000) ~ Routed to: {"action"=>"create", "checksums"=>{"33ee727d3355ab5a70ffdbf04f79bb23"=>nil, "ace4705deee63c40f302893948d20abe"=>nil, "09f2bf988663175cd1b7973198dfb5eb"=>nil, "8956d27e9304d7fd80da84de876be056"=>nil, "01269b3da137b64fa8dbdf55f8b82b37"=>nil, "863c2f7107105dc0b0cdfa3625340496"=>nil, "06d6cdf3741a60812ac6d6ad90abddea"=>nil}, "controller"=>"sandboxes"}merb : chef-server (api) : worker (port 4000) ~ Params: {"action"=>"create", "checksums"=>{"33ee727d3355ab5a70ffdbf04f79bb23"=>nil, "ace4705deee63c40f302893948d20abe"=>nil, "09f2bf988663175cd1b7973198dfb5eb"=>nil, "8956d27e9304d7fd80da84de876be056"=>nil, "01269b3da137b64fa8dbdf55f8b82b37"=>nil, "863c2f7107105dc0b0cdfa3625340496"=>nil, "06d6cdf3741a60812ac6d6ad90abddea"=>nil}, "controller"=>"sandboxes"}merb : chef-server (api) : worker (port 4000) ~ {:dispatch_time=>0.131017, :after_filters_time=>1.1e-05, :before_filters_time=>0.016121, :action_time=>0.130412}merb : chef-server (api) : worker (port 4000) ~ merb : chef-server (api) : worker (port 4000) ~ Started request handling: Thu Sep 30 09:03:20 +0000 2010merb : chef-server (api) : worker (port 4000) ~ Routed to: {"is_completed"=>true, "action"=>"update", "controller"=>"sandboxes", "sandbox_id"=>"6495451951a3449c93af0b9ca4d7764c"}merb : chef-server (api) : worker (port 4000) ~ Params: {"is_completed"=>true, "action"=>"update", "controller"=>"sandboxes", "sandbox_id"=>"6495451951a3449c93af0b9ca4d7764c"}merb : chef-server (api) : worker (port 4000) ~ {:dispatch_time=>0.206063, :after_filters_time=>0.040234, :before_filters_time=>0.088668, :action_time=>0.20554}merb : chef-server (api) : worker (port 4000) ~
merb : chef-server (api) : worker (port 4000) ~ Started request handling: Thu Sep 30 09:03:22 +0000 2010merb : chef-server (api) : worker (port 4000) ~ Routed to: {"inflated_object"=>#<Chef::CookbookVersion:0xb6e00180 @status=:ready, @resource_filenames=[], @file_filenames=[], @name="activemq", @metadata=#<Chef::Cookbook::Metadata:0xb6dfc490 @platforms={"debian"=>[], "ubuntu"=>[]}, @recipes={"activemq"=>"Installs ActiveMQ from source and sets it up as a runit service"}, @groupings={}, @name="activemq", @cookbook=nil, @suggestions={}, @description="Installs activemq and sets it up as a runit service", @version="0.3.2", @replacing={}, @dependencies={"runit"=>[], "java"=>[]}, @recommendations={}, @license="Apache 2.0", @providing={}, @maintainer_email="cookbooks@opscode.com", @long_description="= DESCRIPTION:\n\nInstalls activemq and sets up a runit service.\n\n= REQUIREMENTS:\n\nTested on Ubuntu 9.04.\n\nOpscode cookbooks:\n\n* java\n* runit\n\n= ATTRIBUTES:\n\n* activemq[:mirror] - download URL up to the apache/activemq/apache-activemq directory.\n* activemq[:version] - version to install.\n\n= USAGE:\n\nInclude the default recipe on systems where you want to run activemq. At this time the cookbook doesn't use any custom configuration for activemq.\n\n= LICENSE AND AUTHOR:\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\n\nCopyright:: 2009, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", @attributes={}, @conflicting={}, @maintainer="Opscode, Inc.">, @root_filenames=["README.rdoc", "metadata.rb", "metadata.json"], @checksums={"ace4705deee63c40f302893948d20abe"=>nil, "33ee727d3355ab5a70ffdbf04f79bb23"=>nil, "8956d27e9304d7fd80da84de876be056"=>nil, "09f2bf988663175cd1b7973198dfb5eb"=>nil, "01269b3da137b64fa8dbdf55f8b82b37"=>nil, "863c2f7107105dc0b0cdfa3625340496"=>nil, "06d6cdf3741a60812ac6d6ad90abddea"=>nil}, @couchdb=#<Chef::CouchDB:0xb6e0007c @db="chef", @rest=#<Chef::REST:0xb6e00054 @redirects_followed=0, @auth_credentials=#<Chef::REST::AuthCredentials:0xb6e00004 @key_file=nil, @client_name=nil>, @cookies={}, @sign_request=true, @default_headers={}, @url="http://localhost:5984", @sign_on_redirect=true, @redirect_limit=10>>, @library_filenames=[], @attribute_filenames_by_short_filename={"default"=>"default.rb"}, @template_filenames=["sv-activemq-run.erb", "sv-activemq-log-run.erb"], @metadata_filenames=[], @couchdb_id=nil, @recipe_filenames_by_name={"default"=>"default.rb"}, @file_vendor=nil, @definition_filenames=[], @manifest_records_by_path={"recipes/default.rb"=>{"name"=>"default.rb", "checksum"=>"863c2f7107105dc0b0cdfa3625340496", "path"=>"recipes/default.rb", "specificity"=>"default"}, "templates/default/sv-activemq-run.erb"=>{"name"=>"sv-activemq-run.erb", "checksum"=>"33ee727d3355ab5a70ffdbf04f79bb23", "path"=>"templates/default/sv-activemq-run.erb", "specificity"=>"default"}, "templates/default/sv-activemq-log-run.erb"=>{"name"=>"sv-activemq-log-run.erb", "checksum"=>"09f2bf988663175cd1b7973198dfb5eb", "path"=>"templates/default/sv-activemq-log-run.erb", "specificity"=>"default"}, "metadata.rb"=>{"name"=>"metadata.rb", "checksum"=>"01269b3da137b64fa8dbdf55f8b82b37", "path"=>"metadata.rb", "specificity"=>"default"}, "README.rdoc"=>{"name"=>"README.rdoc", "checksum"=>"ace4705deee63c40f302893948d20abe", "path"=>"README.rdoc", "specificity"=>"default"}, "attributes/default.rb"=>{"name"=>"default.rb", "checksum"=>"06d6cdf3741a60812ac6d6ad90abddea", "path"=>"attributes/default.rb", "specificity"=>"default"}, "metadata.json"=>{"name"=>"metadata.json", "checksum"=>"8956d27e9304d7fd80da84de876be056", "path"=>"metadata.json", "specificity"=>"default"}}, @provider_filenames=[], @couchdb_rev=nil, @recipe_filenames=["default.rb"], @manifest={"name"=>"activemq-0.3.2", "definitions"=>[], "json_class"=>"Chef::CookbookVersion", "files"=>[], "attributes"=>[{"name"=>"default.rb", "checksum"=>"06d6cdf3741a60812ac6d6ad90abddea", "path"=>"attributes/default.rb", "specificity"=>"default"}], "metadata"=>{"dependencies"=>{"runit"=>[], "java"=>[]}, "name"=>"activemq", "maintainer_email"=>"cookbooks@opscode.com", "attributes"=>{}, "license"=>"Apache 2.0", "maintainer"=>"Opscode, Inc.", "platforms"=>{"debian"=>[], "ubuntu"=>[]}, "suggestions"=>{}, "long_description"=>"= DESCRIPTION:\n\nInstalls activemq and sets up a runit service.\n\n= REQUIREMENTS:\n\nTested on Ubuntu 9.04.\n\nOpscode cookbooks:\n\n* java\n* runit\n\n= ATTRIBUTES:\n\n* activemq[:mirror] - download URL up to the apache/activemq/apache-activemq directory.\n* activemq[:version] - version to install.\n\n= USAGE:\n\nInclude the default recipe on systems where you want to run activemq. At this time the cookbook doesn't use any custom configuration for activemq.\n\n= LICENSE AND AUTHOR:\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\n\nCopyright:: 2009, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", "recommendations"=>{}, "version"=>"0.3.2", "groupings"=>{}, "recipes"=>{"activemq"=>"Installs ActiveMQ from source and sets it up as a runit service"}, "conflicting"=>{}, "replacing"=>{}, "description"=>"Installs activemq and sets it up as a runit service", "providing"=>{}}, "providers"=>[], "cookbook_name"=>"activemq", "libraries"=>[], "templates"=>[{"name"=>"sv-activemq-run.erb", "checksum"=>"33ee727d3355ab5a70ffdbf04f79bb23", "path"=>"templates/default/sv-activemq-run.erb", "specificity"=>"default"}, {"name"=>"sv-activemq-log-run.erb", "checksum"=>"09f2bf988663175cd1b7973198dfb5eb", "path"=>"templates/default/sv-activemq-log-run.erb", "specificity"=>"default"}], "resources"=>[], "version"=>"0.3.2", "recipes"=>[{"name"=>"default.rb", "checksum"=>"863c2f7107105dc0b0cdfa3625340496", "path"=>"recipes/default.rb", "specificity"=>"default"}], "root_files"=>[{"name"=>"README.rdoc", "checksum"=>"ace4705deee63c40f302893948d20abe", "path"=>"README.rdoc", "specificity"=>"default"}, {"name"=>"metadata.rb", "checksum"=>"01269b3da137b64fa8dbdf55f8b82b37", "path"=>"metadata.rb", "specificity"=>"default"}, {"name"
=>"metadata.json", "checksum"=>"8956d27e9304d7fd80da84de876be056", "path"=>"metadata.json", "specificity"=>"default"}], "chef_type"=>"cookbook_version"}, @attribute_filenames=["default.rb"]>,
"cookbook_version"=>"0.3.2", "action"=>"update", "cookbook_name"=>"activemq", "controller"=>"cookbooks"}
merb : chef-server (api) : worker (port 4000) ~ Params: {"inflated_object"=>#<Chef::CookbookVersion:0xb6e00180 @status=:ready, @resource_filenames=[], @file_filenames=[], @name="activemq", @metadata=#<Chef::Cookbook::Metadata:0xb6dfc490 @platforms={"debian"=>[], "ubuntu"=>[]}, @recipes={"activemq"=>"Installs ActiveMQ from source and sets it up as a runit service"}, @groupings={}, @name="activemq", @cookbook=nil, @suggestions={}, @description="Installs activemq and sets it up as a runit service", @version="0.3.2", @replacing={}, @dependencies={"runit"=>[], "java"=>[]}, @recommendations={}, @license="Apache 2.0", @providing={}, @maintainer_email="cookbooks@opscode.com", @long_description="= DESCRIPTION:\n\nInstalls activemq and sets up a runit service.\n\n= REQUIREMENTS:\n\nTested on Ubuntu 9.04.\n\nOpscode cookbooks:\n\n* java\n* runit\n\n= ATTRIBUTES:\n\n* activemq[:mirror] - download URL up to the apache/activemq/apache-activemq directory.\n* activemq[:version] - version to install.\n\n= USAGE:\n\nInclude the default recipe on systems where you want to run activemq. At this time the cookbook doesn't use any custom configuration for activemq.\n\n= LICENSE AND AUTHOR:\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\n\nCopyright:: 2009, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", @attributes={}, @conflicting={}, @maintainer="Opscode, Inc.">, @root_filenames=["README.rdoc", "metadata.rb", "metadata.json"], @checksums={"ace4705deee63c40f302893948d20abe"=>nil, "33ee727d3355ab5a70ffdbf04f79bb23"=>nil, "8956d27e9304d7fd80da84de876be056"=>nil, "09f2bf988663175cd1b7973198dfb5eb"=>nil, "01269b3da137b64fa8dbdf55f8b82b37"=>nil, "863c2f7107105dc0b0cdfa3625340496"=>nil, "06d6cdf3741a60812ac6d6ad90abddea"=>nil}, @couchdb=#<Chef::CouchDB:0xb6e0007c @db="chef", @rest=#<Chef::REST:0xb6e00054 @redirects_followed=0, @auth_credentials=#<Chef::REST::AuthCredentials:0xb6e00004 @key_file=nil, @client_name=nil>, @cookies={}, @sign_request=true, @default_headers={}, @url="http://localhost:5984", @sign_on_redirect=true, @redirect_limit=10>>, @library_filenames=[], @attribute_filenames_by_short_filename={"default"=>"default.rb"}, @template_filenames=["sv-activemq-run.erb", "sv-activemq-log-run.erb"], @metadata_filenames=[], @couchdb_id=nil, @recipe_filenames_by_name={"default"=>"default.rb"}, @file_vendor=nil, @definition_filenames=[], @manifest_records_by_path={"recipes/default.rb"=>{"name"=>"default.rb", "checksum"=>"863c2f7107105dc0b0cdfa3625340496", "path"=>"recipes/default.rb", "specificity"=>"default"}, "templates/default/sv-activemq-run.erb"=>{"name"=>"sv-activemq-run.erb", "checksum"=>"33ee727d3355ab5a70ffdbf04f79bb23", "path"=>"templates/default/sv-activemq-run.erb", "specificity"=>"default"}, "templates/default/sv-activemq-log-run.erb"=>{"name"=>"sv-activemq-log-run.erb", "checksum"=>"09f2bf988663175cd1b7973198dfb5eb", "path"=>"templates/default/sv-activemq-log-run.erb", "specificity"=>"default"}, "metadata.rb"=>{"name"=>"metadata.rb", "checksum"=>"01269b3da137b64fa8dbdf55f8b82b37", "path"=>"metadata.rb", "specificity"=>"default"}, "README.rdoc"=>{"name"=>"README.rdoc", "checksum"=>"ace4705deee63c40f302893948d20abe", "path"=>"README.rdoc", "specificity"=>"default"}, "attributes/default.rb"=>{"name"=>"default.rb", "checksum"=>"06d6cdf3741a60812ac6d6ad90abddea", "path"=>"attributes/default.rb", "specificity"=>"default"}, "metadata.json"=>{"name"=>"metadata.json", "checksum"=>"8956d27e9304d7fd80da84de876be056", "path"=>"metadata.json", "specificity"=>"default"}}, @provider_filenames=[], @couchdb_rev=nil, @recipe_filenames=["default.rb"], @manifest={"name"=>"activemq-0.3.2", "definitions"=>[], "json_class"=>"Chef::CookbookVersion", "files"=>[], "attributes"=>[{"name"=>"default.rb", "checksum"=>"06d6cdf3741a60812ac6d6ad90abddea", "path"=>"attributes/default.rb", "specificity"=>"default"}], "metadata"=>{"dependencies"=>{"runit"=>[], "java"=>[]}, "name"=>"activemq", "maintainer_email"=>"cookbooks@opscode.com", "attributes"=>{}, "license"=>"Apache 2.0", "maintainer"=>"Opscode, Inc.", "platforms"=>{"debian"=>[], "ubuntu"=>[]}, "suggestions"=>{}, "long_description"=>"= DESCRIPTION:\n\nInstalls activemq and sets up a runit service.\n\n= REQUIREMENTS:\n\nTested on Ubuntu 9.04.\n\nOpscode cookbooks:\n\n* java\n* runit\n\n= ATTRIBUTES:\n\n* activemq[:mirror] - download URL up to the apache/activemq/apache-activemq directory.\n* activemq[:version] - version to install.\n\n= USAGE:\n\nInclude the default recipe on systems where you want to run activemq. At this time the cookbook doesn't use any custom configuration for activemq.\n\n= LICENSE AND AUTHOR:\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\n\nCopyright:: 2009, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", "recommendations"=>{}, "version"=>"0.3.2", "groupings"=>{}, "recipes"=>{"activemq"=>"Installs ActiveMQ from source and sets it up as a runit service"}, "conflicting"=>{}, "replacing"=>{}, "description"=>"Installs activemq and sets it up as a runit service", "providing"=>{}}, "providers"=>[], "cookbook_name"=>"activemq", "libraries"=>[], "templates"=>[{"name"=>"sv-activemq-run.erb", "checksum"=>"33ee727d3355ab5a70ffdbf04f79bb23", "path"=>"templates/default/sv-activemq-run.erb", "specificity"=>"default"}, {"name"=>"sv-activemq-log-run.erb", "checksum"=>"09f2bf988663175cd1b7973198dfb5eb", "path"=>"templates/default/sv-activemq-log-run.erb", "specificity"=>"default"}], "resources"=>[], "version"=>"0.3.2", "recipes"=>[{"name"=>"default.rb", "checksum"=>"863c2f7107105dc0b0cdfa3625340496", "path"=>"recipes/default.rb", "specificity"=>"default"}], "root_files"=>[{"name"=>"README.rdoc", "checksum"=>"ace4705deee63c40f302893948d20abe", "path"=>"README.rdoc", "specificity"=>"default"}, {"name"=>"metadata.rb", "checksum"=>"01269b3da137b64fa8dbdf55f8b82b37", "path"=>"metadata.rb", "specificity"=>"default"}, {"name"=>"
metadata.json", "checksum"=>"8956d27e9304d7fd80da84de876be056", "path"=>"metadata.json", "specificity"=>"default"}], "chef_type"=>"cookbook_version"}, @attribute_filenames=["default.rb"]>, "c
ookbook_version"=>"0.3.2", "action"=>"update", "cookbook_name"=>"activemq", "controller"=>"cookbooks"}
merb : chef-server (api) : worker (port 4000) ~ Connection refused - connect(2) - (Bunny::ServerDownError)
/usr/lib/ruby/1.8/qrack/client.rb:202:in `socket'/usr/lib/ruby/1.8/bunny/client08.rb:391:in `start'/usr/lib/ruby/1.8/bunny/client08.rb:389:in `loop'/usr/lib/ruby/1.8/bunny/client08.rb:389:in `start'/usr/lib/ruby/1.8/chef/index_queue/amqp_client.rb:45:in `amqp_client'/usr/lib/ruby/1.8/chef/index_queue/amqp_client.rb:59:in `exchange'/usr/lib/ruby/1.8/chef/index_queue/amqp_client.rb:79:in `send_action'/usr/lib/ruby/1.8/chef/index_queue/indexable.rb:66:in `add_to_index'/usr/lib/ruby/1.8/chef/couchdb.rb:119:in `store'/usr/lib/ruby/1.8/chef/cookbook_version.rb:765:in `cdb_save'/usr/share/chef-server-api/app/controllers/cookbooks.rb:131:in `update'/usr/lib/ruby/1.8/merb-core/controller/abstract_controller.rb:315:in `send'/usr/lib/ruby/1.8/merb-core/controller/abstract_controller.rb:315:in `_call_action'/usr/lib/ruby/1.8/merb-core/controller/abstract_controller.rb:289:in `_dispatch'/usr/lib/ruby/1.8/merb-core/controller/merb_controller.rb:252:in `_dispatch'/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:102:in `dispatch_action'/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:74:in `handle'/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:36:in `handle'/usr/lib/ruby/1.8/merb-core/rack/application.rb:17:in `call'/usr/lib/ruby/1.8/rack/content_length.rb:13:in `call'/usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'/usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'/usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'/usr/lib/ruby/1.8/thin/connection.rb:57:in `process'/usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'/usr/lib/ruby/1.8/eventmachine.rb:240:in `run_machine'/usr/lib/ruby/1.8/eventmachine.rb:240:in `run'/usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'/usr/lib/ruby/1.8/thin/server.rb:156:in `start'/usr/lib/ruby/1.8/merb-core/rack/adapter/thin.rb:30:in `start_server'/usr/lib/ruby/1.8/merb-core/rack/adapter/abstract.rb:298:in `start_at_port'/usr/lib/ruby/1.8/merb-core/rack/adapter/abstract.rb:128:in `start'/usr/lib/ruby/1.8/merb-core/server.rb:174:in `bootup'/usr/lib/ruby/1.8/merb-core/server.rb:159:in `daemonize'/usr/lib/ruby/1.8/merb-core/server.rb:143:in `fork'/usr/lib/ruby/1.8/merb-core/server.rb:143:in `daemonize'/usr/lib/ruby/1.8/merb-core/server.rb:35:in `start'/usr/lib/ruby/1.8/merb-core.rb:170:in `start'
/usr/sbin/chef-server:82
merb : chef-server (api) : worker (port 4000) ~ Params: {"inflated_object"=>#<Chef::CookbookVersion:0xb6e00180 @status=:ready, @resource_filenames=[], @file_filenames=[], @name="activemq", @metadata=#<Chef::Cookbook::Metadata:0xb6dfc490 @platforms={"debian"=>[], "ubuntu"=>[]}, @recipes={"activemq"=>"Installs ActiveMQ from source and sets it up as a runit service"}, @groupings={}, @name="activemq", @cookbook=nil, @suggestions={}, @description="Installs activemq and sets it up as a runit service", @version="0.3.2", @replacing={}, @dependencies={"runit"=>[], "java"=>[]}, @recommendations={}, @license="Apache 2.0", @providing={}, @maintainer_email="cookbooks@opscode.com", @long_description="= DESCRIPTION:\n\nInstalls activemq and sets up a runit service.\n\n= REQUIREMENTS:\n\nTested on Ubuntu 9.04.\n\nOpscode cookbooks:\n\n* java\n* runit\n\n= ATTRIBUTES:\n\n* activemq[:mirror] - download URL up to the apache/activemq/apache-activemq directory.\n* activemq[:version] - version to install.\n\n= USAGE:\n\nInclude the default recipe on systems where you want to run activemq. At this time the cookbook doesn't use any custom configuration for activemq.\n\n= LICENSE AND AUTHOR:\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\n\nCopyright:: 2009, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", @attributes={}, @conflicting={}, @maintainer="Opscode, Inc.">, @root_filenames=["README.rdoc", "metadata.rb", "metadata.json"], @checksums={"ace4705deee63c40f302893948d20abe"=>nil, "33ee727d3355ab5a70ffdbf04f79bb23"=>nil, "8956d27e9304d7fd80da84de876be056"=>nil, "09f2bf988663175cd1b7973198dfb5eb"=>nil, "01269b3da137b64fa8dbdf55f8b82b37"=>nil, "863c2f7107105dc0b0cdfa3625340496"=>nil, "06d6cdf3741a60812ac6d6ad90abddea"=>nil}, @couchdb=#<Chef::CouchDB:0xb6e0007c @db="chef", @rest=#<Chef::REST:0xb6e00054 @redirects_followed=0, @auth_credentials=#<Chef::REST::AuthCredentials:0xb6e00004 @key_file=nil, @client_name=nil>, @cookies={}, @sign_request=true, @default_headers={}, @url="http://localhost:5984", @sign_on_redirect=true, @redirect_limit=10>>, @library_filenames=[], @attribute_filenames_by_short_filename={"default"=>"default.rb"}, @template_filenames=["sv-activemq-run.erb", "sv-activemq-log-run.erb"], @metadata_filenames=[], @couchdb_id=nil, @recipe_filenames_by_name={"default"=>"default.rb"}, @file_vendor=nil, @definition_filenames=[], @manifest_records_by_path={"recipes/default.rb"=>{"name"=>"default.rb", "checksum"=>"863c2f7107105dc0b0cdfa3625340496", "path"=>"recipes/default.rb", "specificity"=>"default"}, "templates/default/sv-activemq-run.erb"=>{"name"=>"sv-activemq-run.erb", "checksum"=>"33ee727d3355ab5a70ffdbf04f79bb23", "path"=>"templates/default/sv-activemq-run.erb", "specificity"=>"default"}, "templates/default/sv-activemq-log-run.erb"=>{"name"=>"sv-activemq-log-run.erb", "checksum"=>"09f2bf988663175cd1b7973198dfb5eb", "path"=>"templates/default/sv-activemq-log-run.erb", "specificity"=>"default"}, "metadata.rb"=>{"name"=>"metadata.rb", "checksum"=>"01269b3da137b64fa8dbdf55f8b82b37", "path"=>"metadata.rb", "specificity"=>"default"}, "README.rdoc"=>{"name"=>"README.rdoc", "checksum"=>"ace4705deee63c40f302893948d20abe", "path"=>"README.rdoc", "specificity"=>"default"}, "attributes/default.rb"=>{"name"=>"default.rb", "checksum"=>"06d6cdf3741a60812ac6d6ad90abddea", "path"=>"attributes/default.rb", "specificity"=>"default"}, "metadata.json"=>{"name"=>"metadata.json", "checksum"=>"8956d27e9304d7fd80da84de876be056", "path"=>"metadata.json", "specificity"=>"default"}}, @provider_filenames=[], @couchdb_rev=nil, @recipe_filenames=["default.rb"], @manifest={"name"=>"activemq-0.3.2", "definitions"=>[], "json_class"=>"Chef::CookbookVersion", "files"=>[], "attributes"=>[{"name"=>"default.rb", "checksum"=>"06d6cdf3741a60812ac6d6ad90abddea", "path"=>"attributes/default.rb", "specificity"=>"default"}], "metadata"=>{"dependencies"=>{"runit"=>[], "java"=>[]}, "name"=>"activemq", "maintainer_email"=>"cookbooks@opscode.com", "attributes"=>{}, "license"=>"Apache 2.0", "maintainer"=>"Opscode, Inc.", "platforms"=>{"debian"=>[], "ubuntu"=>[]}, "suggestions"=>{}, "long_description"=>"= DESCRIPTION:\n\nInstalls activemq and sets up a runit service.\n\n= REQUIREMENTS:\n\nTested on Ubuntu 9.04.\n\nOpscode cookbooks:\n\n* java\n* runit\n\n= ATTRIBUTES:\n\n* activemq[:mirror] - download URL up to the apache/activemq/apache-activemq directory.\n* activemq[:version] - version to install.\n\n= USAGE:\n\nInclude the default recipe on systems where you want to run activemq. At this time the cookbook doesn't use any custom configuration for activemq.\n\n= LICENSE AND AUTHOR:\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\n\nCopyright:: 2009, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", "recommendations"=>{}, "version"=>"0.3.2", "groupings"=>{}, "recipes"=>{"activemq"=>"Installs ActiveMQ from source and sets it up as a runit service"}, "conflicting"=>{}, "replacing"=>{}, "description"=>"Installs activemq and sets it up as a runit service", "providing"=>{}}, "providers"=>[], "cookbook_name"=>"activemq", "libraries"=>[], "templates"=>[{"name"=>"sv-activemq-run.erb", "checksum"=>"33ee727d3355ab5a70ffdbf04f79bb23", "path"=>"templates/default/sv-activemq-run.erb", "specificity"=>"default"}, {"name"=>"sv-activemq-log-run.erb", "checksum"=>"09f2bf988663175cd1b7973198dfb5eb", "path"=>"templates/default/sv-activemq-log-run.erb", "specificity"=>"default"}], "resources"=>[], "version"=>"0.3.2", "recipes"=>[{"name"=>"default.rb", "checksum"=>"863c2f7107105dc0b0cdfa3625340496", "path"=>"recipes/default.rb", "specificity"=>"default"}], "root_files"=>[{"name"=>"README.rdoc", "checksum"=>"ace4705deee63c40f302893948d20abe", "path"=>"README.rdoc", "specificity"=>"default"}, {"name"=>"metadata.rb", "checksum"=>"01269b3da137b64fa8dbdf55f8b82b37", "path"=>"metadata.rb", "specificity"=>"default"}, {"name"=>"metadata.json", "checksum"=>"8956d27e9304d7fd80da84de876be056", "path"=>"metadata.json", "specificity"=>"default"}], "chef_type"=>"cookbook_version"}, @attribute_filenames=["default.rb"]>, "cookbook_version"=>"0.3.2", "action"=>"update", "cookbook_name"=>"activemq", "controller"=>"cookbooks"}
merb : chef-server (api) : worker (port 4000) ~
@markbate
Copy link
Author

I'm getting a 500 Internal Server Error - connection refused when trying to upload cookbooks to the Chef server.
I've put the Chef server to debug level logging.
The above is the output when I run the rake task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment