Edward Tuan
2012-Aug-31 02:08 UTC
[Puppet Users] Help! A simple question but always distrubs me .
When I start my puppetmaster on my master server with this :/etc/init.d/puppetmaster start, There are always these messages shown: etc/init.d/puppetmaster start Starting puppetmaster: */usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:101:in `register_xmlrpc'': uninitialized constant Puppet::Network::Handler (NameError)* from /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:100:in `each'' from /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:100:in `register_xmlrpc'' from /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:68:in `initialize'' from /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:102:in `new'' from /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:102:in `main'' from /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:46:in `run_command'' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:305:in `run'' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:420:in `hook'' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:305:in `run'' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:411:in `exit_on_fail'' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:305:in `run'' from /usr/sbin/puppetmasterd:4 * [FAILED]* I have checked my ruby version,It''s the latest version(ruby 1.8.7 (2011-06-30 patchlevel 352) [i386-linux]) and what my server installed about ruby are: ruby-libs-1.8.7.352-7.el6_2.i686 libselinux-ruby-2.0.94-5.3.el6.i686 ruby-1.8.7.352-7.el6_2.i686 ruby-augeas-0.4.1-1.el6.i686 ruby-rdoc-1.8.7.352-7.el6_2.i686 ruby-shadow-1.4.1-13.el6.i686 ruby-irb-1.8.7.352-7.el6_2.i686 who knows what''r wrong with my server and help me? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/VS8fbUZuXaoJ. 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.
Edward Tuan
2012-Aug-31 02:10 UTC
[Puppet Users] Re: Help! A simple question but always distrubs me .
ps: when I start with : puppet master . then I check with: service puppetmaster status ,show: *the puppetmaster is running *.orz... 在 2012年8月31日星期五UTC+8上午10时08分05秒,Edward Tuan写道:> > When I start my puppetmaster on my master server with this > :/etc/init.d/puppetmaster start, There are always these messages shown: > > etc/init.d/puppetmaster start > Starting puppetmaster: */usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:101:in > `register_xmlrpc'': uninitialized constant Puppet::Network::Handler > (NameError)* > > from /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:100:in `each'' > from /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:100:in > `register_xmlrpc'' > from /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:68:in > `initialize'' > from /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:102:in > `new'' > from /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:102:in > `main'' > from /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:46:in > `run_command'' > from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:305:in `run'' > from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:420:in `hook'' > from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:305:in `run'' > from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:411:in > `exit_on_fail'' > from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:305:in `run'' > from /usr/sbin/puppetmasterd:4 > * [FAILED]* > > I have checked my ruby version,It''s the latest version(ruby 1.8.7 > (2011-06-30 patchlevel 352) [i386-linux]) and what my server installed > about ruby are: > > ruby-libs-1.8.7.352-7.el6_2.i686 > > libselinux-ruby-2.0.94-5.3.el6.i686 > > ruby-1.8.7.352-7.el6_2.i686 > > ruby-augeas-0.4.1-1.el6.i686 > > ruby-rdoc-1.8.7.352-7.el6_2.i686 > > ruby-shadow-1.4.1-13.el6.i686 > > ruby-irb-1.8.7.352-7.el6_2.i686 > > who knows what''r wrong with my server and help me? > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/fERkqdzkBK0J. 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.
Justin Stoller
2012-Aug-31 03:41 UTC
Re: [Puppet Users] Re: Help! A simple question but always distrubs me .
On Thu, Aug 30, 2012 at 7:10 PM, Edward Tuan <duanyanlei@gmail.com> wrote:> ps: when I start with : puppet master . then I check with: service > puppetmaster status ,show: the puppetmaster is running .orz...the `puppetmasterd` executable was deprecated in favor of using the single executable `puppet`. xmlrpc was deprecated in favor of the rest terminus. I *think* that happened in 2.6 with both being removed in 2.7. What version of puppet are you using? You may of just found an awkward remnant/transition release. Could you have two installations of Puppet on your system? - Justin> > 在 2012年8月31日星期五UTC+8上午10时08分05秒,Edward Tuan写道: >> >> When I start my puppetmaster on my master server with this >> :/etc/init.d/puppetmaster start, There are always these messages shown: >> >> etc/init.d/puppetmaster start >> Starting puppetmaster: >> /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:101:in >> `register_xmlrpc'': uninitialized constant Puppet::Network::Handler >> (NameError) >> >> from /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:100:in >> `each'' >> from /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:100:in >> `register_xmlrpc'' >> from /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:68:in >> `initialize'' >> from /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:102:in >> `new'' >> from /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:102:in >> `main'' >> from /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:46:in >> `run_command'' >> from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:305:in `run'' >> from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:420:in `hook'' >> from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:305:in `run'' >> from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:411:in >> `exit_on_fail'' >> from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:305:in `run'' >> from /usr/sbin/puppetmasterd:4 >> [FAILED] >> >> I have checked my ruby version,It''s the latest version(ruby 1.8.7 >> (2011-06-30 patchlevel 352) [i386-linux]) and what my server installed about >> ruby are: >> >> ruby-libs-1.8.7.352-7.el6_2.i686 >> >> libselinux-ruby-2.0.94-5.3.el6.i686 >> >> ruby-1.8.7.352-7.el6_2.i686 >> >> ruby-augeas-0.4.1-1.el6.i686 >> >> ruby-rdoc-1.8.7.352-7.el6_2.i686 >> >> ruby-shadow-1.4.1-13.el6.i686 >> >> ruby-irb-1.8.7.352-7.el6_2.i686 >> >> who knows what''r wrong with my server and help me? >> > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/fERkqdzkBK0J. > > 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.-- 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.
段彦磊
2012-Aug-31 03:51 UTC
Re: [Puppet Users] Re: Help! A simple question but always distrubs me .
yep! my server realease is 2.6.17.el6. while the version of puppet client on VMs is different from that, but I'' m sure are lower than server realease. 2012/8/31 Justin Stoller <justin@puppetlabs.com>> On Thu, Aug 30, 2012 at 7:10 PM, Edward Tuan <duanyanlei@gmail.com> wrote: > > ps: when I start with : puppet master . then I check with: service > > puppetmaster status ,show: the puppetmaster is running .orz... > > the `puppetmasterd` executable was deprecated in favor of using the > single executable `puppet`. > xmlrpc was deprecated in favor of the rest terminus. > > I *think* that happened in 2.6 with both being removed in 2.7. > > What version of puppet are you using? You may of just found an awkward > remnant/transition release. Could you have two installations of Puppet > on your system? > > - Justin > > > > > 在 2012年8月31日星期五UTC+8上午10时08分05秒,Edward Tuan写道: > >> > >> When I start my puppetmaster on my master server with this > >> :/etc/init.d/puppetmaster start, There are always these messages shown: > >> > >> etc/init.d/puppetmaster start > >> Starting puppetmaster: > >> /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:101:in > >> `register_xmlrpc'': uninitialized constant Puppet::Network::Handler > >> (NameError) > >> > >> from /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:100:in > >> `each'' > >> from /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:100:in > >> `register_xmlrpc'' > >> from /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:68:in > >> `initialize'' > >> from /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:102:in > >> `new'' > >> from /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:102:in > >> `main'' > >> from /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:46:in > >> `run_command'' > >> from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:305:in `run'' > >> from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:420:in `hook'' > >> from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:305:in `run'' > >> from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:411:in > >> `exit_on_fail'' > >> from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:305:in `run'' > >> from /usr/sbin/puppetmasterd:4 > >> [FAILED] > >> > >> I have checked my ruby version,It''s the latest version(ruby 1.8.7 > >> (2011-06-30 patchlevel 352) [i386-linux]) and what my server installed > about > >> ruby are: > >> > >> ruby-libs-1.8.7.352-7.el6_2.i686 > >> > >> libselinux-ruby-2.0.94-5.3.el6.i686 > >> > >> ruby-1.8.7.352-7.el6_2.i686 > >> > >> ruby-augeas-0.4.1-1.el6.i686 > >> > >> ruby-rdoc-1.8.7.352-7.el6_2.i686 > >> > >> ruby-shadow-1.4.1-13.el6.i686 > >> > >> ruby-irb-1.8.7.352-7.el6_2.i686 > >> > >> who knows what''r wrong with my server and help me? > >> > > -- > > You received this message because you are subscribed to the Google Groups > > "Puppet Users" group. > > To view this discussion on the web visit > > https://groups.google.com/d/msg/puppet-users/-/fERkqdzkBK0J. > > > > 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. > > -- > 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. > >-- 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.