Below is the trimmed installation output.
Basically the problem occurs at the end of the process.
The status command at the end of this email shows several PIDs running.
* ruby_block[supervise_erchef_sleep] action run
- execute the ruby block supervise_erchef_sleep
* service[erchef] action nothing (up to date)
* execute[/opt/chef-server/bin/chef-server-ctl start erchef] action run
- execute /opt/chef-server/bin/chef-server-ctl start erchef
Recipe: chef-server::bootstrap
* execute[verify-system-status] action run
================================================================================
Error executing action `run` on resource 'execute[verify-system-status]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '22'
---- Begin output of curl -sf
http://127.0.0.1:8000/_status ----
STDOUT:
STDERR:
---- End output of curl -sf
http://127.0.0.1:8000/_status ----
Ran curl -sf
http://127.0.0.1:8000/_status returned 22
Resource Declaration:
---------------------
# In /opt/chef-server/embedded/cookbooks/chef-server/recipes/bootstrap.rb
24: execute "verify-system-status" do
25: command "curl -sf #{erchef_status_url}"
26: retries 20
27: not_if { File.exists?(bootstrap_status_file) }
28: end
29:
Compiled Resource:
------------------
# Declared in /opt/chef-server/embedded/cookbooks/chef-server/recipes/bootstrap.rb:24:in `from_file'
execute("verify-system-status") do
action "run"
retries 0
retry_delay 2
command "curl -sf
http://127.0.0.1:8000/_status"
backup 5
returns 0
cookbook_name :"chef-server"
recipe_name "bootstrap"
not_if { #code block }
end
[2013-05-02T15:16:55-07:00] ERROR: Running exception handlers
[2013-05-02T15:16:55-07:00] ERROR: Exception handlers complete
Chef Client failed. 123 resources updated
[2013-05-02T15:16:55-07:00] FATAL: Stacktrace dumped to /opt/chef-server/embedded/cookbooks/cache/chef-stacktrace.out
[2013-05-02T15:16:55-07:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[verify-system-status] (chef-server::bootstrap line 24) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '22'
---- Begin output of curl -sf
http://127.0.0.1:8000/_status ----
STDOUT:
STDERR:
---- End output of curl -sf
http://127.0.0.1:8000/_status ----
Ran curl -sf
http://127.0.0.1:8000/_status returned 22
0;
:
~]# chef-server-ctl status
run: bookshelf: (pid 23190) 740s; run: log: (pid 23189) 740s
run: chef-expander: (pid 23092) 746s; run: log: (pid 23091) 746s
down: chef-solr: 0s, normally up, want up; run: log: (pid 23058) 747s
run: erchef: (pid 23283) 734s; run: log: (pid 23282) 734s
run: postgresql: (pid 22969) 754s; run: log: (pid 22968) 754s
run: rabbitmq: (pid 22689) 765s; run: log: (pid 22688) 765s