Obviously the user which is executing the Puppet start command is not allowed 
to access the directory '/var/lib/puppet/run/' or the file 
'/var/lib/puppet/run/pidlock.rb'. Are you starting the master as root? If not, 
you should. If the problem persists, check the access rights and permissions of 
the file/directory.

Bernd

/var/lib/puppet/run/

> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:puppet-
> [email protected]] Im Auftrag von Dhaval
> Gesendet: Montag, 11. Juni 2012 15:14
> An: [email protected]
> Betreff: [Puppet Users] Start puppet master
> 
> Hi,
> 
> whenever i am starting puppet master after new installation it gives
> below messages ..
> 
> /usr/lib/ruby/site_ruby/1.8/puppet/util/pidlock.rb:33:in `initialize':
> Permission denied - /var/lib/puppet/run/master.pid (Errno::EACCES)
>         from /usr/lib/ruby/site_ruby/1.8/puppet/util/pidlock.rb:33:in
> `open'
>         from /usr/lib/ruby/site_ruby/1.8/puppet/util/pidlock.rb:33:in
> `lock'
>         from /usr/lib/ruby/site_ruby/1.8/puppet/daemon.rb:47:in
> `create_pidfile'
>         from /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:39:in
> `synchronize_on'
>         from /usr/lib/ruby/1.8/sync.rb:229:in `synchronize'
>         from /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:39:in
> `synchronize_on'
>         from /usr/lib/ruby/site_ruby/1.8/puppet/daemon.rb:46:in
> `create_pidfile'
>         from /usr/lib/ruby/site_ruby/1.8/puppet/daemon.rb:22:in
> `daemonize'
>         from
> /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:105: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: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/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:59:in
> `execute'
>         from /usr/bin/puppet:4
> 
> 
> can anyone suggest what are those , what is missing ? i have used
> default puppet.conf file generated using command line with -genconfig
> option
> 
> Regards,
> Dhaval
> 
> --
> You received this message because you are subscribed to the Google
> Groups "Puppet Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to puppet-
> [email protected].
> 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 [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