Ask Your Question

err: Could not retrieve catalog from remote server

asked 2014-02-11 08:26:27 -0600

baguette gravatar image

I have that problem but cleaning and signing against gives me the same error, any ideas?

root@ubuntu:~# puppet agent --server=master--waitforcert 20 –test
Could not prepare for execution: Could not create PID file: /var/run/puppet/    
root@ubuntu:~# puppet agent -t --verbose
    info: Creating a new SSL key for ubuntu.lan
    info: Caching certificate for ca
    info: Creating a new SSL certificate request for ubuntu.lan
    info: Certificate Request fingerprint (md5): B2:BE:E6:5B:E6:92:07:AE:3F:D3:8F:23:DB:2F:25:9E
    info: Caching certificate for ubuntu.lan
    info: Caching certificate_revocation_list for ...
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2014-02-11 11:25:28 -0600

spuder gravatar image

From the log output, it looks like there are two problems.

  1. Are the clocks in sync between both the puppet master and the node? If the clocks are too far apart even a valid ssl certificate will be rejected.

  2. Puppet is unable to create a lock file "Could not create PID file: /var/run/puppet/" Is /var/run/puppet a writable directory? Also, do you already have a puppet agent running? See this question here.

edit flag offensive delete link more


thanks, I just had to synch the clocks with ntpdate thanks

baguette gravatar imagebaguette ( 2014-02-13 09:29:53 -0600 )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

1 follower


Asked: 2014-02-11 08:26:27 -0600

Seen: 79 times

Last updated: Feb 11 '14