[chef] Re: Re: bluepill error uninitialized constant Daemonization (NameError)


Chronological Thread 
  • From: Sachin Sagar Rai < >
  • To:
  • Subject: [chef] Re: Re: bluepill error uninitialized constant Daemonization (NameError)
  • Date: Fri, 17 Feb 2012 23:06:05 +0545

Yes, I logged in to the ec2 instance and installed the downgraded version as well.

But after installing it, when I try to run the bluepill service, it came out due to the error none of chef-server, chef-solr, chef-.... gems/binary is installed.

-------------------------------------------
@millisami
~ Sachin Sagar Rai
Ruby on Rails Developer
http://tfm.com.np
http://nepalonrails.tumblr.com
Sent with Sparrow

On Friday, February 17, 2012 at 10:10 PM, Joshua Timberman wrote:

Ohai,

On Thu, Feb 16, 2012 at 12:30 PM, Sachin Sagar Rai < "> > wrote:
I installed chef_server on ec2 ubuntu10.04 using rubygems n bluepill init
style.

After installing the packages, bluepill blows up.
The following is the debugg-ed log.


Google around and found one similar issue at bluepill's issue at GH.

Are these both problem is the same one?

Yes. The STDERR shows the NameError exception coming from the bluepill
gem itself. Did you try downgrading the daemons gem as suggested in
that issue on the bluepill gem?

DEBUG: Processing bluepill_service[chef-solr] on chef-server
INFO: Processing bluepill_service[chef-solr] action enable
(chef-server::rubygems-install line 240)
DEBUG: Checking status of service chef-solr
DEBUG: Executing /usr/bin/bluepill chef-solr status
DEBUG: ---- Begin output of /usr/bin/bluepill chef-solr status ----
DEBUG: STDOUT:
DEBUG: STDERR: /usr/lib/ruby/gems/1.8/gems/bluepill-0.0.55/lib/bluepill/process.rb:10:
uninitialized constant Daemonization (NameError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/gems/1.8/gems/bluepill-0.0.55/lib/bluepill.rb:24
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/gems/1.8/gems/bluepill-0.0.55/bin/bluepill:3
from /usr/bin/bluepill:19:in `load'
from /usr/bin/bluepill:19
DEBUG: ---- End output of /usr/bin/bluepill chef-solr status ----
DEBUG: Ran /usr/bin/bluepill chef-solr status returned 1

--
Opscode, Inc
Joshua Timberman, Technical Program Manager
IRC, Skype, Twitter, Github: jtimberman




Archive powered by MHonArc 2.6.16.

§