- From: "Eric G. Wolfe" <
>
- To:
- Cc: James <
>,
- Subject: [chef] Re: Re: Re: problem starting chef-server on RHEL6
- Date: Mon, 03 Oct 2011 13:45:17 -0400
I built mine on CentOS 6 (x86_64) with this.
$ ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
--disable-examples
Going by the .spec file
(http://rpm.aegisco.com/aegisco/rhel/5Server/SRPMS/), this appears
to be the configure line for the AegisCo RPM:
$ ./configure --disable-examples --enable-float-vars
--with-boost-include=/usr/include/boost --disable-gist --disable-qt
Maybe try adding "--prefix=/usr --localstatedir=/var
--sysconfdir=/etc" to the configure line. This way you wouldn't
have to put /usr/local/lib in the ld.so.conf file.
Eric G. Wolfe
Senior Linux Administrator,
IT Infrastructure Systems
--------------------------------------
Marshall University Computing Services
Drinko Library 428-K
One John Marshall Dr.
Huntington, WV 25755
Phone: 304.696.3428
Email:
">
How many chunks could checkchunk check if checkchunk could check chunks?
-- Alan Cox
On 10/03/2011 05:51 AM, James wrote:
"
type="cite">
Patrick,
What version of gecode are you using, and where is it from?
We built gecode packages for CentOS, Fedora, and RH because they
were not available at the time. I'm going to be cleaning up and
pushing out the cookbook I use for building all of the RPMs, as
well as releasing a new round of packages (more distributions) and
docs soon. If you have a suggestion on how to deal with this
problem in the package itself, I'm happy to implement it in the
next build.
Thanks for the info,
James
On Sun, Oct 2, 2011 at 11:26 PM, Patrick Baker <
">
>
wrote:
SOLUTION/FIX
I got caught out by this one as well. Its actually a simple
solution. gecode is installed to /usr/local/lib which is NOT
in the dynamic library search path for Centos6/Rhel6. All you
need to do is:
# echo "/usr/local/lib" >> /etc/ld.so.conf
# ldconfig
After the path /usr/local/lib is in the ld.so.conf file and
ldconfig is run, you should be able to start the service
without the aforementioned issue. This thread seems to
suggest that you need to install gecode from a 3rd party rpm
repo, which is not the case!!
With regards,
Patrick
On Tue, Jul 26, 2011 at 7:21 AM, <
">
>
wrote:
Hi,
I'm starting to test Chef to see if it can be used in
our environment, so i prepared a machine to do the
installation.
OS : RHEL6.1 64bit
I used the installation from RubyGems and did a
bootstrap without errors. The problem is that the
chef-server service doesn't want to start.
When starting Chef manually i get the following error
# chef-server -N -e production -V
~ Running bootloaders...
Merb root at: /usr/lib/ruby/gems/1.8/gems/
chef-server-api-0.10.2
~ No Gemfile found! If you're generating new app with
merb-gen this is fine, otherwise run: bundle init to
create Gemfile
Loading init file from ./config/init.rb
[Tue, 26 Jul 2011 09:20:33 -0400] INFO: Loading roles
~ loading /usr/lib/ruby/gems/1.8/gems/
chef-server-api-0.10.2/app/ controllers/application.rb
~ loading /usr/lib/ruby/gems/1.8/gems/
chef-server-api-0.10.2/app/ models/sandbox_file.rb
~ loading /usr/lib/ruby/gems/1.8/gems/
chef-server-api-0.10.2/app/ helpers/cookbook_version_
helper.rb
~ loading /usr/lib/ruby/gems/1.8/gems/
chef-server-api-0.10.2/app/ helpers/tarball_helper.rb
~ loading /usr/lib/ruby/gems/1.8/gems/
chef-server-api-0.10.2/app/ controllers/application.rb
/usr/lib/ruby/gems/1.8/gems/
mixlib-authentication-1.1.4/
lib/mixlib/authentication/
http_authentication_request. rb:25: warning: already
initialized constant MANDATORY_HEADERS
/usr/lib/ruby/gems/1.8/gems/
mixlib-authentication-1.1.4/
lib/mixlib/authentication/
signatureverification.rb:28: warning: already
initialized constant SignatureResponse
~ loading /usr/lib/ruby/gems/1.8/gems/
chef-server-api-0.10.2/app/ controllers/clients.rb
~ loading /usr/lib/ruby/gems/1.8/gems/
chef-server-api-0.10.2/app/ controllers/cookbooks.rb
~ loading /usr/lib/ruby/gems/1.8/gems/
chef-server-api-0.10.2/app/ controllers/data_bags.rb
~ loading /usr/lib/ruby/gems/1.8/gems/
chef-server-api-0.10.2/app/ controllers/data_item.rb
~ loading /usr/lib/ruby/gems/1.8/gems/
chef-server-api-0.10.2/app/
controllers/environments.rb
/usr/lib/ruby/gems/1.8/gems/
dep_selector-0.0.8/lib/dep_ gecode.so:
libgecodeminimodel.so.27: cannot open shared object
file: No such file or directory -
/usr/lib/ruby/gems/1.8/gems/
dep_selector-0.0.8/lib/dep_ gecode.so (LoadError)
from /usr/lib/ruby/site_ruby/1.8/
rubygems/custom_require.rb:31: in `require'
from /usr/lib/ruby/gems/1.8/gems/
dep_selector-0.0.8/lib/dep_
selector/gecode_wrapper.rb:20
from /usr/lib/ruby/site_ruby/1.8/
rubygems/custom_require.rb:31: in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/
rubygems/custom_require.rb:31: in `require'
from /usr/lib/ruby/gems/1.8/gems/
dep_selector-0.0.8/lib/dep_
selector/dependency_graph.rb: 21
from /usr/lib/ruby/site_ruby/1.8/
rubygems/custom_require.rb:31: in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/
rubygems/custom_require.rb:31: in `require'
from /usr/lib/ruby/gems/1.8/gems/
dep_selector-0.0.8/lib/dep_ selector/selector.rb:20
from /usr/lib/ruby/site_ruby/1.8/
rubygems/custom_require.rb:31: in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/
rubygems/custom_require.rb:31: in `require'
from /usr/lib/ruby/gems/1.8/gems/
dep_selector-0.0.8/lib/dep_ selector.rb:22
from /usr/lib/ruby/site_ruby/1.8/
rubygems/custom_require.rb:31: in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/
rubygems/custom_require.rb:31: in `require'
from /usr/lib/ruby/gems/1.8/gems/
chef-0.10.2/lib/chef/cookbook_ version_selector.rb:18
from /usr/lib/ruby/site_ruby/1.8/
rubygems/custom_require.rb:31: in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/
rubygems/custom_require.rb:31: in `require'
from /usr/lib/ruby/gems/1.8/gems/
chef-server-api-0.10.2/app/
controllers/environments.rb:21
from /usr/lib/ruby/site_ruby/1.8/
rubygems/custom_require.rb:31: in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/
rubygems/custom_require.rb:31: in `require'
from /usr/lib/ruby/gems/1.8/gems/
merb-core-1.1.3/lib/merb-core/ bootloader.rb:897:in
`load_file'
from /usr/lib/ruby/gems/1.8/gems/
merb-core-1.1.3/lib/merb-core/ bootloader.rb:931:in
`load_classes'
from /usr/lib/ruby/gems/1.8/gems/
merb-core-1.1.3/lib/merb-core/ bootloader.rb:929:in
`each'
from /usr/lib/ruby/gems/1.8/gems/
merb-core-1.1.3/lib/merb-core/ bootloader.rb:929:in
`load_classes'
from /usr/lib/ruby/gems/1.8/gems/
merb-core-1.1.3/lib/merb-core/ bootloader.rb:928:in
`each'
from /usr/lib/ruby/gems/1.8/gems/
merb-core-1.1.3/lib/merb-core/ bootloader.rb:928:in
`load_classes'
from /usr/lib/ruby/gems/1.8/gems/
merb-core-1.1.3/lib/merb-core/ bootloader.rb:670:in
`run'
from /usr/lib/ruby/gems/1.8/gems/
extlib-0.9.15/lib/extlib/ dictionary.rb:268:in `each'
from /usr/lib/ruby/gems/1.8/gems/
extlib-0.9.15/lib/extlib/ dictionary.rb:268:in `each'
from /usr/lib/ruby/gems/1.8/gems/
merb-core-1.1.3/lib/merb-core/ bootloader.rb:668:in
`run'
from /usr/lib/ruby/gems/1.8/gems/
merb-core-1.1.3/lib/merb-core/ bootloader.rb:97:in
`run'
from /usr/lib/ruby/gems/1.8/gems/
merb-core-1.1.3/lib/merb-core/ server.rb:172:in
`bootup'
from /usr/lib/ruby/gems/1.8/gems/
merb-core-1.1.3/lib/merb-core/ server.rb:42:in `start'
from /usr/lib/ruby/gems/1.8/gems/
merb-core-1.1.3/lib/merb-core. rb:165:in `start'
from /usr/lib/ruby/gems/1.8/gems/
chef-server-api-0.10.2/bin/ chef-server:84
from /usr/sbin/chef-server:19:in `load'
from /usr/sbin/chef-server:19
#
------------------------------
------------------------------ ----
This message was sent using IMP, the Internet
Messaging Program.
|
Archive powered by MHonArc 2.6.16.