- From: Allan Wind <
>
- To:
- Subject: [chef] Re: chef-solo error
- Date: Sun, 29 Jul 2012 10:03:12 -0400
On 2012-07-29 04:23:50,
wrote:
>
Mixlib::ShellOut::ShellCommandFailed: service[rabbitmq-server]
>
(chef-server::rabbitmq line 46) had an error:
>
Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but
>
received '1'
It means your rabbitmq-server script failed with error code 1
instead of the expected 0. You need to figure out why that is,
possible fix the script etc.
>
in /etc/chef/solo.rb the cookbook_path "/tmp/chef-solo/cookbooks" . Is the
>
/tmp correct place to save a cookbooks there ?
Not sure there is a "right" place. We deploy chef to /opt/chef
with capistrano so our cookbook_path ends up being
/opt/chef/current/cookbooks.
>
If I install/configure chef server this def "server_url":
>
"http://localhost:4000", will start the service on port 4000 on local
>
inteface only , right ? Should it be changed to real hostname of the server
>
.Otherwise service will listen on 127.0.0.1 only and client won't access
>
the
>
server .Please clarify .
If you use chef solo why are looking at this? localhost should
bind to server's private interface, and yes, you may want to use
another interface either public or private for intra host access.
What actually happens is easy to verify with `netstat -4l` if on
Linux.
/Allan
--
Allan Wind
Life Integrity, LLC
<
http://lifeintegrity.com>
Archive powered by MHonArc 2.6.16.