Venu Murthy
Venu Murthy

Reputation: 2134

Unable to install chef-server older version on centos manually

I am on Centos 6.5 and would like to have chef-server version 10.30.4 as here.

I am using the ruby version of 1.9.3 via RVM. As on this link.

and even after having installed all dependencies as on this page

like

but getting the following errors on

gem install chef-server -v "10.30." 

Note: all of these are being done as root.

Error is

ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError) no such name (https://api.rubygems.org/api/v1/dependencies?gems=mixlib-authentication)

And by the way gem source rightly points

gem source * CURRENT SOURCES *

https://rubygems.org/

There seems to have been some progress after I did

gem update

And now the error is

ERROR: Error installing chef-server: ERROR: Failed to build gem native extension.

/usr/local/rvm/rubies/ruby-1.9.3-p545/bin/ruby extconf.rb checking for main() in -lgecodesearch... no

========================================================================================= Gecode >3.5 must be installed (http://www.gecode.org/).

Upvotes: 0

Views: 415

Answers (2)

Venu Murthy
Venu Murthy

Reputation: 2134

We had to abort this and installed Chef server using the omnibus install on CentOS 6.5 and seems like the document we were referring to way led us, knife-openstack works just fine with the 11X Chef series. Thanks to all those who tried to help us out.

Upvotes: 0

Mark O'Connor
Mark O'Connor

Reputation: 77951

Have you tried installing chef 11? It is a significant improvement over chef 10.

http://docs.opscode.com/install_server.html

The new omnibus packaging means all you need to do is download a single RPM package and run the configure task:

sudo yum install https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-server-11.0.11-1.el6.x86_64.rpm
sudo chef-server-ctl reconfigure

Upvotes: 2

Related Questions