[chef] Re: Chef v11 fails on Centos 6.4


Chronological Thread 
  • From: Lunixer < >
  • To:
  • Subject: [chef] Re: Chef v11 fails on Centos 6.4
  • Date: Thu, 2 May 2013 19:12:53 -0700


Did everything as root.
I read the bug and they make it clear to use sudo. So, I used root instead.
At first I thought it was a Centos thing, but the bug is against RHEL 6.3.

My VM is Centos 6.4, all updates. Using the recommended ruby version.

BTW folks, what's the convention to post/reply on this list... Reply at the top or bottom of the message for easy reading?

-lun

On Thursday, May 2, 2013, Daniel DeLeo wrote:

On Thursday, May 2, 2013 at 4:26 PM, Lunixer wrote:

I set up a RHEL 64bit VM and got the Chef v11 rpm and installed it as root but there were some errors.

These are two of the lines that stand out.

Error executing action `run` on resource 'execute[verify-system-status]'
Mixlib::ShellOut::ShellCommandFailed

The test shows a missing file.

~]# chef-server-ctl test
/opt/chef-server/embedded/service/chef-pedant/lib/pedant/config.rb:34:in `from_argv': Configuration file '/var/opt/chef-server/chef-pedant/etc/pedant_config.rb' not found! (RuntimeError)
    from /opt/chef-server/embedded/service/chef-pedant/lib/pedant.rb:44:in `setup'
    from ./bin/chef-pedant:26:in `<main>'


I used the installation instructions from here:
       http://docs.opscode.com/chef/install_server.html
And found this BUG reference
      http://tickets.opscode.com/browse/CHEF-4096

Is there a fix for this?
I created an output file of the installation process for inspection if needed.
thanks,

-lun
That bug seems to indicate that you ran `chef-server-ctl reconfigure` as non-root?

-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§