On Monday, July 8, 2013 11:45:14 AM UTC-5, Alejo Granero wrote:
>
> Hi! when I try to link de node with de master I do that:
>
> $ puppet agent --server ipofthemaster --waitforcert 60 --test
>
> Then I have thats errors:
>
> err: Could not retrieve catalog from remote server: Connection refused - 
> connect (2)
>
> warning: Not using cache on failed catalog
> err: could not retrieve catalog; skipping run
> err: Could not send report Connection refused - connect(2)
>
> Where is the problem?
>
>
Make sure that the firewall on your master is not blocking the Puppet 
service port (8140/tcp by default), that you're specifying the correct IP 
number of the master (but see below), and that the puppetmaster service is 
actually running on the master.  I think your current problem is in one of 
those areas.

After you get that sorted out, you will probably face the issue that Paul 
raised: the --server option should give a resolvable *name* of the master, 
and it should match the certname or one of the alternative names on the SSL 
certificate with which the master authenticates itself to the agent.  If 
you've not done anything special with Puppet's SSL configuration, then that 
boils down to passing the master's hostname to the agent's --server option 
(or configuring that option in puppet.conf).

Be aware that you can often get more information about what's going wrong 
by running the Puppet agent with maximum diagnostic messages turned on by 
specifying the --debug option.  Also, you can sometimes get useful 
information from the master's logs.


John



John

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to