Hey guys, I''ve installed both facter and puppet, and made sure I have up-to-date versions of ruby (1.8.5), but this is the error I get when I try to start up, following the installation guide on the Reductive site: ************************** [root@kess-puppet ~]# bin/puppetmasterd --mkusers /***/***/***/lib/ruby/site_ruby/1.8/puppet/network/http_server/ webrick.rb:34: [BUG] Segmentation fault ruby 1.8.5 (2006-08-25) [x86_64-linux] Aborted ************************** Adding the --debug or --verbose flags doesn''t give me any additional information, unfortunately. Line 34 of webrick.rb is as follows: store = OpenSSL::X509::Store.new And I''m no pro with Ruby either, so I can''t immediately see where the error is (memory allocation I''m assuming - is that ''new'' a constructor?) Any help with this would be greatly appreciated. Daniel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
daniel@bae wrote:> Hey guys, > > I''ve installed both facter and puppet, and made sure I have up-to-date > >Version of Puppet, Facter? Regards, AJ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
facter -1.3.8 puppet - 0.24.4 Thanks, Daniel On Jun 10, 3:54 pm, AJ <a...@junglist.gen.nz> wrote:> daniel@bae wrote: > > Hey guys, > > > I''ve installed both facter and puppet, and made sure I have up-to-date > > Version of Puppet, Facter? > > Regards, > > AJ--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 daniel@bae wrote: | Hey guys, | | I''ve installed both facter and puppet, and made sure I have up-to-date | versions of ruby (1.8.5), but this is the error I get when I try to | start up, following the installation guide on the Reductive site: | | ************************** | [root@kess-puppet ~]# bin/puppetmasterd --mkusers | /***/***/***/lib/ruby/site_ruby/1.8/puppet/network/http_server/ | webrick.rb:34: [BUG] Segmentation fault | ruby 1.8.5 (2006-08-25) [x86_64-linux] | | Aborted | ************************** | | Adding the --debug or --verbose flags doesn''t give me any additional | information, unfortunately. Line 34 of webrick.rb is as follows: | | store = OpenSSL::X509::Store.new | | And I''m no pro with Ruby either, so I can''t immediately see where the | error is (memory allocation I''m assuming - is that ''new'' a | constructor?) Any help with this would be greatly appreciated. | That''s a Ruby bug somewhere. Platform? Do you have the Ruby libraries installed? Sounds like Ruby SSL error. Have you got the Ruby SSL library installed? Regards James Turnbull - -- Author of: * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linux (http://www.amazon.com/gp/product/1590594444/) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFITylJ9hTGvAxC30ARAlSUAJ9iF4dU1j+GNPt5w77jo23d/w/4hgCgnHb/ xGhPOS47Rs4td1/UJpQQpKg=JHke -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
RHEL 5.1 I don''t believe I have those other libraries installed - I remember trying a week ago, but getting tied up in ridiculous dependencies so I left it alone. I''ve been exploring the Puppet site to see if there''s an update of webrick.rb to see if there''s a version that would fix this, but none of the tickets listed appear to be dealing with this problem. Where''s the RubySSL library? Included in ruby-libs? Thanks, Daniel On Jun 10, 6:24 pm, James Turnbull <ja...@lovedthanlost.net> wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > daniel@bae wrote: > > | Hey guys, > | > | I''ve installed both facter and puppet, and made sure I have up-to-date > | versions of ruby (1.8.5), but this is the error I get when I try to > | start up, following the installation guide on the Reductive site: > | > | ************************** > | [root@kess-puppet ~]# bin/puppetmasterd --mkusers > | /***/***/***/lib/ruby/site_ruby/1.8/puppet/network/http_server/ > | webrick.rb:34: [BUG] Segmentation fault > | ruby 1.8.5 (2006-08-25) [x86_64-linux] > | > | Aborted > | ************************** > | > | Adding the --debug or --verbose flags doesn''t give me any additional > | information, unfortunately. Line 34 of webrick.rb is as follows: > | > | store = OpenSSL::X509::Store.new > | > | And I''m no pro with Ruby either, so I can''t immediately see where the > | error is (memory allocation I''m assuming - is that ''new'' a > | constructor?) Any help with this would be greatly appreciated. > | > > That''s a Ruby bug somewhere. Platform? Do you have the Ruby libraries > installed? Sounds like Ruby SSL error. Have you got the Ruby SSL > library installed? > > Regards > > James Turnbull > > - -- > Author of: > * Pulling Strings with Puppet > (http://www.amazon.com/gp/product/1590599780/) > * Pro Nagios 2.0 > (http://www.amazon.com/gp/product/1590596099/) > * Hardening Linux > (http://www.amazon.com/gp/product/1590594444/) > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org > > iD8DBQFITylJ9hTGvAxC30ARAlSUAJ9iF4dU1j+GNPt5w77jo23d/w/4hgCgnHb/ > xGhPOS47Rs4td1/UJpQQpKg> =JHke > -----END PGP SIGNATURE-------~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Following up my own thread... I have installed and run puppet 0.24.4 and facter 1.3.8 successfully on a RHEL 4.5 machine without encountering any of the aforementioned problems with ruby or the segfault. This is leading me to believe that there''s an as of yet unresolved bug dealing with RHEL5.1- as far as I can tell, something to do with SSL certification...? Same error occurs if I try to run puppetmasterd after installing an earlier version of puppet (0.24.0) on the same platform. I''d appreciate any feedback, especially from anyone who''s gotten puppet up and running on a RHEL5.1 machine. Thanks, Daniel On Jun 11, 10:12 am, "daniel@bae" <danielkes...@gmail.com> wrote:> RHEL 5.1 > > I don''t believe I have those other libraries installed - I remember > trying a week ago, but getting tied up in ridiculous dependencies so I > left it alone. I''ve been exploring the Puppet site to see if there''s > an update of webrick.rb to see if there''s a version that would fix > this, but none of the tickets listed appear to be dealing with this > problem. Where''s the RubySSL library? Included in ruby-libs? > > Thanks, > Daniel > > On Jun 10, 6:24 pm, James Turnbull <ja...@lovedthanlost.net> wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > daniel@bae wrote: > > > | Hey guys, > > | > > | I''ve installed both facter and puppet, and made sure I have up-to-date > > | versions of ruby (1.8.5), but this is the error I get when I try to > > | start up, following the installation guide on the Reductive site: > > | > > | ************************** > > | [root@kess-puppet ~]# bin/puppetmasterd --mkusers > > | /***/***/***/lib/ruby/site_ruby/1.8/puppet/network/http_server/ > > | webrick.rb:34: [BUG] Segmentation fault > > | ruby 1.8.5 (2006-08-25) [x86_64-linux] > > | > > | Aborted > > | ************************** > > | > > | Adding the --debug or --verbose flags doesn''t give me any additional > > | information, unfortunately. Line 34 of webrick.rb is as follows: > > | > > | store = OpenSSL::X509::Store.new > > | > > | And I''m no pro with Ruby either, so I can''t immediately see where the > > | error is (memory allocation I''m assuming - is that ''new'' a > > | constructor?) Any help with this would be greatly appreciated. > > | > > > That''s a Ruby bug somewhere. Platform? Do you have the Ruby libraries > > installed? Sounds like Ruby SSL error. Have you got the Ruby SSL > > library installed? > > > Regards > > > James Turnbull > > > - -- > > Author of: > > * Pulling Strings with Puppet > > (http://www.amazon.com/gp/product/1590599780/) > > * Pro Nagios 2.0 > > (http://www.amazon.com/gp/product/1590596099/) > > * Hardening Linux > > (http://www.amazon.com/gp/product/1590594444/) > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.7 (MingW32) > > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org > > > iD8DBQFITylJ9hTGvAxC30ARAlSUAJ9iF4dU1j+GNPt5w77jo23d/w/4hgCgnHb/ > > xGhPOS47Rs4td1/UJpQQpKg> > =JHke > > -----END PGP SIGNATURE-------~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
The segfaults are, not surprisingly, very difficult to track down. They''re nearly always heisenbugs -- you can only reproduce them if you''re not trying to find them. Basically, all bets are off with them, unfortunately. If you suffer from it, the only real solution is to use a different compile or a different version. I wish I had a better story, but I just don''t. On Jun 17, 2008, at 1:07 PM, daniel@bae wrote:> > Following up my own thread... I have installed and run puppet 0.24.4 > and facter 1.3.8 successfully on a RHEL 4.5 machine without > encountering any of the aforementioned problems with ruby or the > segfault. This is leading me to believe that there''s an as of yet > unresolved bug dealing with RHEL5.1- as far as I can tell, something > to do with SSL certification...? Same error occurs if I try to run > puppetmasterd after installing an earlier version of puppet (0.24.0) > on the same platform. I''d appreciate any feedback, especially from > anyone who''s gotten puppet up and running on a RHEL5.1 machine. > > Thanks, > Daniel > > On Jun 11, 10:12 am, "daniel@bae" <danielkes...@gmail.com> wrote: >> RHEL 5.1 >> >> I don''t believe I have those other libraries installed - I remember >> trying a week ago, but getting tied up in ridiculous dependencies >> so I >> left it alone. I''ve been exploring the Puppet site to see if there''s >> an update of webrick.rb to see if there''s a version that would fix >> this, but none of the tickets listed appear to be dealing with this >> problem. Where''s the RubySSL library? Included in ruby-libs? >> >> Thanks, >> Daniel >> >> On Jun 10, 6:24 pm, James Turnbull <ja...@lovedthanlost.net> wrote: >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >> >>> daniel@bae wrote: >> >>> | Hey guys, >>> | >>> | I''ve installed both facter and puppet, and made sure I have up- >>> to-date >>> | versions of ruby (1.8.5), but this is the error I get when I try >>> to >>> | start up, following the installation guide on the Reductive site: >>> | >>> | ************************** >>> | [root@kess-puppet ~]# bin/puppetmasterd --mkusers >>> | /***/***/***/lib/ruby/site_ruby/1.8/puppet/network/http_server/ >>> | webrick.rb:34: [BUG] Segmentation fault >>> | ruby 1.8.5 (2006-08-25) [x86_64-linux] >>> | >>> | Aborted >>> | ************************** >>> | >>> | Adding the --debug or --verbose flags doesn''t give me any >>> additional >>> | information, unfortunately. Line 34 of webrick.rb is as follows: >>> | >>> | store = OpenSSL::X509::Store.new >>> | >>> | And I''m no pro with Ruby either, so I can''t immediately see >>> where the >>> | error is (memory allocation I''m assuming - is that ''new'' a >>> | constructor?) Any help with this would be greatly appreciated. >>> | >> >>> That''s a Ruby bug somewhere. Platform? Do you have the Ruby >>> libraries >>> installed? Sounds like Ruby SSL error. Have you got the Ruby SSL >>> library installed? >> >>> Regards >> >>> James Turnbull >> >>> - -- >>> Author of: >>> * Pulling Strings with Puppet >>> (http://www.amazon.com/gp/product/1590599780/) >>> * Pro Nagios 2.0 >>> (http://www.amazon.com/gp/product/1590596099/) >>> * Hardening Linux >>> (http://www.amazon.com/gp/product/1590594444/) >>> -----BEGIN PGP SIGNATURE----- >>> Version: GnuPG v1.4.7 (MingW32) >>> Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org >> >>> iD8DBQFITylJ9hTGvAxC30ARAlSUAJ9iF4dU1j+GNPt5w77jo23d/w/4hgCgnHb/ >>> xGhPOS47Rs4td1/UJpQQpKg>>> =JHke >>> -----END PGP SIGNATURE----- > >-- Nonreciprocal Laws of Expectations: Negative expectations yield negative results. Positive expectations yield negative results. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Well, I''ve found one fix. Going off the assumption that it was a bug internal to Ruby, I got the latest version of Ruby (1.8.7), and recompiled from source using the openssl-devel rpm (from http://mirror.centos.org/centos/5/os/x86_64/CentOS/) as well. This appears to have fixed the problem - at least for the time being. Thanks guys for your input. Daniel On Jun 17, 2:07 pm, Luke Kanies <l...@madstop.com> wrote:> The segfaults are, not surprisingly, very difficult to track down. > They''re nearly always heisenbugs -- you can only reproduce them if > you''re not trying to find them. > > Basically, all bets are off with them, unfortunately. If you suffer > from it, the only real solution is to use a different compile or a > different version. > > I wish I had a better story, but I just don''t. > > On Jun 17, 2008, at 1:07 PM, daniel@bae wrote: > > > > > > > Following up my own thread... I have installed and run puppet 0.24.4 > > and facter 1.3.8 successfully on a RHEL 4.5 machine without > > encountering any of the aforementioned problems with ruby or the > >segfault. This is leading me to believe that there''s an as of yet > > unresolved bug dealing with RHEL5.1- as far as I can tell, something > > to do with SSL certification...? Same error occurs if I try to run > > puppetmasterd after installing an earlier version of puppet (0.24.0) > > on the same platform. I''d appreciate any feedback, especially from > > anyone who''s gotten puppet up and running on a RHEL5.1 machine. > > > Thanks, > > Daniel > > > On Jun 11, 10:12 am, "daniel@bae" <danielkes...@gmail.com> wrote: > >> RHEL 5.1 > > >> I don''t believe I have those other libraries installed - I remember > >> trying a week ago, but getting tied up in ridiculous dependencies > >> so I > >> left it alone. I''ve been exploring the Puppet site to see if there''s > >> an update of webrick.rb to see if there''s a version that would fix > >> this, but none of the tickets listed appear to be dealing with this > >> problem. Where''s the RubySSL library? Included in ruby-libs? > > >> Thanks, > >> Daniel > > >> On Jun 10, 6:24 pm, James Turnbull <ja...@lovedthanlost.net> wrote: > > >>> -----BEGIN PGP SIGNED MESSAGE----- > >>> Hash: SHA1 > > >>> daniel@bae wrote: > > >>> | Hey guys, > >>> | > >>> | I''ve installed both facter and puppet, and made sure I have up- > >>> to-date > >>> | versions of ruby (1.8.5), but this is the error I get when I try > >>> to > >>> | start up, following the installation guide on the Reductive site: > >>> | > >>> | ************************** > >>> | [root@kess-puppet ~]# bin/puppetmasterd --mkusers > >>> | /***/***/***/lib/ruby/site_ruby/1.8/puppet/network/http_server/ > >>> | webrick.rb:34: [BUG] Segmentation fault > >>> | ruby 1.8.5 (2006-08-25) [x86_64-linux] > >>> | > >>> | Aborted > >>> | ************************** > >>> | > >>> | Adding the --debug or --verbose flags doesn''t give me any > >>> additional > >>> | information, unfortunately. Line 34 of webrick.rb is as follows: > >>> | > >>> | store = OpenSSL::X509::Store.new > >>> | > >>> | And I''m no pro with Ruby either, so I can''t immediately see > >>> where the > >>> | error is (memory allocation I''m assuming - is that ''new'' a > >>> | constructor?) Any help with this would be greatly appreciated. > >>> | > > >>> That''s a Ruby bug somewhere. Platform? Do you have the Ruby > >>> libraries > >>> installed? Sounds like Ruby SSL error. Have you got the Ruby SSL > >>> library installed? > > >>> Regards > > >>> James Turnbull > > >>> - -- > >>> Author of: > >>> * Pulling Strings with Puppet > >>> (http://www.amazon.com/gp/product/1590599780/) > >>> * Pro Nagios 2.0 > >>> (http://www.amazon.com/gp/product/1590596099/) > >>> * Hardening Linux > >>> (http://www.amazon.com/gp/product/1590594444/) > >>> -----BEGIN PGP SIGNATURE----- > >>> Version: GnuPG v1.4.7 (MingW32) > >>> Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org > > >>> iD8DBQFITylJ9hTGvAxC30ARAlSUAJ9iF4dU1j+GNPt5w77jo23d/w/4hgCgnHb/ > >>> xGhPOS47Rs4td1/UJpQQpKg> >>> =JHke > >>> -----END PGP SIGNATURE----- > > -- > Nonreciprocal Laws of Expectations: > Negative expectations yield negative results. Positive expectations > yield negative results. > --------------------------------------------------------------------- > Luke Kanies |http://reductivelabs.com|http://madstop.com--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Thu, Jun 19, 2008 at 9:51 AM, daniel@bae <danielkesser@gmail.com> wrote:> > Well, I''ve found one fix. Going off the assumption that it was a bug > internal to Ruby, I got the latest version of Ruby (1.8.7), and > recompiled from source using the openssl-devel rpm (from > http://mirror.centos.org/centos/5/os/x86_64/CentOS/) as well. This > appears to have fixed the problem - at least for the time being. > Thanks guys for your input. >Your running this on a 64bit machine. That is a useful piece of information. I have puppet running with out a hitch on the 32 bit version. I suspect then that this is going ot be either a bug in the Centos 64 bit built or the upstream RHEL build of Ruby. Evan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---