Thx John.

The puppet master is now daemonize

Le lundi 9 juillet 2012 15:05:59 UTC+2, jcbollinger a écrit :
>
>
>
> On Monday, July 9, 2012 4:12:18 AM UTC-5, Yves Ntonfo wrote:
>>
>> Hi,
>>
>> I'm new in using Puppet as the most people here :-)
>>
>> I just have a problem when i want to start the puppet master daemon. I 
>> got this :
>>
>> [root@FRPARSRNLINNTO ~]# service puppetmaster start
>> Démarrage de puppetmaster 
>> :/usr/lib/ruby/site_ruby/1.8/puppet/util/pidlock.rb:77:in `unlink': 
>> Permission denied - /var/lib/puppet/run/master.pid (Errno::EACCES)
>>
>
> Like many system services, the puppetmaster service normally runs as an 
> unprivileged user (often one named "puppet" belonging to group "puppet").  
> That user must have sufficient access to the filesystem to do its job.  In 
> this particular case, it does not have sufficient access to remove an old 
> PID file, /var/lib/puppet/run/master.pid, or perhaps to even to read the 
> directory.
>
> The puppetmaster needs read access to /var/lib/puppet and everything in it 
> (including list / traverse access for directories).  Additionally, it needs 
> write access to /var/lib/puppet/run.  Under normal circumstances, nothing 
> should be written in /var/lib/puppet/run that the master cannot access, but 
> even if something is, the master should still be able to unlink it if it 
> has write access to the directory (and otherwise, not).
>
> So either make /var/lib/puppet/run owned by user puppet, with user rwx 
> permission, or make it owned by root, group puppet, with group rwx 
> permission.
>
>
> John
>
>

-- 
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/-/jirlZZGEnvIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to