- From: "Julian C. Dunn" <
>
- To:
- Subject: [chef] Re: Problem bootstrapping chef-server on RHEL 5.4
- Date: Mon, 1 Oct 2012 21:37:38 -0400
We use Aegis's RPM repo for bootstrapping Chef servers on CentOS 5.x and find
it incredibly helpful for providing all the deps.
http://blog.aegisco.com/index.php/2011/04/08/chef-0-10-pre-requisites-gecode-and-ruby-rpms/
If you can use RHEL 6.x, gecode comes with EPEL so you won't need Aegis at
all.
- Julian
On Oct 1, 2012, at 9:06 AM, Torben Knerr
<
>
wrote:
>
Hi Fred,
>
>
sorry, can't help you with the gecode issue, but in general you might
>
want to check out the knife-server [1] plugin for bootstrapping (and
>
backup/restore) of chef servers.
>
>
There's currently only a bootstrap template for debian based systems
>
[2], but you might be able to adapt that for redhat based distros.
>
>
HTH, Torben
>
>
>
[1] http://fnichol.github.com/knife-server/
>
[2]
>
https://github.com/fnichol/knife-server/blob/master/lib/chef/knife/bootstrap/chef-server-debian.erb
>
>
On Mon, Oct 1, 2012 at 1:58 PM, Friedrich Clausen
>
<
>
>
wrote:
>
> Hi All,
>
>
>
> Summary:
>
>
>
> I am following the installation guide for chef-server using chef-solo
>
> [1] and all went well up to the installation of the Ruby gem
>
> "chef-server-api" which fails with
>
>
>
> checking for main() in -lgecodesearch... no
>
> Gecode >3.5 must be installed (http://www.gecode.org/).
>
>
>
> Details:
>
>
>
> I have gone through the RHEL/CentOS notes [2] and ensure the following is
>
> done
>
>
>
> * SELinux is disabled
>
> * EPEL repo is enabled
>
> * /usr/local/lib is in ld.so.conf and "ldconfig -p | grep gecode"
>
> shows that the relevant gecode libs are being "seen" by the linker.
>
> * The gecode libraries are definitely in /usr/local/lib as opposed to
>
> /usr/local/lib64
>
>
>
> however it still appears that the chef-server-api gem is unable to
>
> find the correct libraries. I also tried
>
>
>
> * Setting "LD_LIBRARY_PATH=/usr/local/lib" but this did not help.
>
> * Manually install the latest gecode libs in /usr/local but this did not
>
> help.
>
>
>
> Any info would be much appreciated!
>
>
>
> Cheers,
>
>
>
> Fred.
>
>
>
> [1]
>
> http://wiki.opscode.com/display/chef/Installing+Chef+Server+using+Chef+Solo
>
> [2]
>
> http://wiki.opscode.com/display/chef/Installing+Chef+Server+using+Chef+Solo#InstallingChefServerusingChefSolo-CentOS%2FRHELInstallationNotes
Archive powered by MHonArc 2.6.16.