- From:
- To:
- Subject: [chef] Re: Re: Re: Re: trouble installing chef 11 on RHEL 6 (AWS Linux)
- Date: Sun, 23 Jun 2013 05:17:03 +0000
On Sun, 23 Jun 2013, Adam Jacob wrote:
>
Do you have qpid running?
I wish I did. Alas, no.
>
On 6/22/13 12:11 AM,
>
"
"
>
>
<
>
>
wrote:
>
>
>On Sat, 22 Jun 2013, Brad Knowles wrote:
>
>
>
>> On Jun 22, 2013, at 12:32 AM,
>
>>
>
>> wrote:
>
>>
>
>> > ok. I'm gonna try it. I've been running an ubuntu chef 10.x server
>
>>for a long
>
>> > time. Now I'm gonna try to go for chef 11 on AWS Linux.
>
>> >
>
>> > AWS Linux 2012.09
>
>> > chef-server-11.0.8-1.el6.x86_64.rpm
>
>> >
>
>> > When I run "chef-server-ctl reconfigure", it never gets past:
>
>> >
>
>> > ruby_block[supervise_rabbitmq_sleep] action run
>
>> >
>
>> > Anyone have advice? Lots of detail below. Thanks!
>
>>
>
>> Hmm. We're installing Private Chef 11.4 on RHEL 6.4 (in a vmWare
>
>>environment), and that works just fine. It looks like the latest
>
>>version of Open Source chef 11 is 11.0.8, which you appear to be
>
>>installing. Have you tried installing that on RHEL 6.4 outside of AWS,
>
>>maybe on a VM on your local machine?
>
>>
>
>> I'm just wondering if maybe AWS is the problem, or if the problem
>
>>actually lies with Chef 11 on RHEL 6.
>
>
>
>I haven't yet tried. I'll try to make some time early next week if I can.
>
>Gonna try to take the weekend off :>
>
>
>
>I did try chef-server 11.0.6 and 11.0.4, both failed with same problem,
>
>but
>
>the failure looks different.
>
>
>
>kallen
>
>
>
>fwiw:
>
>
>
> - create template[/opt/chef-server/sv/rabbitmq/run]
>
> --- /tmp/chef-tempfile20130622-11272-5qid93 2013-06-22
>
>06:57:25.514398549 +0000
>
> +++ /tmp/chef-rendered-template20130622-11272-jidgro
>
>2013-06-22 06:57:25.514398549 +0000
>
> @@ -0,0 +1,4 @@
>
> +#!/bin/sh
>
> +exec 2>&1
>
> +exec chpst -P -u chef_server -U chef_server /usr/bin/env
>
>HOME=/var/opt/chef-server/rabbitmq /opt/chef-server
>
>/embedded/bin/rabbitmq-server
>
> +
>
>
>
> * template[/opt/chef-server/sv/rabbitmq/log/run] action create
>
> - create template[/opt/chef-server/sv/rabbitmq/log/run]
>
> --- /tmp/chef-tempfile20130622-11272-1mqheue 2013-06-22
>
>06:57:25.606397191 +0000
>
> +++ /tmp/chef-rendered-template20130622-11272-1qb8tp1
>
>2013-06-22 06:57:25.602397250 +0000
>
> @@ -0,0 +1,2 @@
>
> +#!/bin/sh
>
> +exec svlogd -tt /var/log/chef-server/rabbitmq
>
>
>
> * file[/opt/chef-server/sv/rabbitmq/down] action delete (up to date)
>
> * link[/opt/chef-server/init/rabbitmq] action create
>
> - create symlink at /opt/chef-server/init/rabbitmq to
>
>/opt/chef-server/embedded/bin/sv
>
>
>
> * link[/opt/chef-server/service/rabbitmq] action create
>
> - create symlink at /opt/chef-server/service/rabbitmq to
>
>/opt/chef-server/sv/rabbitmq
>
>
>
> * ruby_block[supervise_rabbitmq_sleep] action run
>
> - execute the ruby block supervise_rabbitmq_sleep
>
>
>
> * service[rabbitmq] action nothing (up to date)
>
> * execute[/opt/chef-server/bin/chef-server-ctl start rabbitmq] action
>
>run
>
>==========================================================================
>
>======
>
>Error executing action `run` on resource
>
>'execute[/opt/chef-server/bin/chef-server-ctl start rabbitmq]'
>
>==========================================================================
>
>======
>
>
>
>Mixlib::ShellOut::ShellCommandFailed
>
>------------------------------------
>
>Expected process to exit with [0], but received '1'
>
>---- Begin output of /opt/chef-server/bin/chef-server-ctl start rabbitmq
>
>----
>
>STDOUT: warning: rabbitmq: unable to open supervise/ok: file does not
>
>exist
>
>STDERR:
>
>---- End output of /opt/chef-server/bin/chef-server-ctl start rabbitmq
>
>----
>
>Ran /opt/chef-server/bin/chef-server-ctl start rabbitmq returned 1
>
>
>
>
>
>Resource Declaration:
>
>---------------------
>
># In /opt/chef-server/embedded/cookbooks/chef-server/recipes/rabbitmq.rb
>
>
>
> 76: execute "/opt/chef-server/bin/chef-server-ctl start rabbitmq" do
>
> 77: retries 20
>
> 78: end
>
> 79:
>
>
>
>
>
>
>
>Compiled Resource:
>
>------------------
>
># Declared in
>
>/opt/chef-server/embedded/cookbooks/chef-server/recipes/rabbitmq.rb:76:in
>
>`from_file'
>
>
>
>execute("/opt/chef-server/bin/chef-server-ctl start rabbitmq") do
>
> action "run"
>
> retries 0
>
> retry_delay 2
>
> command "/opt/chef-server/bin/chef-server-ctl start rabbitmq"
>
> backup 5
>
> returns 0
>
> cookbook_name :"chef-server"
>
> recipe_name "rabbitmq"
>
>end
>
>
>
>
>
>
>
>[2013-06-22T06:58:19+00:00] ERROR: Running exception handlers
>
>[2013-06-22T06:58:19+00:00] ERROR: Exception handlers complete
>
>Chef Client failed. 10 resources updated
>
>[2013-06-22T06:58:19+00:00] FATAL: Stacktrace dumped to
>
>/opt/chef-server/embedded/cookbooks/cache/chef-stacktrace.out
>
>[2013-06-22T06:58:19+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed:
>
>execute[/opt/chef-server/bin/chef-server-ctl start rabbitmq]
>
>(chef-server::rabbitmq line 76) had an error:
>
>Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0],
>
>but received '1'
>
>---- Begin output of /opt/chef-server/bin/chef-server-ctl start rabbitmq
>
>----
>
>STDOUT: warning: rabbitmq: unable to open supervise/ok: file does not
>
>exist
>
>STDERR:
>
>---- End output of /opt/chef-server/bin/chef-server-ctl start rabbitmq
>
>----
>
>Ran /opt/chef-server/bin/chef-server-ctl start rabbitmq returned 1
>
>
>
>
Archive powered by MHonArc 2.6.16.