Error: Could not prepare for execution: Could not create PID file: /var/run/pe-puppet/agent.pid

2,193 views
Skip to first unread message

sandeep kumar

unread,
Sep 9, 2013, 9:23:53 AM9/9/13
to puppet...@googlegroups.com

Hi All,

While I am running puppet agent I get the following error:

command : puppet agent --verbose Error: Could not prepare for execution: Could not create PID file: /var/run/pe-puppet/agent.pid

Checked under /var/run/pe-puppet, pid file is being created when the serrvice is started. Checked in the puppet.conf and the rundir is correctly mentioned. Nothing found under /var/log/pe-puppet/

Please let me know where else I can check for the error.

Thanks, Manchana

Rahul Khengare

unread,
Sep 10, 2013, 2:30:17 AM9/10/13
to puppet...@googlegroups.com
Hi Manchana,
   can you check the rundir option in  /etc/puppetlabs/puppet/puppet.conf file as,
.
rundir = /var/run/pe-puppet 


Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
Reply all
Reply to author
Forward
0 new messages