Ask Your Question
0

Puppet agent hangs at start

asked 2014-09-22 09:49:16 -0500

syss gravatar image

The puppet agent worked before fine, but after doing some testing it hangs on the beginning of the apply command

puppet apply -t -d
Debug: Runtime environment: puppet_version=3.7.1, ruby_version=1.9.3, run_mode=user, default_encoding=US-ASCII

I already have restarted the puppet agent service, but this have not helped at all. I am not sure about where to put my hands on to solve this problem

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-09-22 10:11:34 -0500

syss gravatar image

updated 2014-09-23 03:03:31 -0500

It showed that it had a problem to generate a PID file with the -t option.

puppet apply -d
...
Error: Could not run: Could not create PID file: /var/run/puppet/agent.pid

It worked again when I started it with the -t option.

Maybe I am missing some information what the -t option does.

EDIT:

seems to be that I only had a lucky shot. One of my clients is having this problem again.

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: 2014-09-22 09:49:16 -0500

Seen: 734 times

Last updated: Sep 23 '14