Re: [Puppet Users] Re: Puppet master does not start

2014-01-28 Thread Bhuvnesh Chaudhary
Facing the same error, did anyone figure out the reason for the same ?

On Thursday, October 31, 2013 6:54:59 AM UTC-7, josec...@gmail.com wrote:

 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/02dd399f-0f8a-4a62-aecb-2f06614cce4e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] Re: Puppet master does not start

2013-10-29 Thread josec . raya
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+unsubscr...@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.


[Puppet Users] Re: Puppet master does not start

2013-10-28 Thread josec . raya
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+unsubscr...@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.


Re: [Puppet Users] Re: Puppet master does not start

2013-10-28 Thread Sean Crosby
On 29 October 2013 09:31,  josec.r...@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+unsubscr...@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.