Ask Your Question
0

puppet dead but pid file exists

asked 2015-02-22 02:40:53 -0500

Ravi gravatar image

I have setup the server-client mode on EC2 instances. While i'm checking the status of puppetmaster, It sends me an output like this "puppet dead but pid file exists". What could be the reason and how to resolve it?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-02-23 07:48:34 -0500

mckownam gravatar image

What that means is that the puppet master service started, but there was some issue that caused it to crash. A good point of reference would be to check out the logs in /var/log/puppet and see what is recorded in there. You can try starting it with "sudo puppet master --verbose --no-daemonize" in order to catch all output that the puppet master would generate before crashing.

If you are using puppetserver (which is a different package than puppet-server), then look into changing the amount of RAM that it uses since it automatically crashes if it is set to be equal to or higher than the RAM available for the total machine ( https://docs.puppetlabs.com/puppetser...frompackages.html#memory-allocation).

edit flag offensive delete link more

Comments

I forgot to mention that if you have puppetserver running and you try to run "service puppetmaster start", it may say that it started, but the status of the service will be "puppet dead but pid file exists".

mckownam gravatar imagemckownam ( 2015-02-24 09:31:43 -0500 )edit

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2015-02-22 02:40:53 -0500

Seen: 3,235 times

Last updated: Feb 23 '15