puppet dead but pid file exists

1,811 views
Skip to first unread message

Spriya

unread,
Sep 2, 2014, 10:47:57 AM9/2/14
to puppet...@googlegroups.com
Hi,

I am having an issue when restarting puppetmaster.
$service puppetmaster status
puppet dead but pid file exists


Let me know what might be the issue.

John Kennedy

unread,
Sep 2, 2014, 10:50:12 AM9/2/14
to puppet...@googlegroups.com
How are you stopping Puppetmaster? If you are not gracefully shutting puppetmaster down then the PID file will not be deleted.


John Kennedy  (_8(|)
I have a yellow dog:
http://www.theyellowdogproject.com/The_Yellow_Dog_Project/About.html

Why would anyone foster a dog/cat?
I would rather cry watching them leave our home to live a life of happiness and joy in a loving home than cry because no one stepped up to help them and they died alone, frightened, and sad in a shelter.


--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/667caddf-93a3-4f3e-97bb-87c42996b727%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Spriya

unread,
Sep 2, 2014, 10:56:59 AM9/2/14
to puppet...@googlegroups.com
Hi John

This is the way i am doing:
service puppetmaster stop
Stopping puppetmaster:                                     [FAILED]
[root@cluster2 puppet]# service puppetmaster start
Starting puppetmaster:                                     [  OK  ]
[root@cluster2 puppet]# service puppetmaster status

puppet dead but pid file exists


Let me know

Brian Wilkins

unread,
Sep 2, 2014, 11:11:47 AM9/2/14
to puppet...@googlegroups.com
It probably died (either ps -ef | grep puppetmaster | awk '{print $2}' | xargs kill -9) or otherwise. Just remove the pid file and continue. You can examine the pid file to see if a process with that PID and named puppetmasterd exists. More than likely not.
Reply all
Reply to author
Forward
0 new messages