Thanks so much for your help. I compiled and installed ruby with debug enabled. Version is ruby 1.8.7 (2009-12-24 patchlevel 248) [i386-freebsd7]
> Hmm, why does it say "reopening log files"? > Did you restart it or change puppet.conf? It was the cronjob that ran it just before I ran it manually with -- test. Most times it runs fine, but it's seems to hang at various places, very unstable. Anyhow, here's one output(nothing in the log this time) with --debug: # ruby /usr/local/sbin/puppetd --server puppet.kulturit.no --rundir / var/run/puppet --vardir /var/puppet --trace --test --debug debug: Failed to load library 'shadow' for feature 'libshadow' debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/ dscl does not exist debug: Puppet::Type::User::ProviderUseradd: file usermod does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist debug: Failed to load library 'selinux' for feature 'selinux' debug: Puppet::Type::File::ProviderMicrosoft_windows: feature microsoft_windows is missing debug: Failed to load library 'ldap' for feature 'ldap' debug: /File[/var/puppet/ssl/private_keys/kitbackup002.mid.dmz.pem]: Autorequiring File[/var/puppet/ssl/private_keys] debug: /File[/var/puppet/state]: Autorequiring File[/var/puppet] debug: /File[/var/puppet/ssl/certs]: Autorequiring File[/var/puppet/ ssl] debug: /File[/var/puppet/ssl/certs/kitbackup002.mid.dmz.pem]: Autorequiring File[/var/puppet/ssl/certs] debug: /File[/var/puppet/state/graphs]: Autorequiring File[/var/puppet/ state] debug: /File[/var/puppet/ssl/public_keys/kitbackup002.mid.dmz.pem]: Autorequiring File[/var/puppet/ssl/public_keys] debug: /File[/var/puppet/ssl/private_keys]: Autorequiring File[/var/ puppet/ssl] debug: /File[/var/puppet/state/state.yaml]: Autorequiring File[/var/ puppet/state] debug: /File[/var/puppet/lib]: Autorequiring File[/var/puppet] debug: /File[/var/puppet/client_data]: Autorequiring File[/var/puppet] debug: /File[/var/puppet/log]: Autorequiring File[/var/puppet] debug: /File[/var/puppet/client_yaml]: Autorequiring File[/var/puppet] debug: /File[/var/puppet/state/classes.txt]: Autorequiring File[/var/ puppet/state] debug: /File[/var/puppet/ssl/private]: Autorequiring File[/var/puppet/ ssl] debug: /File[/usr/local/etc/puppet/puppet.conf]: Autorequiring File[/ usr/local/etc/puppet] debug: /File[/var/puppet/facts]: Autorequiring File[/var/puppet] debug: /File[/var/puppet/ssl/certificate_requests]: Autorequiring File[/var/puppet/ssl] debug: /File[/var/puppet/ssl/certs/ca.pem]: Autorequiring File[/var/ puppet/ssl/certs] debug: /File[/var/puppet/clientbucket]: Autorequiring File[/var/ puppet] debug: /File[/var/puppet/ssl/crl.pem]: Autorequiring File[/var/puppet/ ssl] debug: /File[/var/run/puppet/agent.pid]: Autorequiring File[/var/run/ puppet] debug: /File[/var/puppet/ssl]: Autorequiring File[/var/puppet] debug: /File[/var/puppet/ssl/public_keys]: Autorequiring File[/var/ puppet/ssl] debug: Finishing transaction 348615280 debug: /File[/var/puppet/ssl/certs/ca.pem]: Autorequiring File[/var/ puppet/ssl/certs] debug: /File[/var/puppet/ssl/private]: Autorequiring File[/var/puppet/ ssl] debug: /File[/var/puppet/ssl]: Autorequiring File[/var/puppet] debug: /File[/var/puppet/ssl/private_keys]: Autorequiring File[/var/ puppet/ssl] debug: /File[/var/puppet/ssl/crl.pem]: Autorequiring File[/var/puppet/ ssl] debug: /File[/var/puppet/state]: Autorequiring File[/var/puppet] debug: /File[/var/puppet/ssl/certificate_requests]: Autorequiring File[/var/puppet/ssl] debug: /File[/var/puppet/ssl/private_keys/kitbackup002.mid.dmz.pem]: Autorequiring File[/var/puppet/ssl/private_keys] debug: /File[/var/puppet/log]: Autorequiring File[/var/puppet] debug: /File[/var/puppet/ssl/certs/kitbackup002.mid.dmz.pem]: Autorequiring File[/var/puppet/ssl/certs] debug: /File[/var/puppet/ssl/public_keys/kitbackup002.mid.dmz.pem]: Autorequiring File[/var/puppet/ssl/public_keys] debug: /File[/var/puppet/ssl/certs]: Autorequiring File[/var/puppet/ ssl] debug: /File[/var/puppet/ssl/public_keys]: Autorequiring File[/var/ puppet/ssl] debug: /File[/var/puppet/facts]: Autorequiring File[/var/puppet] debug: /File[/var/puppet/lib]: Autorequiring File[/var/puppet] debug: Finishing transaction 348227110 debug: Using cached certificate for ca debug: Using cached certificate for kitbackup002.mid.dmz debug: Finishing transaction 348040420 debug: Loaded state in 0.01 seconds debug: Using cached certificate for ca debug: Using cached certificate for kitbackup002.mid.dmz debug: Using cached certificate_revocation_list for ca debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml; using pson info: Caching catalog for kitbackup002.mid.dmz debug: Puppet::Type::Package::ProviderUp2date: file /usr/sbin/up2date- nox does not exist debug: Puppet::Type::Package::ProviderYum: file yum does not exist debug: Puppet::Type::Package::ProviderAptrpm: file apt-get does not exist debug: Puppet::Type::Package::ProviderApt: file /usr/bin/apt-get does not exist debug: Puppet::Type::Package::ProviderFink: file /sw/bin/fink does not exist debug: Puppet::Type::Package::ProviderNim: file /usr/sbin/nimclient does not exist debug: Puppet::Type::Package::ProviderSun: file /usr/bin/pkginfo does not exist debug: Puppet::Type::Package::ProviderDpkg: file /usr/bin/dpkg does not exist debug: Puppet::Type::Package::ProviderUrpmi: file urpmi does not exist debug: Puppet::Type::Package::ProviderZypper: file /usr/bin/zypper does not exist debug: Puppet::Type::Package::ProviderAptitude: file /usr/bin/aptitude does not exist debug: Puppet::Type::Package::ProviderRpm: file rpm does not exist debug: Puppet::Type::Package::ProviderAix: file /usr/bin/lslpp does not exist debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/eix does not exist debug: Puppet::Type::Package::ProviderPkg: file /usr/bin/pkg does not exist debug: Puppet::Type::Package::ProviderSunfreeware: file pkg-get does not exist debug: Puppet::Type::Package::ProviderHpux: file /usr/sbin/swlist does not exist debug: Puppet::Type::Package::ProviderRug: file /usr/bin/rug does not exist debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson >From gdb: GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Attaching to program: /usr/local/bin/ruby, process 3361 Reading symbols from /usr/local/lib/libruby18.so.18...done. Loaded symbols for /usr/local/lib/libruby18.so.18 Reading symbols from /usr/lib/librt.so.1...done. Loaded symbols for /usr/lib/librt.so.1 Reading symbols from /lib/libcrypt.so.4...done. Loaded symbols for /lib/libcrypt.so.4 Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libthr.so.3...done. [New Thread 0x28a79580 (LWP 100120)] [New Thread 0x28301150 (LWP 100149)] Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/ stringio.so...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/stringio.so Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/ syck.so...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/syck.so Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/ thread.so...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/thread.so Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/ etc.so...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/etc.so Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/ fcntl.so...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/fcntl.so Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/ syslog.so...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/syslog.so Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/ nkf.so...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/nkf.so Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/ strscan.so...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/strscan.so Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/ iconv.so...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/iconv.so Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/racc/ cparse.so...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/racc/ cparse.so Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/ openssl.so...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/openssl.so Reading symbols from /usr/lib/libssl.so.5...done. Loaded symbols for /usr/lib/libssl.so.5 Reading symbols from /lib/libcrypto.so.5...done. Loaded symbols for /lib/libcrypto.so.5 Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/ digest.so...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/digest.so Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/ socket.so...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/socket.so Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/digest/ md5.so...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/digest/md5.so Reading symbols from /usr/local/lib/ruby/1.8/i386-freebsd7/ zlib.so...done. Loaded symbols for /usr/local/lib/ruby/1.8/i386-freebsd7/zlib.so Reading symbols from /lib/libz.so.4...done. Loaded symbols for /lib/libz.so.4 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 [Switching to Thread 0x28a79580 (LWP 100120)] 0x281b81a7 in __error () from /lib/libthr.so.3 (gdb) set $ary = (int)backtrace(-1) (gdb) set $count = *($ary+8) (gdb) set $index = 0 (gdb) while $index < $count >x/1s *((int)rb_ary_entry($ary, $index)+12) >set $index = $index + 1 >end 0x29f020c0: "/usr/local/lib/ruby/1.8/timeout.rb:59:in `start'" 0x29f02100: "/usr/local/lib/ruby/1.8/timeout.rb:58:in `timeout'" 0x29f02140: "/usr/local/lib/ruby/1.8/timeout.rb:93:in `timeout'" 0x29f02180: "/usr/local/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'" 0x29f021c0: "/usr/local/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'" 0x29f02200: "/usr/local/lib/ruby/1.8/net/protocol.rb:126:in `readline'" 0x29f02240: "/usr/local/lib/ruby/1.8/net/http.rb:2024:in `read_status_line'" 0x29f02280: "/usr/local/lib/ruby/1.8/net/http.rb:2013:in `read_new'" 0x29f022c0: "/usr/local/lib/ruby/1.8/net/http.rb:1050:in `request'" 0x29f02300: "/usr/local/lib/ruby/1.8/net/http.rb:1037:in `request'" 0x29f02340: "/usr/local/lib/ruby/1.8/net/http.rb:543:in `start'" 0x29f02380: "/usr/local/lib/ruby/1.8/net/http.rb:1035:in `request'" 0x29f023c0: "/usr/local/lib/ruby/1.8/net/http.rb:772:in `get'" 0x29f03060: "/usr/local/lib/ruby/site_ruby/1.8/puppet/indirector/ rest.rb:71:in `find'" 0x29f04040: "/usr/local/lib/ruby/site_ruby/1.8/puppet/indirector/ indirection.rb:193:in `find'" 0x29f030b0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/ indirector.rb:50:in `find'" 0x29f040a0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/type/file/ source.rb:141:in `init_metadata'" 0x29f03100: "/usr/local/lib/ruby/site_ruby/1.8/puppet/type/file/ source.rb:139:in `each'" 0x29f04100: "/usr/local/lib/ruby/site_ruby/1.8/puppet/type/file/ source.rb:139:in `init_metadata'" 0x29f03150: "/usr/local/lib/ruby/site_ruby/1.8/puppet/util/ cacher.rb:106:in `send'" 0x29f031a0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/util/ cacher.rb:106:in `cached_value'" 0x29f02080: "/usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'" 0x29f031f0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/util/ cacher.rb:98:in `cached_value'" 0x29f03240: "/usr/local/lib/ruby/site_ruby/1.8/puppet/util/ cacher.rb:48:in `metadata'" 0x29f04160: "/usr/local/lib/ruby/site_ruby/1.8/puppet/type/file/ source.rb:99:in `copy_source_values'" 0x29f03290: "/usr/local/lib/ruby/site_ruby/1.8/puppet/type/ file.rb:632:in `retrieve'" 0x29f032e0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/type.rb: 695:in `retrieve_resource'" 0x29f03330: "/usr/local/lib/ruby/site_ruby/1.8/puppet/type.rb: 1853:in `to_trans'" 0x29f03380: "/usr/local/lib/ruby/site_ruby/1.8/puppet/type/ file.rb:701:in `to_trans'" 0x29f033d0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/type.rb: 1878:in `to_resource'" 0x29f03420: "/usr/local/lib/ruby/site_ruby/1.8/puppet/type.rb: 203:in `uniqueness_key'" 0x29f041c0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/resource/ catalog.rb:83:in `add_resource'" 0x29f03470: "/usr/local/lib/ruby/site_ruby/1.8/puppet/resource/ catalog.rb:72:in `each'" 0x29f04220: "/usr/local/lib/ruby/site_ruby/1.8/puppet/resource/ catalog.rb:72:in `add_resource'" 0x29f04280: "/usr/local/lib/ruby/site_ruby/1.8/puppet/resource/ catalog.rb:561:in `to_catalog'" 0x29f034c0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/resource/ catalog.rb:531:in `each'" 0x29f042e0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/resource/ catalog.rb:531:in `to_catalog'" 0x29f03510: "/usr/local/lib/ruby/site_ruby/1.8/puppet/resource/ catalog.rb:468:in `to_ral'" 0x29f03560: "/usr/local/lib/ruby/site_ruby/1.8/puppet/ configurer.rb:117:in `convert_catalog'" 0x29f04340: "/usr/local/lib/ruby/site_ruby/1.8/puppet/ configurer.rb:112:in `retrieve_catalog'" 0x29f035b0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/ configurer.rb:143:in `run'" 0x29f02400: "/usr/local/lib/ruby/site_ruby/1.8/puppet/agent.rb: 39" 0x29f03600: "/usr/local/lib/ruby/site_ruby/1.8/puppet/agent/ locker.rb:21:in `lock'" 0x29f02440: "/usr/local/lib/ruby/site_ruby/1.8/puppet/agent.rb: 39" 0x29f02480: "/usr/local/lib/ruby/1.8/sync.rb:230:in `synchronize'" 0x29f024c0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/agent.rb: 39" 0x29f03650: "/usr/local/lib/ruby/site_ruby/1.8/puppet/agent.rb: 101:in `with_client'" 0x29f02500: "/usr/local/lib/ruby/site_ruby/1.8/puppet/agent.rb: 37" 0x29f036a0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/ application.rb:171:in `call'" 0x29f036f0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/ application.rb:171:in `controlled_run'" 0x29f02540: "/usr/local/lib/ruby/site_ruby/1.8/puppet/agent.rb: 35:in `run'" 0x29f03740: "/usr/local/lib/ruby/site_ruby/1.8/puppet/application/ agent.rb:114:in `onetime'" 0x29f043a0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/application/ agent.rb:88:in `run_command'" 0x29f03790: "/usr/local/lib/ruby/site_ruby/1.8/puppet/ application.rb:300:in `run'" 0x29f037e0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/ application.rb:397:in `exit_on_fail'" 0x29f03830: "/usr/local/lib/ruby/site_ruby/1.8/puppet/ application.rb:300:in `run'" 0x29f01040: "/usr/local/sbin/puppetd:4" (gdb) where #0 0x281b81a7 in __error () from /lib/libthr.so.3 #1 0x281b7d88 in __error () from /lib/libthr.so.3 #2 0x29f02060 in ?? () #3 0x00000008 in ?? () #4 0x00000001 in ?? () #5 0x29f02040 in ?? () #6 0xbc7fbf2c in ?? () #7 0x80018718 in ?? () #8 0x00000000 in ?? () #9 0x281b66df in pthread_setcancelstate () from /lib/libthr.so.3 #10 0x281b5f7d in pthread_cond_signal () from /lib/libthr.so.3 #11 0x280c34d4 in thread_timer (dummy=0xbf9ad2ac) at eval.c:12318 #12 0x281ad6ff in pthread_getprio () from /lib/libthr.so.3 #13 0xbc6fafec in ?? () On 26 Aug, 11:03, Brice Figureau <brice-pup...@daysofwonder.com> wrote: > On Thu, 2010-08-26 at 01:08 -0700, kit wrote: > > I've never coded any ruby and don't know much about debugging, > > but I tried nevertheless to follow the guide so here's what I got. > > There's a lot of > > output here so please bear with me.. > > > First, I ran ruby --debug puppetd --trace --test, here's the output: > > # ruby --debug /usr/local/sbin/puppetd --server puppet.kulturit.no -- > > rundir /var/run/puppet --vardir /var/puppet --trace --verbose --test > > You ran ruby in debug mode, but in fact we don't care, what we want is > to run puppet in debug mode. > Can you try: > ruby /usr/local/sbin/puppetd --server puppet.kulturit.no --rundir > /var/run/puppet --vardir /var/puppet --trace --test --debug > > > [snip] > > The process is stuck here, tailing the however logfile claims puppetd > > is done...: > > > Aug 26 09:54:15 kitbackup002 puppet-agent[50287]: Reopening log files > > Aug 26 09:54:21 kitbackup002 puppet-agent[50287]: Finished catalog run > > in 3.03 seconds > > Hmm, why does it say "reopening log files"? > Did you restart it or change puppet.conf? > > > > > Second, I start gdb: > > # gdb `which ruby` 50403 > > > [Switching to Thread 0x28a7a130 (LWP 100152)] > > 0x2819d1a7 in __error () from /lib/libthr.so.3 > > Looks like there is a problem. > > > (gdb) set $ary = (int)backtrace(-1) > > (gdb) set $count = *($ary+8) > > (gdb) set $index = 0 > > (gdb) while $index < $count > > >x/1s *((int)rb_ary_entry($ary, $index)+12) > > >set $index = $index + 1 > > >end > > 0x29e020c0: "/usr/local/lib/ruby/1.8/net/protocol.rb:126:in > > `readline'" > > Apparently the thread is stuck in the net/http waiting for answer from > the master. > It looks like it is downloading some sourced files from the master. > > > > > > > 0x29e02100: "/usr/local/lib/ruby/1.8/net/http.rb:2024:in > > `read_status_line'" > > 0x29e02140: "/usr/local/lib/ruby/1.8/net/http.rb:2013:in > > `read_new'" > > 0x29e02180: "/usr/local/lib/ruby/1.8/net/http.rb:1050:in > > `request'" > > 0x29e021c0: "/usr/local/lib/ruby/1.8/net/http.rb:1037:in > > `request'" > > 0x29e02200: "/usr/local/lib/ruby/1.8/net/http.rb:543:in `start'" > > 0x29e02240: "/usr/local/lib/ruby/1.8/net/http.rb:1035:in > > `request'" > > 0x29e02280: "/usr/local/lib/ruby/1.8/net/http.rb:772:in `get'" > > 0x29e03060: "/usr/local/lib/ruby/site_ruby/1.8/puppet/indirector/ > > rest.rb:71:in `find'" > > 0x29e04040: "/usr/local/lib/ruby/site_ruby/1.8/puppet/indirector/ > > indirection.rb:193:in `find'" > > 0x29e030b0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/ > > indirector.rb:50:in `find'" > > 0x29e040a0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/type/file/ > > source.rb:141:in `init_metadata'" > > 0x29e03100: "/usr/local/lib/ruby/site_ruby/1.8/puppet/type/file/ > > source.rb:139:in `each'" > > 0x29e04100: "/usr/local/lib/ruby/site_ruby/1.8/puppet/type/file/ > > source.rb:139:in `init_metadata'" > > 0x29e03150: "/usr/local/lib/ruby/site_ruby/1.8/puppet/util/ > > cacher.rb:106:in `send'" > > 0x29e031a0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/util/ > > cacher.rb:106:in `cached_value'" > > 0x29e022c0: "/usr/local/lib/ruby/1.8/monitor.rb:242:in > > `synchronize'" > > 0x29e031f0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/util/ > > cacher.rb:98:in `cached_value'" > > 0x29e03240: "/usr/local/lib/ruby/site_ruby/1.8/puppet/util/ > > cacher.rb:48:in `metadata'" > > 0x29e04160: "/usr/local/lib/ruby/site_ruby/1.8/puppet/type/file/ > > source.rb:99:in `copy_source_values'" > > 0x29e03290: "/usr/local/lib/ruby/site_ruby/1.8/puppet/type/ > > file.rb:632:in `retrieve'" > > 0x29e032e0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/type.rb: > > 695:in `retrieve_resource'" > > 0x29e07080: "/usr/local/lib/ruby/site_ruby/1.8/puppet/transaction/ > > resource_harness.rb:39:in `changes_to_perform'" > > 0x29e041c0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/transaction/ > > resource_harness.rb:87:in `evaluate'" > > 0x29e03330: "/usr/local/lib/ruby/site_ruby/1.8/puppet/ > > transaction.rb:49:in `apply'" > > 0x29e070f0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/ > > transaction.rb:114:in `eval_children_and_apply_resource'" > > 0x29e03380: "/usr/local/lib/ruby/site_ruby/1.8/puppet/ > > transaction.rb:92:in `eval_resource'" > > 0x29e033d0: "/usr/local/lib/ruby/site_ruby/1.8/puppet/ > > transaction.rb:143:in `evaluate'" > > 0x29e03420: "/usr/local/lib/ruby/site_ruby/1.8/puppet/util.rb: > > 414:in `thinmark'" > > 0x29e02080: "/usr/local/lib/ruby/1.8/benchmark.rb:308:in > > `realtime'" > > 0x29e03470: "/usr/local/lib/ruby/site_ruby/1.8/puppet/util.rb: > > [snip] > > (gdb) where > > #0 0x2819d1a7 in __error () from /lib/libthr.so.3 > > #1 0x2819cd88 in __error () from /lib/libthr.so.3 > > #2 0x29e02060 in ?? () > > #3 0x00000008 in ?? () > > #4 0x00000001 in ?? () > > #5 0x29e02040 in ?? () > > #6 0xbc5f9f2c in ?? () > > #7 0x80018738 in ?? () > > #8 0x00000000 in ?? () > > #9 0x2819b6df in pthread_setcancelstate () from /lib/libthr.so.3 > > #10 0x2819af7d in pthread_cond_signal () from /lib/libthr.so.3 > > #11 0x280a8710 in thread_timer () from /usr/local/lib/libruby18.so.18 > > #12 0x281926ff in pthread_getprio () from /lib/libthr.so.3 > > #13 0x00000000 in ?? () > > It would be great to compile ruby with the debug symbols so that we > could see where it chokes. > > > I don't know why it won't let me run the "eval" functions. Anyways, > > most of this doesn't make sense to me, hopefully it will to some of > > you... :) > > This gdb ruby stuff is not really bullet-proof. Depending on the state > of the ruby interpreter it can work or not. > > So the next stage is to run puppet with --debug. You'll get much more > information about where it stops. > > What ruby version are you using? > -- > Brice Figureau > Follow the latest Puppet Community evolutions onwww.planetpuppet.org! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.