I''m trying to run puppetmasterd the first time with --mkusers. It fails with the following error message: 001 # /usr/bin/puppetmasterd --mkusers Could not configure for running; got 1 failure(s) Adding --verbose and --debug does nothing to improve the output. How do I begin to debug this? --~--~---------~--~----~------------~-------~--~----~ 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 May 5, 2008, at 3:06 PM, Jeff wrote:> I''m trying to run puppetmasterd the first time with --mkusers. It > fails with the following error message: > > 001 # /usr/bin/puppetmasterd --mkusers > Could not configure for running; got 1 failure(s) > > Adding --verbose and --debug does nothing to improve the output. How > do I begin to debug this?Huh. Maybe add --trace? That''s weird; you should always get some kind of output, at least with --debug. -- It is absurd to divide people into good and bad. People are either charming or tedious. -- Oscar Wilde --------------------------------------------------------------------- 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 May 5, 5:08 pm, Luke Kanies <l...@madstop.com> wrote:> On May 5, 2008, at 3:06 PM, Jeff wrote: > > > I''m trying to run puppetmasterd the first time with --mkusers. It > > fails with the following error message: > > > 001 # /usr/bin/puppetmasterd --mkusers > > Could not configure for running; got 1 failure(s) > > > Adding --verbose and --debug does nothing to improve the output. How > > do I begin to debug this? > > Huh. Maybe add --trace? > > That''s weird; you should always get some kind of output, at least with > --debug. >I added --trace but it''s not very enlightening: /usr/lib/ruby/site_ruby/1.8/puppet/type/file/ensure.rb:66:in `set_directory'' /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:164:in `send'' /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:164:in `call_valuemethod'' /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:350:in `set'' /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:422:in `sync'' /usr/lib/ruby/site_ruby/1.8/puppet/type/file/ensure.rb:175:in `sync'' /usr/lib/ruby/site_ruby/1.8/puppet/propertychange.rb:81:in `go'' /usr/lib/ruby/site_ruby/1.8/puppet/propertychange.rb:109:in `forward'' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:117:in `apply_changes'' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:109:in `collect'' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:109:in `apply_changes'' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:81:in `apply'' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:238:in `eval_resource'' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:445:in `thinmark'' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'' /usr/lib/ruby/1.8/benchmark.rb:307:in `realtime'' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:444:in `thinmark'' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:237:in `eval_resource'' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:309:in `evaluate'' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:445:in `thinmark'' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'' /usr/lib/ruby/1.8/benchmark.rb:307:in `realtime'' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:444:in `thinmark'' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:308:in `evaluate'' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:302:in `collect'' /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:302:in `evaluate'' /usr/lib/ruby/site_ruby/1.8/puppet/node/catalog.rb:118:in `apply'' /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:675:in `use'' /usr/lib/ruby/1.8/sync.rb:229:in `synchronize'' /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:655:in `use'' /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/filebucket.rb:67:in `initialize'' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_server/webrick.rb: 140:in `new'' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_server/webrick.rb: 140:in `setup_handlers'' /usr/bin/puppetmasterd:236:in `collect'' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_server/webrick.rb: 135:in `each'' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_server/webrick.rb: 135:in `collect'' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_server/webrick.rb: 135:in `setup_handlers'' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_server/webrick.rb: 80:in `initialize'' /usr/bin/puppetmasterd:237:in `new'' /usr/bin/puppetmasterd:237 /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:677:in `use'' /usr/lib/ruby/site_ruby/1.8/puppet/node/catalog.rb:130:in `apply'' /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:675:in `use'' /usr/lib/ruby/1.8/sync.rb:229:in `synchronize'' /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:655:in `use'' /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/filebucket.rb:67:in `initialize'' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_server/webrick.rb: 140:in `new'' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_server/webrick.rb: 140:in `setup_handlers'' /usr/bin/puppetmasterd:236:in `collect'' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_server/webrick.rb: 135:in `each'' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_server/webrick.rb: 135:in `collect'' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_server/webrick.rb: 135:in `setup_handlers'' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_server/webrick.rb: 80:in `initialize'' /usr/bin/puppetmasterd:237:in `new'' /usr/bin/puppetmasterd:237 Could not configure for running; got 1 failure(s) --~--~---------~--~----~------------~-------~--~----~ 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 May 6, 2008, at 7:26 AM, Jeff wrote:> On May 5, 5:08 pm, Luke Kanies <l...@madstop.com> wrote: >> On May 5, 2008, at 3:06 PM, Jeff wrote: >> >>> I''m trying to run puppetmasterd the first time with --mkusers. It >>> fails with the following error message: >> >>> 001 # /usr/bin/puppetmasterd --mkusers >>> Could not configure for running; got 1 failure(s) >> >>> Adding --verbose and --debug does nothing to improve the output. How >>> do I begin to debug this? >> >> Huh. Maybe add --trace? >> >> That''s weird; you should always get some kind of output, at least >> with >> --debug. >> > > I added --trace but it''s not very enlightening: > > /usr/lib/ruby/site_ruby/1.8/puppet/type/file/ensure.rb:66:in > `set_directory'' > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:164:in `send'' > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:164:in > `call_valuemethod''Huh. It''s trying and failing to create a directory. Can you file this as a bug, with the title being something about ''insufficient error information''? Puppet normally produces sufficient information, but this seems to happen sometimes where no info is produced, and it needs to be tracked down. -- The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt. -- Bertrand Russell --------------------------------------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
Luke Kanies wrote:> Huh. It''s trying and failing to create a directory. > > Can you file this as a bug, with the title being something about > ''insufficient error information''? Puppet normally produces sufficient > information, but this seems to happen sometimes where no info is > produced, and it needs to be tracked down. > >Jeff, you might also consider using strace to help determine what is going on. Assuming you''re on linux but similar system-call tracing functions are available elsewhere such as ktrace for FreeBSD. e.g. strace puppetmasterd --mkusers -- Mark Foster - Sr. Systems Engineer - BitPusher, LLC We push your bits so you don''t have to! http://www.bitpusher.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 May 6, 11:55 am, Mark Foster <mfos...@bitpusher.com> wrote:> Luke Kanies wrote: > > Huh. It''s trying and failing to create a directory. > > > Can you file this as a bug, with the title being something about > > ''insufficient error information''? Puppet normally produces sufficient > > information, but this seems to happen sometimes where no info is > > produced, and it needs to be tracked down. > > Jeff, you might also consider using strace to help determine what is > going on.I found one problem. It''s trying to open socket.so but it can''t be found: /usr/lib/ruby/site_ruby/1.8/socket.so: No such file or directory On this system, that file is here: 001 # find /usr/lib/ruby/ -name socket.so /usr/lib/ruby/1.8/i386-linux/socket.so --~--~---------~--~----~------------~-------~--~----~ 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 May 6, 11:55 am, Mark Foster <mfos...@bitpusher.com> wrote:> Luke Kanies wrote: > > Huh. It''s trying and failing to create a directory. > > > Can you file this as a bug, with the title being something about > > ''insufficient error information''? Puppet normally produces sufficient > > information, but this seems to happen sometimes where no info is > > produced, and it needs to be tracked down. > > Jeff, you might also consider using strace to help determine what is > going on. Assuming you''re on linux but similar system-call tracing > functions are available elsewhere such as ktrace for FreeBSD. > e.g. > strace puppetmasterd --mkusersHere''s a more complete trace: stat64("/usr/lib/ruby/site_ruby/1.8/openssl/x509.rb", 0xbfafc96c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/site_ruby/1.8/openssl/x509.so", 0xbfafc96c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/site_ruby/1.8/i386-linux/openssl/x509.rb", 0xbfafc96c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/site_ruby/1.8/i386-linux/openssl/x509.so", 0xbfafc96c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/site_ruby/openssl/x509.rb", 0xbfafc96c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/site_ruby/openssl/x509.so", 0xbfafc96c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/1.8/openssl/x509.rb", 0xbfafc96c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/1.8/openssl/x509.so", 0xbfafc96c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/1.8/i386-linux/openssl/x509.rb", 0xbfafc96c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/1.8/i386-linux/openssl/x509.so", 0xbfafc96c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/openssl/x509.rb", 0xbfafc96c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/openssl/x509.so", 0xbfafc96c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/1.8/openssl/x509.rb", {st_mode=S_IFREG|0644, st_size=4463, ...}) = 0 open("/usr/lib/ruby/1.8/openssl/x509.rb", O_RDONLY|O_LARGEFILE) = 3 close(3) = 0 stat64("/usr/lib/ruby/site_ruby/1.8/openssl/x509.rb", 0xbfafc97c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/site_ruby/1.8/i386-linux/openssl/x509.rb", 0xbfafc97c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/site_ruby/openssl/x509.rb", 0xbfafc97c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/1.8/openssl/x509.rb", 0xbfafc97c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/1.8/i386-linux/openssl/x509.rb", 0xbfafc97c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/openssl/x509.rb", 0xbfafc97c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/1.8/openssl/x509.rb", {st_mode=S_IFREG|0644, st_size=4463, ...}) = 0 open("/usr/lib/ruby/1.8/openssl/x509.rb", O_RDONLY|O_LARGEFILE) = 3 close(3) = 0 open("/usr/lib/ruby/1.8/openssl/x509.rb", O_RDONLY|O_LARGEFILE) = 3 close(3) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 open("/usr/lib/ruby/1.8/openssl/x509.rb", O_RDONLY|O_LARGEFILE) = 3 close(3) = 0 open("/usr/lib/ruby/1.8/openssl/x509.rb", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=4463, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7afd000 read(3, "=begin\n= $RCSfile: x509.rb,v $ -"..., 4096) = 4096 read(3, "TYPE_TEMPLATE)\n ary = O"..., 4096) = 367 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7afd000, 4096) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 stat64("/usr/lib/ruby/site_ruby/1.8/openssl.rb", 0xbfafbf3c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/site_ruby/1.8/openssl.so", 0xbfafbf3c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/site_ruby/1.8/i386-linux/openssl.rb", 0xbfafbf3c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/site_ruby/1.8/i386-linux/openssl.so", 0xbfafbf3c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/site_ruby/openssl.rb", 0xbfafbf3c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/site_ruby/openssl.so", 0xbfafbf3c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/1.8/openssl.rb", 0xbfafbf3c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/1.8/openssl.so", 0xbfafbf3c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/1.8/i386-linux/openssl.rb", 0xbfafbf3c) -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/1.8/i386-linux/openssl.so", 0xbfafbf3c) -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/openssl.rb", 0xbfafbf3c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/openssl.so", 0xbfafbf3c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/1.8/openssl.rb", {st_mode=S_IFREG|0644, st_size=526, ...}) = 0 open("/usr/lib/ruby/1.8/openssl.rb", O_RDONLY|O_LARGEFILE) = 3 close(3) = 0 stat64("/usr/lib/ruby/site_ruby/1.8/openssl.rb", 0xbfafbf4c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/site_ruby/1.8/i386-linux/openssl.rb", 0xbfafbf4c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/site_ruby/openssl.rb", 0xbfafbf4c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/1.8/openssl.rb", 0xbfafbf4c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/1.8/i386-linux/openssl.rb", 0xbfafbf4c) -1 ENOENT (No such file or directory) stat64("/usr/lib/site_ruby/openssl.rb", 0xbfafbf4c) = -1 ENOENT (No such file or directory) stat64("/usr/lib/ruby/1.8/openssl.rb", {st_mode=S_IFREG|0644, st_size=526, ...}) = 0 open("/usr/lib/ruby/1.8/openssl.rb", O_RDONLY|O_LARGEFILE) = 3 close(3) I installed ruby on RHEL with yum. Is this a RHEL bug? I don''t understand why ruby can''t find it''s own shared objects. --~--~---------~--~----~------------~-------~--~----~ 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 May 6, 2008, at 3:37 PM, Jeff wrote:> > I installed ruby on RHEL with yum. Is this a RHEL bug? I don''t > understand why ruby can''t find it''s own shared objects.Those are unrelated to the problems you''re having. Ruby (and pretty much everything else) has a search path for libraries, and that''s it just searching through the path. You''re notice for each file it can''t find, it eventually finds it, just not in the first place it looks. You''re looking for failures creating something in /etc/puppet, /var/ lib/puppet, or something similar; nothing in /usr/lib/ruby is going to be related to your problem. -- I''m worried about Bart. Today, he''s sucking people''s blood, tommorrow he might be smoking. -Marge Simpson --------------------------------------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
Jeff wrote:> On May 6, 11:55 am, Mark Foster <mfos...@bitpusher.com> wrote: > strace puppetmasterd --mkusers > > > Here''s a more complete trace: > > stat64("/usr/lib/ruby/site_ruby/1.8/openssl/x509.rb", 0xbfafc96c) = -1 > ENOENT (No such file or directory) > stat64("/usr/lib/ruby/site_ruby/1.8/openssl/x509.so", 0xbfafc96c) = -1 > ENOENT (No such file or directory) > stat64("/usr/lib/ruby/site_ruby/1.8/i386-linux/openssl/x509.rb", > 0xbfafc96c) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/ruby/site_ruby/1.8/i386-linux/openssl/x509.so", > 0xbfafc96c) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/ruby/site_ruby/openssl/x509.rb", 0xbfafc96c) = -1 > ENOENT (No such file or directory) > stat64("/usr/lib/ruby/site_ruby/openssl/x509.so", 0xbfafc96c) = -1 > ENOENT (No such file or directory) > stat64("/usr/lib/site_ruby/1.8/openssl/x509.rb", 0xbfafc96c) = -1 > ENOENT (No such file or directory) > stat64("/usr/lib/site_ruby/1.8/openssl/x509.so", 0xbfafc96c) = -1 > ENOENT (No such file or directory) > stat64("/usr/lib/site_ruby/1.8/i386-linux/openssl/x509.rb", > 0xbfafc96c) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/site_ruby/1.8/i386-linux/openssl/x509.so", > 0xbfafc96c) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/site_ruby/openssl/x509.rb", 0xbfafc96c) = -1 ENOENT > (No such file or directory) > stat64("/usr/lib/site_ruby/openssl/x509.so", 0xbfafc96c) = -1 ENOENT > (No such file or directory) > stat64("/usr/lib/ruby/1.8/openssl/x509.rb", {st_mode=S_IFREG|0644, > st_size=4463, ...}) = 0 > open("/usr/lib/ruby/1.8/openssl/x509.rb", O_RDONLY|O_LARGEFILE) = 3 > close(3) = 0 > stat64("/usr/lib/ruby/site_ruby/1.8/openssl/x509.rb", 0xbfafc97c) = -1 > ENOENT (No such file or directory) > stat64("/usr/lib/ruby/site_ruby/1.8/i386-linux/openssl/x509.rb", > 0xbfafc97c) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/ruby/site_ruby/openssl/x509.rb", 0xbfafc97c) = -1 > ENOENT (No such file or directory) > stat64("/usr/lib/site_ruby/1.8/openssl/x509.rb", 0xbfafc97c) = -1 > ENOENT (No such file or directory) > stat64("/usr/lib/site_ruby/1.8/i386-linux/openssl/x509.rb", > 0xbfafc97c) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/site_ruby/openssl/x509.rb", 0xbfafc97c) = -1 ENOENT > (No such file or directory) > stat64("/usr/lib/ruby/1.8/openssl/x509.rb", {st_mode=S_IFREG|0644, > st_size=4463, ...}) = 0 > open("/usr/lib/ruby/1.8/openssl/x509.rb", O_RDONLY|O_LARGEFILE) = 3 > close(3) = 0 > open("/usr/lib/ruby/1.8/openssl/x509.rb", O_RDONLY|O_LARGEFILE) = 3 > close(3) = 0 > sigprocmask(SIG_BLOCK, NULL, []) = 0 > open("/usr/lib/ruby/1.8/openssl/x509.rb", O_RDONLY|O_LARGEFILE) = 3 > close(3) = 0 > open("/usr/lib/ruby/1.8/openssl/x509.rb", O_RDONLY|O_LARGEFILE) = 3 >(1)> fstat64(3, {st_mode=S_IFREG|0644, st_size=4463, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0xb7afd000 > read(3, "=begin\n= $RCSfile: x509.rb,v $ -"..., 4096) = 4096 > read(3, "TYPE_TEMPLATE)\n ary = O"..., 4096) = 367 > read(3, "", 4096) = 0 > close(3) = 0 > munmap(0xb7afd000, 4096) = 0 > sigprocmask(SIG_BLOCK, NULL, []) = 0 > stat64("/usr/lib/ruby/site_ruby/1.8/openssl.rb", 0xbfafbf3c) = -1 > ENOENT (No such file or directory) > stat64("/usr/lib/ruby/site_ruby/1.8/openssl.so", 0xbfafbf3c) = -1 > ENOENT (No such file or directory) > stat64("/usr/lib/ruby/site_ruby/1.8/i386-linux/openssl.rb", > 0xbfafbf3c) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/ruby/site_ruby/1.8/i386-linux/openssl.so", > 0xbfafbf3c) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/ruby/site_ruby/openssl.rb", 0xbfafbf3c) = -1 ENOENT > (No such file or directory) > stat64("/usr/lib/ruby/site_ruby/openssl.so", 0xbfafbf3c) = -1 ENOENT > (No such file or directory) > stat64("/usr/lib/site_ruby/1.8/openssl.rb", 0xbfafbf3c) = -1 ENOENT > (No such file or directory) > stat64("/usr/lib/site_ruby/1.8/openssl.so", 0xbfafbf3c) = -1 ENOENT > (No such file or directory) > stat64("/usr/lib/site_ruby/1.8/i386-linux/openssl.rb", 0xbfafbf3c) > -1 ENOENT (No such file or directory) > stat64("/usr/lib/site_ruby/1.8/i386-linux/openssl.so", 0xbfafbf3c) > -1 ENOENT (No such file or directory) > stat64("/usr/lib/site_ruby/openssl.rb", 0xbfafbf3c) = -1 ENOENT (No > such file or directory) > stat64("/usr/lib/site_ruby/openssl.so", 0xbfafbf3c) = -1 ENOENT (No > such file or directory) > stat64("/usr/lib/ruby/1.8/openssl.rb", {st_mode=S_IFREG|0644, > st_size=526, ...}) = 0 > open("/usr/lib/ruby/1.8/openssl.rb", O_RDONLY|O_LARGEFILE) = 3 > close(3) = 0 > stat64("/usr/lib/ruby/site_ruby/1.8/openssl.rb", 0xbfafbf4c) = -1 > ENOENT (No such file or directory) > stat64("/usr/lib/ruby/site_ruby/1.8/i386-linux/openssl.rb", > 0xbfafbf4c) = -1 ENOENT (No such file or directory) > stat64("/usr/lib/ruby/site_ruby/openssl.rb", 0xbfafbf4c) = -1 ENOENT > (No such file or directory) > stat64("/usr/lib/site_ruby/1.8/openssl.rb", 0xbfafbf4c) = -1 ENOENT > (No such file or directory) > stat64("/usr/lib/site_ruby/1.8/i386-linux/openssl.rb", 0xbfafbf4c) > -1 ENOENT (No such file or directory) > stat64("/usr/lib/site_ruby/openssl.rb", 0xbfafbf4c) = -1 ENOENT (No > such file or directory) > stat64("/usr/lib/ruby/1.8/openssl.rb", {st_mode=S_IFREG|0644, > st_size=526, ...}) = 0 > open("/usr/lib/ruby/1.8/openssl.rb", O_RDONLY|O_LARGEFILE) = 3 >(2)> close(3) > > > I installed ruby on RHEL with yum. Is this a RHEL bug? I don''t > understand why ruby can''t find it''s own shared objects. >But it does in the end at (1) and (2) above. Fairly normal behavior from my experience. So these aren''t the errors you''re looking for. Try uploading the full strace to http://pastebin.org/ Isn''t this fun? (snicker) -- Mark Foster - Sr. Systems Engineer - BitPusher, LLC We push your bits so you don''t have to! http://www.bitpusher.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 May 6, 4:46 pm, Mark Foster <mfos...@bitpusher.com> wrote:> Jeff wrote: > > > I installed ruby on RHEL with yum. Is this a RHEL bug? I don''t > > understand why ruby can''t find it''s own shared objects. > > But it does in the end at (1) and (2) above. Fairly normal behavior from > my experience. > So these aren''t the errors you''re looking for. > Try uploading the full strace tohttp://pastebin.org/ > Isn''t this fun? (snicker) >My bad. My judgment was prejudiced by wrong assumptions. Here''s the full trace: http://www.joedog.org/strace.txt Jeff --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
We reinstalled puppet with ruby gems and everything is fine. This means I can bug you guys about configurations and best practices now.... ;-) Thanks, Jeff --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Jeff wrote:> My bad. My judgment was prejudiced by wrong assumptions. > > Here''s the full trace: > > http://www.joedog.org/strace.txt >Just to close the loop on this, the interesting part of the trace : stat64("/usr/lib/ruby/site_ruby/1.8/i386-linux/puppet/provider/user", 0xbfc1ab58) = -1 ENOENT (No such file or directory) sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 stat64("/usr/lib/ruby/site_ruby/puppet/provider/user", 0xbfc1ab58) = -1 ENOENT (No such file or directory) sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 stat64("/usr/lib/site_ruby/1.8/puppet/provider/user", 0xbfc1ab58) = -1 ENOENT (No such file or directory) sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 stat64("/usr/lib/site_ruby/1.8/i386-linux/puppet/provider/user", 0xbfc1ab58) = -1 ENOENT (No such file or directory) sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 stat64("/usr/lib/site_ruby/puppet/provider/user", 0xbfc1ab58) = -1 ENOENT (No such file or directory) sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 stat64("/usr/lib/ruby/1.8/puppet/provider/user", 0xbfc1ab58) = -1 ENOENT (No such file or directory) sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 stat64("/usr/lib/ruby/1.8/i386-linux/puppet/provider/user", 0xbfc1ab58) = -1 ENOENT (No such file or directory) sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 stat64("./puppet/provider/user", 0xbfc1ab58) = -1 ENOENT (No such file or directory) sigprocmask(SIG_BLOCK, NULL, []) = 0 sigprocmask(SIG_BLOCK, NULL, []) = 0 stat64("/var/puppet/lib/puppet/provider/user", 0xbfc1ab58) = -1 ENOENT (No such file or directory) So puppetmasterd is/was looking for the user provider (which makes sense) and not finding it. -- Mark Foster - Sr. Systems Engineer - BitPusher, LLC We push your bits so you don''t have to! http://www.bitpusher.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 -~----------~----~----~----~------~----~------~--~---