I too am having this issue. I've noticed that there are quite a few posts available on Google that seem to talk about this, but all of them recommend removing libraries which supposedly solve the problem. Not so in my case...
Initially I realized that I did have some i386 and i686 libraries installed. I removed all of them and I know have the following: ruby-devel-1.8.7.352-5.el5 ruby-libs-1.8.7.352-5.el5 ruby-1.8.7.352-5.el5 Running the command you recommend, I get the following output: 1.0.0 OpenSSL 0.9.8e-rhel5 01 Jul 2008 Class I'm using RVM on this server currently, and I've uninstalled and reinstalled Ruby, as well as deleted and reinstalled the gemset. ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux] Not sure what to do at this point, other than build another instance. I'm trying to use a specific version of Ruby (1.8.7-p249) that was "known to work" (at least until this point). It works on my local development workstation, so I guess I just need to keep plugging away to find out what's broken. This is clearly a Ruby issue; Nevertheless, thanks for any insight! --ant On Thursday, January 26, 2012 at 6:47 PM, Adrien Thebo wrote: > It's highly suspect that you have ruby-libs 1.8.5 and 1.8.7 installed. > Might want to see about removing 1.8.5. Also, what does ruby -r > openssl -e 'puts OpenSSL::VERSION' -e 'puts OpenSSL::OPENSSL_VERSION' > -e 'puts OpenSSL::Cipher.class' output? > > On Tue, Jan 24, 2012 at 12:11 PM, kgz <[email protected] > (mailto:[email protected])> wrote: > > Hi, > > > > I'm trying to install puppet as a client on a new machine. > > I received this weird error when trying to start up as /etc/init.d/ > > puppet start : > > /usr/lib/ruby/1.8/openssl/cipher.rb:22: Cipher is not a module > > (TypeError) > > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > > 36:in `gem_original_require' > > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > > 36:in `require' > > from /usr/lib/ruby/1.8/openssl.rb:20 > > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > > 36:in `gem_original_require' > > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > > 36:in `require' > > from /usr/lib/ruby/site_ruby/1.8/puppet/ssl.rb:3 > > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > > 36:in `gem_original_require' > > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > > 36:in `require' > > from /usr/lib/ruby/site_ruby/1.8/puppet.rb:155 > > from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:271:in > > `require' > > from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:271:in > > `initialize' > > from /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb: > > 60:in `new' > > from /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb: > > 60:in `execute' > > from /usr/bin/puppet:4 > > > > My Linux is 2.6.18-274.3.1.el5 #1 SMP Tue Sep 6 20:13:52 EDT 2011 > > x86_64 x86_64 x86_64 GNU/Linux > > which is a Centos 5.6 > > > > and the packages I installed using yum install are: > > ruby-libs-1.8.7.352-5.el5 > > ruby-libs-1.8.5-5.el5_4.8 > > rubygem-activesupport-2.1.1-2.el5 > > ruby-1.8.7.352-5.el5 > > ruby-augeas-0.4.1-1.el5 > > ruby-irb-1.8.7.352-5.el5 > > rubygems-1.8.10-1.el5 > > rubygem-activerecord-2.1.1-2.el5 > > ruby-shadow-1.4.1-7.el5 > > ruby-rdoc-1.8.7.352-5.el5 > > libselinux-ruby-1.33.4-5.7.el5 > > facter-1.6.3-1.el5 > > puppet-2.7.6-2.el5 > > puppet-server-2.7.6-2.el5 > > > > I even removed the /usr/lib/ruby before reinstalling but it doesn't > > work. Funny thing is , it worked for my puppet master and one of my > > clients, and repeated the same way for this machine, but I kept > > getting this "Cipher is not a module" error. Please point out what I'm > > missing... > > > > thanks, > > K > > > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Puppet Users" group. > > To post to this group, send email to [email protected] > > (mailto:[email protected]). > > To unsubscribe from this group, send email to > > [email protected] > > (mailto:[email protected]). > > For more options, visit this group at > > http://groups.google.com/group/puppet-users?hl=en. > > > > > > > -- > Adrien Thebo | Puppet Labs > pgp: 0x6F1C4519 pgp.mit.edu > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected] > (mailto:[email protected]). > To unsubscribe from this group, send email to > [email protected] > (mailto:[email protected]). > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
