popularity question answers views user  
4
Cannot install chef-server 11 on centos 6

Hello,

trying to install chef-server 11 on centos 6 running the provided installer, but getting the following error message. I am stuck. Anyone can help?

[2013-02-13T16:49:30+01: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/rabbit@localhost.pid] (chef-server::rabbitmq line 80) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘2’ —— 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/rabbit@localhost.pid —— STDOUT: Waiting for rabbit@localhost … pid is 2586 … STDERR: Error: process_not_running —— 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/rabbit@localhost.pid —— 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/rabbit@localhost.pid returned 2

Thanks, claudio

more →
0 309  
0
Is there a way to speed up `gem install chef`?

I’m bootstrapping CloudFormation-deployed EC2 instances by directing cfn-init to install Chef, write the necessary configuration files, and then run chef-client.

The Chef install takes forever. Here’s the command cfn-init uses to install Chef:

/usr/bin/ruby /usr/bin/gem install -b --no-ri --no-rdoc chef -v = 0.10.2

On a micro instance, this takes 2-7 minutes to complete. That’s way too long for what amounts to copying a bit of files! Using auto-scaling groups, that’s going to add a massive delay between the time that I want a new instance added to the group and the time that the instance is available to serve requests.

Is there any way to speed this up, or get quicker installation times prioritized in development?

more →
0 235  
0
Chef sever on Debian

I see there is no Chef 11 server package for Debian. Is there any plan to provide on in the future? I can always try the Ubuntu debs, but I assume that isn’t supported.

Edit: I went ahead and used the Ubuntu 11.04 deb. Turns out 12.04 uses a newer version of glibc than Debian 7, so that one won’t work.

more →
0 28  
-1
Chef and Ruby 1.9.3

Hello!

How to install chef with/on ruby 1.9.3? All my attempts to install chef install Ruby 1.8.

Debian GNU/Linux wheezy/sid

Linux chef 3.2.0-4-amd64 #1 SMP Debian 3.2.32-1 x86_64 GNU/Linux

$ cat /etc/apt/sources.list.d/opscode.list

deb http://apt.opscode.com/ wheezy-0.10 main

more →
0 85