Created
February 7, 2013 02:39
-
-
Save pmocek/4727966 to your computer and use it in GitHub Desktop.
Chef Server v11 installation failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2013-02-06T21:36:39+00:00] INFO: *** Chef 11.0.0 *** | |
[2013-02-06T21:36:40+00:00] INFO: Setting the run_list to ["recipe[chef-server]"] from JSON | |
[2013-02-06T21:36:40+00:00] INFO: Run List is [recipe[chef-server]] | |
[2013-02-06T21:36:40+00:00] INFO: Run List expands to [chef-server] | |
[2013-02-06T21:36:40+00:00] INFO: Starting Chef Run for chef | |
[2013-02-06T21:36:40+00:00] INFO: Running start handlers | |
[2013-02-06T21:36:40+00:00] INFO: Start handlers complete. | |
[2013-02-06T21:36:40+00:00] INFO: directory[/etc/chef-server] created directory /etc/chef-server | |
[2013-02-06T21:36:40+00:00] INFO: directory[/etc/chef-server] owner changed to 0 | |
[2013-02-06T21:36:40+00:00] INFO: directory[/etc/chef-server] group changed to 0 | |
[2013-02-06T21:36:40+00:00] INFO: directory[/etc/chef-server] mode changed to 775 | |
[2013-02-06T21:36:41+00:00] WARN: Cloning resource attributes for directory[/var/opt/chef-server/chef-server-webui/etc] from prior resource (CHEF-3694) | |
[2013-02-06T21:36:41+00:00] WARN: Previous directory[/var/opt/chef-server/chef-server-webui/etc]: /opt/chef-server/embedded/cookbooks/chef-server/recipes/chef-server-webui.rb:31:in `block in from_file' | |
[2013-02-06T21:36:41+00:00] WARN: Current directory[/var/opt/chef-server/chef-server-webui/etc]: /opt/chef-server/embedded/cookbooks/chef-server/definitions/unicorn_config.rb:21:in `block in from_file' | |
[2013-02-06T21:36:41+00:00] INFO: user[chef_server] created | |
[2013-02-06T21:36:41+00:00] INFO: group[chef_server] altered | |
[2013-02-06T21:36:41+00:00] INFO: directory[/etc/chef] group changed to 999 | |
[2013-02-06T21:36:41+00:00] INFO: directory[/etc/chef] mode changed to 775 | |
[2013-02-06T21:36:41+00:00] INFO: directory[/var/opt/chef-server] created directory /var/opt/chef-server | |
[2013-02-06T21:36:41+00:00] INFO: directory[/var/opt/chef-server] owner changed to 0 | |
[2013-02-06T21:36:41+00:00] INFO: directory[/var/opt/chef-server] group changed to 0 | |
[2013-02-06T21:36:41+00:00] INFO: directory[/var/opt/chef-server] mode changed to 755 | |
[2013-02-06T21:36:41+00:00] INFO: cookbook_file[/etc/init/opscode-runsvdir.conf] owner changed to 0 | |
[2013-02-06T21:36:41+00:00] INFO: cookbook_file[/etc/init/opscode-runsvdir.conf] group changed to 0 | |
[2013-02-06T21:36:41+00:00] INFO: cookbook_file[/etc/init/opscode-runsvdir.conf] mode changed to 644 | |
[2013-02-06T21:36:41+00:00] INFO: cookbook_file[/etc/init/opscode-runsvdir.conf] created file /etc/init/opscode-runsvdir.conf | |
[2013-02-06T21:36:41+00:00] INFO: execute[initctl status opscode-runsvdir] ran successfully | |
[2013-02-06T21:36:41+00:00] INFO: execute[initctl start opscode-runsvdir] ran successfully | |
[2013-02-06T21:36:41+00:00] INFO: directory[/var/opt/chef-server/rabbitmq] created directory /var/opt/chef-server/rabbitmq | |
[2013-02-06T21:36:41+00:00] INFO: directory[/var/opt/chef-server/rabbitmq] owner changed to 999 | |
[2013-02-06T21:36:41+00:00] INFO: directory[/var/opt/chef-server/rabbitmq] mode changed to 700 | |
[2013-02-06T21:36:41+00:00] INFO: directory[/var/opt/chef-server/rabbitmq/etc] created directory /var/opt/chef-server/rabbitmq/etc | |
[2013-02-06T21:36:41+00:00] INFO: directory[/var/opt/chef-server/rabbitmq/etc] owner changed to 999 | |
[2013-02-06T21:36:41+00:00] INFO: directory[/var/opt/chef-server/rabbitmq/etc] mode changed to 700 | |
[2013-02-06T21:36:41+00:00] INFO: directory[/var/opt/chef-server/rabbitmq/db] created directory /var/opt/chef-server/rabbitmq/db | |
[2013-02-06T21:36:41+00:00] INFO: directory[/var/opt/chef-server/rabbitmq/db] owner changed to 999 | |
[2013-02-06T21:36:41+00:00] INFO: directory[/var/opt/chef-server/rabbitmq/db] mode changed to 700 | |
[2013-02-06T21:36:41+00:00] INFO: directory[/var/log/chef-server/rabbitmq] created directory /var/log/chef-server/rabbitmq | |
[2013-02-06T21:36:41+00:00] INFO: directory[/var/log/chef-server/rabbitmq] owner changed to 999 | |
[2013-02-06T21:36:41+00:00] INFO: directory[/var/log/chef-server/rabbitmq] mode changed to 700 | |
[2013-02-06T21:36:41+00:00] INFO: link[/opt/chef-server/embedded/bin/rabbitmq-multi] created | |
[2013-02-06T21:36:42+00:00] INFO: template[/opt/chef-server/embedded/service/rabbitmq/sbin/rabbitmq-env] backed up to /var/chef/backup/opt/chef-server/embedded/service/rabbitmq/sbin/rabbitmq-env.chef-20130206213642 | |
[2013-02-06T21:36:42+00:00] INFO: template[/opt/chef-server/embedded/service/rabbitmq/sbin/rabbitmq-env] updated content | |
[2013-02-06T21:36:42+00:00] INFO: template[/opt/chef-server/embedded/service/rabbitmq/sbin/rabbitmq-env] owner changed to 0 | |
[2013-02-06T21:36:42+00:00] INFO: template[/opt/chef-server/embedded/service/rabbitmq/sbin/rabbitmq-env] group changed to 0 | |
[2013-02-06T21:36:42+00:00] INFO: template[/opt/chef-server/embedded/service/rabbitmq/sbin/rabbitmq-env] mode changed to 755 | |
[2013-02-06T21:36:42+00:00] INFO: template[/var/opt/chef-server/rabbitmq/etc/rabbitmq.conf] updated content | |
[2013-02-06T21:36:42+00:00] INFO: template[/var/opt/chef-server/rabbitmq/etc/rabbitmq.conf] owner changed to 0 | |
[2013-02-06T21:36:42+00:00] INFO: template[/var/opt/chef-server/rabbitmq/etc/rabbitmq.conf] group changed to 0 | |
[2013-02-06T21:36:42+00:00] INFO: template[/var/opt/chef-server/rabbitmq/etc/rabbitmq.conf] mode changed to 644 | |
[2013-02-06T21:36:42+00:00] INFO: directory[/opt/chef-server/sv/rabbitmq] created directory /opt/chef-server/sv/rabbitmq | |
[2013-02-06T21:36:42+00:00] INFO: directory[/opt/chef-server/sv/rabbitmq] owner changed to 0 | |
[2013-02-06T21:36:42+00:00] INFO: directory[/opt/chef-server/sv/rabbitmq] group changed to 0 | |
[2013-02-06T21:36:42+00:00] INFO: directory[/opt/chef-server/sv/rabbitmq] mode changed to 755 | |
[2013-02-06T21:36:42+00:00] INFO: directory[/opt/chef-server/sv/rabbitmq/log] created directory /opt/chef-server/sv/rabbitmq/log | |
[2013-02-06T21:36:42+00:00] INFO: directory[/opt/chef-server/sv/rabbitmq/log] owner changed to 0 | |
[2013-02-06T21:36:42+00:00] INFO: directory[/opt/chef-server/sv/rabbitmq/log] group changed to 0 | |
[2013-02-06T21:36:42+00:00] INFO: directory[/opt/chef-server/sv/rabbitmq/log] mode changed to 755 | |
[2013-02-06T21:36:42+00:00] INFO: directory[/opt/chef-server/sv/rabbitmq/log/main] created directory /opt/chef-server/sv/rabbitmq/log/main | |
[2013-02-06T21:36:42+00:00] INFO: directory[/opt/chef-server/sv/rabbitmq/log/main] owner changed to 0 | |
[2013-02-06T21:36:42+00:00] INFO: directory[/opt/chef-server/sv/rabbitmq/log/main] group changed to 0 | |
[2013-02-06T21:36:42+00:00] INFO: directory[/opt/chef-server/sv/rabbitmq/log/main] mode changed to 755 | |
[2013-02-06T21:36:42+00:00] INFO: template[/opt/chef-server/sv/rabbitmq/run] updated content | |
[2013-02-06T21:36:42+00:00] INFO: template[/opt/chef-server/sv/rabbitmq/run] owner changed to 0 | |
[2013-02-06T21:36:42+00:00] INFO: template[/opt/chef-server/sv/rabbitmq/run] group changed to 0 | |
[2013-02-06T21:36:42+00:00] INFO: template[/opt/chef-server/sv/rabbitmq/run] mode changed to 755 | |
[2013-02-06T21:36:42+00:00] INFO: template[/opt/chef-server/sv/rabbitmq/log/run] updated content | |
[2013-02-06T21:36:42+00:00] INFO: template[/opt/chef-server/sv/rabbitmq/log/run] owner changed to 0 | |
[2013-02-06T21:36:42+00:00] INFO: template[/opt/chef-server/sv/rabbitmq/log/run] group changed to 0 | |
[2013-02-06T21:36:42+00:00] INFO: template[/opt/chef-server/sv/rabbitmq/log/run] mode changed to 755 | |
[2013-02-06T21:36:42+00:00] INFO: link[/opt/chef-server/init/rabbitmq] created | |
[2013-02-06T21:36:42+00:00] INFO: link[/opt/chef-server/service/rabbitmq] created | |
[2013-02-06T21:36:47+00:00] INFO: ruby_block[supervise_rabbitmq_sleep] called | |
[2013-02-06T21:36:47+00:00] INFO: execute[/opt/chef-server/bin/chef-server-ctl start rabbitmq] ran successfully | |
[2013-02-06T21:36:47+00:00] INFO: Retrying execution of execute[/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected]], 9 attempt(s) left | |
[2013-02-06T21:36:49+00:00] INFO: Retrying execution of execute[/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected]], 8 attempt(s) left | |
[2013-02-06T21:36:51+00:00] INFO: Retrying execution of execute[/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected]], 7 attempt(s) left | |
[2013-02-06T21:36:53+00:00] INFO: Retrying execution of execute[/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected]], 6 attempt(s) left | |
[2013-02-06T21:36:55+00:00] INFO: Retrying execution of execute[/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected]], 5 attempt(s) left | |
[2013-02-06T21:36:57+00:00] INFO: Retrying execution of execute[/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected]], 4 attempt(s) left | |
[2013-02-06T21:36:59+00:00] INFO: Retrying execution of execute[/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected]], 3 attempt(s) left | |
[2013-02-06T21:37:01+00:00] INFO: Retrying execution of execute[/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected]], 2 attempt(s) left | |
[2013-02-06T21:37:03+00:00] INFO: Retrying execution of execute[/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected]], 1 attempt(s) left | |
[2013-02-06T21:37:06+00:00] INFO: Retrying execution of execute[/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected]], 0 attempt(s) left | |
================================================================================ | |
Error executing action `run` on resource 'execute[/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected]]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' | |
---- Begin output of /opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected] ---- | |
STDOUT: | |
STDERR: erlexec: HOME must be set | |
---- End output of /opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected] ---- | |
Ran /opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected] returned 1 | |
Resource Declaration: | |
--------------------- | |
# In /opt/chef-server/embedded/cookbooks/chef-server/recipes/rabbitmq.rb | |
80: execute "/opt/chef-server/embedded/bin/chpst -u #{node["chef_server"]["user"]["username"]} -U #{node["chef_server"]["user"]["username"]} /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected]" do | |
81: retries 10 | |
82: end | |
83: | |
Compiled Resource: | |
------------------ | |
# Declared in /opt/chef-server/embedded/cookbooks/chef-server/recipes/rabbitmq.rb:80:in `from_file' | |
execute("/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected]") do | |
action "run" | |
retries 0 | |
retry_delay 2 | |
command "/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected]" | |
backup 5 | |
returns 0 | |
cookbook_name :"chef-server" | |
recipe_name "rabbitmq" | |
end | |
[2013-02-06T21:37:08+00:00] INFO: Running queued delayed notifications before re-raising exception | |
[2013-02-06T21:37:08+00:00] ERROR: Running exception handlers | |
[2013-02-06T21:37:08+00:00] ERROR: Exception handlers complete | |
[2013-02-06T21:37:08+00:00] FATAL: Stacktrace dumped to /opt/chef-server/embedded/cookbooks/cache/chef-stacktrace.out | |
[2013-02-06T21:37:08+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected]] (chef-server::rabbitmq line 80) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
---- Begin output of /opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected] ---- | |
STDOUT: | |
STDERR: erlexec: HOME must be set | |
---- End output of /opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected] ---- | |
Ran /opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected] returned 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You'll also get this error if you don't define 'localhost' in your /etc/hosts file. Make sure you have this line in it:
127.0.0.1 localhost