I''ve tried to start puppet master but I''m getting next error traces: # /usr/sbin/puppetmasterd start --trace /usr/lib/ruby/site_ruby/1.8/puppet/util/suidmanager.rb:132:in `convert_xid'' /usr/lib/ruby/site_ruby/1.8/puppet/util/suidmanager.rb:89:in `change_group'' /usr/lib/ruby/site_ruby/1.8/puppet/util/suidmanager.rb:80:in `change_privileges'' /usr/lib/ruby/site_ruby/1.8/puppet/util/suidmanager.rb:62:in `asuser'' /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:728:in `writesub'' /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:758:in `readwritelock'' /usr/lib/ruby/site_ruby/1.8/puppet/external/lock.rb:34:in `lock_exclusive'' /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:751:in `readwritelock'' /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:750:in `open'' /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:750:in `readwritelock'' /usr/lib/ruby/1.8/sync.rb:230:in `synchronize'' /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:749:in `readwritelock'' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/certificate_authority.rb:205:in `next_serial'' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/certificate_authority.rb:273:in `sign'' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/certificate_authority.rb:153:in `generate_ca_certificate'' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/certificate_authority.rb:242:in `setup'' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/certificate_authority.rb:166:in `initialize'' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/certificate_authority.rb:48:in `new'' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/certificate_authority.rb:48:in `init_singleton_instance'' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `send'' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `cached_value'' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:98:in `cached_value'' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:48:in `singleton_instance'' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/certificate_authority.rb:62:in `instance'' /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:154:in `setup_ssl'' /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:171:in `setup'' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:304:in `run'' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:420:in `hook'' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:304:in `run'' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:411:in `exit_on_fail'' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:304:in `run'' /usr/sbin/puppetmasterd:4 Could not prepare for execution: Invalid group: 0 Ruby version is 1.8.7 and Puppet version is 3.3.1. Could someone give me any clue of what is happenning? Thanks in advance, regards -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/5c437df1-015b-497d-ab15-6f80169dff2e%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
josec.raya@gmail.com
2013-Oct-28 22:31 UTC
[Puppet Users] Re: Puppet master does not start
I realize that I had installed 2.6 version of puppet instead 3.3.1. It has
been solved, I update previous version to 3.3.1. I;m still having same
problem with new version. I paste here all details:
puppet.conf
[main]
# The Puppet log directory.
# The default value is ''$vardir/log''.
logdir = /var/log/puppet
# Where Puppet PID files are kept.
# The default value is ''$vardir/run''.
rundir = /var/run/puppet
# Where SSL certificates are kept.
# The default value is ''$confdir/ssl''.
ssldir = $vardir/ssl
server=test.example.com
[master]
certname=test.example.com
# id
uid=0(root) gid=0(root) groups=0(root),503(puppet)
# ls -l /etc/puppet/
total 24
-rw-r--r-- 1 root root 4133 Oct 7 18:03 auth.conf
-rw-r--r-- 1 root root 1462 Oct 7 18:00 fileserver.conf
drwxr-xr-x 2 root root 4096 Oct 7 18:03 manifests
drwxr-xr-x 2 root root 4096 Oct 7 18:03 modules
-rw-r--r-- 1 root root 453 Oct 28 22:27 puppet.conf
# ls -l /var/lib/puppet/
total 52
drwxr-x--- 2 puppet puppet 4096 Oct 28 19:03 bucket
drwxr-x--- 2 root root 4096 Oct 28 19:30 clientbucket
drwxr-x--- 2 root root 4096 Oct 28 19:30 client_data
drwxr-x--- 2 root root 4096 Oct 28 19:30 client_yaml
drwxr-xr-x 2 root root 4096 Oct 28 19:03 facts
drwxr-xr-x 2 root root 4096 Oct 28 19:03 lib
drwxr-x--- 2 puppet puppet 4096 Oct 28 19:03 reports
drwxr-x--- 2 puppet puppet 4096 Oct 28 19:03 rrd
drwx------ 2 root root 4096 Oct 28 19:12 run
drwxr-x--- 2 puppet puppet 4096 Oct 28 19:03 server_data
drwxrwx--x 8 puppet root 4096 Oct 28 19:03 ssl
drwxr-xr-t 3 root root 4096 Oct 28 19:30 state
drwxr-x--- 2 puppet puppet 4096 Oct 28 19:03 yaml
# /etc/init.d/puppetmaster start
Starting puppetmaster: [FAILED]
Message in /var/log/messages file:
Oct 28 22:29:27 rhel6-64 puppet-master[5855]: Could not prepare for
execution: Invalid group: 0
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/35da2a50-5062-4856-a2b6-3aafea7f7577%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
On 29 October 2013 09:31, <josec.raya@gmail.com> wrote:> # id > uid=0(root) gid=0(root) groups=0(root),503(puppet)Why have you added the root user to the group puppet? puppetmaster normally runs using the puppet user in the puppet group. What groups is your ''puppet'' user part of? Here''s mine: # id puppet uid=52(puppet) gid=52(puppet) groups=52(puppet) Sean -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CADg9O%2BOhq7ZGOLrKPN4D1VoUNL354U4F82XMyxOjigg888nDRw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
josec.raya@gmail.com
2013-Oct-29 09:53 UTC
Re: [Puppet Users] Re: Puppet master does not start
Hi Sean, updating the info, yesterday I removed root from puppet group and that is what I have now: # id uid=0(root) gid=0(root) groups=0(root) # id root uid=0(root) gid=0(root) groups=0(root) # id puppet uid=501(puppet) gid=503(puppet) groups=503(puppet) And I getting the same error: # /etc/init.d/puppetmaster start Starting puppetmaster: [FAILED] # tail -f /var/log/messages Oct 29 09:52:38 rhel6-64 puppet-master[9210]: Could not prepare for execution: Invalid group: 0 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/54835cdb-cd1d-4a62-bc68-77a0d2812925%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
josec.raya@gmail.com
2013-Oct-31 13:54 UTC
Re: [Puppet Users] Re: Puppet master does not start
Somebody has any idea what is happening? Can I provide more information (logs, command, etc) where we can find what is the problem? Thanks!! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/10b066e1-8160-44de-b03e-481c6747ef57%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.