Ankush Grover
2011-Mar-07 10:00 UTC
[Puppet Users] Unable to run puppetmasterd 2.6.5 on Centos 5
Hi friends, Somehow puppetmasterd 2.6.5 is failing to get started on Centos 5. I am getting the below error. I am yet to configure any agent with this server. puppetmasterd --no-daemonize --verbose --debug debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/ dscl does not exist debug: Puppet::Type::User::ProviderUser_role_add: file roledel does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::File::ProviderMicrosoft_windows: feature microsoft_windows is missing debug: Failed to load library ''ldap'' for feature ''ldap'' debug: /File[/var/lib/puppet/reports]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/public_keys/target.synapse.com.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys] debug: /File[/etc/puppet/manifests]: Autorequiring File[/etc/puppet] debug: /File[/var/lib/puppet/ssl/private_keys/target.synapse.com.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys] debug: /File[/var/run/puppet/master.pid]: Autorequiring File[/var/run/ puppet] debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/ var/lib/puppet/ssl] debug: /File[/var/log/puppet/masterhttp.log]: Autorequiring File[/var/ log/puppet] debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet] debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/ lib/puppet/ssl] debug: /File[/var/lib/puppet/server_data]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/ var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/yaml]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/certs/target.synapse.com.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/etc/puppet/manifests/site.pp]: Autorequiring File[/etc/ puppet/manifests] debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/etc/puppet/auth.conf]: Autorequiring File[/etc/puppet] debug: /File[/etc/puppet/fileserver.conf]: Autorequiring File[/etc/ puppet] debug: /File[/var/lib/puppet/bucket]: Autorequiring File[/var/lib/ puppet] debug: Finishing transaction -606585348 debug: /File[/var/lib/puppet/ssl/ca/serial]: Autorequiring File[/var/ lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/inventory.txt]: Autorequiring File[/var/lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/ca_crt.pem]: Autorequiring File[/ var/lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/private]: Autorequiring File[/var/ lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/private/ca.pass]: Autorequiring File[/var/lib/puppet/ssl/ca/private] debug: /File[/var/lib/puppet/ssl/ca/signed]: Autorequiring File[/var/ lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/ca_crl.pem]: Autorequiring File[/ var/lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/requests]: Autorequiring File[/var/ lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/ca_key.pem]: Autorequiring File[/ var/lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/ca_pub.pem]: Autorequiring File[/ var/lib/puppet/ssl/ca] debug: Finishing transaction -607319668 debug: Using cached certificate for ca debug: Using cached certificate for ca debug: Using cached certificate for test.example.com notice: Starting Puppet master version 2.6.5 /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb: 270:in `readconfig'': undefined method `name'' for nil:NilClass (NoMethodError) from /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/ fileserver.rb:256:in `each'' from /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/ fileserver.rb:256:in `readconfig'' from /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/ fileserver.rb:253:in `open'' from /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/ fileserver.rb:253:in `readconfig'' from /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/ fileserver.rb:115:in `initialize'' from /usr/lib/ruby/site_ruby/1.8/puppet/network/http/ webrick.rb:135:in `new'' from /usr/lib/ruby/site_ruby/1.8/puppet/network/http/ webrick.rb:135:in `xmlrpc_servlet'' from /usr/lib/ruby/site_ruby/1.8/puppet/network/http/ webrick.rb:131:in `collect'' ... 8 levels... from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:304:in `run'' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:410:in `exit_on_fail'' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:304:in `run'' from /usr/sbin/puppetmasterd:4 My puppet.conf file on the server [main] logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl [agent] classfile = $vardir/classes.txt localconfig = $vardir/localconfig report = true /etc/sysconfig/puppet PUPPET_SERVER=test.example.com PUPPET_LOG=/var/log/puppet/puppet.log Regards Ankush -- 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.
Ben Hughes
2011-Mar-08 06:23 UTC
Re: [Puppet Users] Unable to run puppetmasterd 2.6.5 on Centos 5
On Mon, Mar 07, 2011 at 02:00:23AM -0800, Ankush Grover wrote:> /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb: > 270:in `readconfig'': undefined method `name'' for nil:NilClass > (NoMethodError)Do you have a /etc/puppet/fileserver.conf and is it modified in any way? -- Ben Hughes || http://www.puppetlabs.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.
Ankush Grover
2011-Mar-08 08:04 UTC
[Puppet Users] Re: Unable to run puppetmasterd 2.6.5 on Centos 5
/etc/puppet/fileserver.conf file [files] path /etc/puppet/files/ allow 172.16.4.0/24 On Mar 8, 11:23 am, Ben Hughes <b...@puppetlabs.com> wrote:> On Mon, Mar 07, 2011 at 02:00:23AM -0800, Ankush Grover wrote: > > /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb: > > 270:in `readconfig'': undefined method `name'' for nil:NilClass > > (NoMethodError) > > Do you have a /etc/puppet/fileserver.conf and is it modified in any way? > > -- > Ben Hughes ||http://www.puppetlabs.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.
Seemingly Similar Threads
- Unable to launch puppetmasterd after installing mongrel
- Bug #2617(?) in Puppet 0.25.1rc2
- undefined method `name' for nil:NilClass
- err: Could not run Puppet configuration client: Could not find a default provider for augeas
- Setting up puppetmaster-passenger on Debian