Skip to content

Instantly share code, notes, and snippets.

@moos3
Created December 17, 2012 14:34
Show Gist options
  • Select an option

  • Save moos3/4318717 to your computer and use it in GitHub Desktop.

Select an option

Save moos3/4318717 to your computer and use it in GitHub Desktop.
chef-server setup errors
[root@localhost ~]# gem list --local | grep chef
chef (10.16.2)
chef-expander (10.16.2)
chef-server-api (10.16.2)
chef-server-webui (10.16.2)
chef-solr (10.16.2)
[root@localhost ~]# chef-server
Merb root at: /usr/lib64/ruby/gems/1.9.1/gems/chef-server-api-10.16.2
~ 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
[2012-12-16T22:29:08-05:00] INFO: Creating validation key...
[2012-12-16T22:29:08-05:00] INFO: Creating new key pair for chef-validator
[2012-12-16T22:29:08-05:00] INFO: Sending client(4be93a49-116d-4261-9697-7a6a82bb61f2) to the index queue for addition.
[2012-12-16T22:29:11-05:00] ERROR: Disconnected from the AMQP Broker (RabbitMQ)
[2012-12-16T22:29:11-05:00] INFO: Attempting to reconnect to the AMQP broker
[2012-12-16T22:29:14-05:00] ERROR: Disconnected from the AMQP Broker (RabbitMQ)
[2012-12-16T22:29:14-05:00] FATAL: Could not re-connect to the AMQP broker, giving up
/usr/lib64/ruby/gems/1.9.1/gems/bunny-0.6.0/lib/qrack/client.rb:167:in `read': Connection reset by peer (Errno::ECONNRESET)
from /usr/lib64/ruby/gems/1.9.1/gems/bunny-0.6.0/lib/qrack/client.rb:167:in `send_command'
from /usr/lib64/ruby/gems/1.9.1/gems/bunny-0.6.0/lib/qrack/client.rb:90:in `read'
from /usr/lib64/ruby/gems/1.9.1/gems/bunny-0.6.0/lib/qrack/transport/buffer08.rb:251:in `_read'
from /usr/lib64/ruby/gems/1.9.1/gems/bunny-0.6.0/lib/qrack/transport/buffer08.rb:90:in `block in read'
from /usr/lib64/ruby/gems/1.9.1/gems/bunny-0.6.0/lib/qrack/transport/buffer08.rb:87:in `map'
from /usr/lib64/ruby/gems/1.9.1/gems/bunny-0.6.0/lib/qrack/transport/buffer08.rb:87:in `read'
from /usr/lib64/ruby/gems/1.9.1/gems/bunny-0.6.0/lib/qrack/transport/frame08.rb:56:in `block in parse'
from /usr/lib64/ruby/gems/1.9.1/gems/bunny-0.6.0/lib/qrack/transport/buffer08.rb:242:in `extract'
from /usr/lib64/ruby/gems/1.9.1/gems/bunny-0.6.0/lib/qrack/transport/frame08.rb:55:in `parse'
from /usr/lib64/ruby/gems/1.9.1/gems/bunny-0.6.0/lib/bunny/client08.rb:161:in `next_frame'
from /usr/lib64/ruby/gems/1.9.1/gems/bunny-0.6.0/lib/bunny/client08.rb:195:in `open_connection'
from /usr/lib64/ruby/gems/1.9.1/gems/bunny-0.6.0/lib/bunny/client08.rb:397:in `block in start_session'
from /usr/lib64/ruby/gems/1.9.1/gems/bunny-0.6.0/lib/bunny/client08.rb:389:in `loop'
from /usr/lib64/ruby/gems/1.9.1/gems/bunny-0.6.0/lib/bunny/client08.rb:389:in `start_session'
from /usr/lib64/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/index_queue/amqp_client.rb:45:in `amqp_client'
from /usr/lib64/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/index_queue/amqp_client.rb:72:in `queue_for_object'
from /usr/lib64/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/index_queue/indexable.rb:95:in `publish_object'
from /usr/lib64/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/index_queue/indexable.rb:74:in `add_to_index'
from /usr/lib64/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/couchdb.rb:118:in `store'
from /usr/lib64/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/api_client.rb:231:in `cdb_save'
from /usr/lib64/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/certificate.rb:139:in `create_validation_key'
from /usr/lib64/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/certificate.rb:114:in `rescue in gen_validation_key'
from /usr/lib64/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/certificate.rb:104:in `gen_validation_key'
from /usr/lib64/ruby/gems/1.9.1/gems/chef-server-api-10.16.2/config/init.rb:84:in `<top (required)>'
from /usr/lib64/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:529:in `load'
from /usr/lib64/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:529:in `load_initfile'
from /usr/lib64/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:377:in `run'
from /usr/lib64/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:97:in `run'
from /usr/lib64/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/server.rb:172:in `bootup'
from /usr/lib64/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/server.rb:42:in `start'
from /usr/lib64/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core.rb:165:in `start'
from /usr/lib64/ruby/gems/1.9.1/gems/chef-server-api-10.16.2/bin/chef-server:84:in `<top (required)>'
from /usr/bin/chef-server:23:in `load'
from /usr/bin/chef-server:23:in `<main>'
[root@localhost ~]# gem --version
1.8.24
[root@localhost ~]# ruby -v
ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment