Ask Your Question
0

Could not create PID file /var/run/pe-puppet/master.pid

asked 2015-10-09 09:09:40 -0500

saikiran gravatar image

Hi

I am using Puppet Enterprise, puppet-master and puppet agent with the version 3.8, After creating the certificates in agent. there is no certificates which should be waiting in master.

when I run this command only puppet master

$ puppet cert list -a

output is showing nothing, when I try to debug the master with this command

$ puppet master --verbose --no-daemonize

I am getting the error like this

Error: Could not run: Could not create PID file: /var/run/pe-puppet/master.pid

I googled and searched many blogs for this error but I didn't get proper solution. Please help me i'm new to puppet.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-10-09 10:36:43 -0500

ls -ld /var/run/pe-puppet - is it owned by puppet ?

edit flag offensive delete link more

Comments

yes it is owned by pe-puppet $ ls -ld /var/run/pe-puppet drwxr-xr-x 2 pe-puppet pe-puppet 60 oct 8 20:07 /var/run/pe-puppet

saikiran gravatar imagesaikiran ( 2015-10-11 23:12:55 -0500 )edit

is puppet master already running? whats the contents of /var/run/pe-puppet? cheers Stuart

sahumphries gravatar imagesahumphries ( 2015-10-13 08:28:26 -0500 )edit

master is not running, when i want to start the master through command line it is failing. /var/run/pe-puppet contains the agent.pid 3398.

saikiran gravatar imagesaikiran ( 2015-10-30 04:08:42 -0500 )edit
0

answered 2016-02-08 06:39:53 -0500

centos gravatar image

any update on this?? i am facing the same issue while running

puppet master --verbose --no-daemonize --debug command /* notice: Starting Puppet master version 2.6.17 Could not run: Could not create PID file: /var/run/puppet/master.pid */

[root@CHDETA ssl]# ls -ld /var/run/puppet drwxr-xr-x. 2 puppet puppet 4096 Feb 8 18:05 /var/run/puppet [root@CHDETA ssl]# ls -lrt /var/run/puppet total 8 -rw-r--r--. 1 root root 5 Feb 8 13:51 agent.pid -rw-r--r--. 1 puppet puppet 4 Feb 8 18:05 master.pid [root@CHDETA ssl]#

ANY IDEA WHATS CAUSING THIS FAILURE???

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-10-09 09:08:24 -0500

Seen: 1,334 times

Last updated: Oct 09 '15