Hi,

I think your client can't resolve puppet server hostname. Try to change 'server' directive in config file or add 'puppet' to /etc/hosts or use '--server' option in command line.

Regards.

On 10.02.2011 01:26, Tim Dunphy wrote:
hello list

  I am attempting to setup a puppet server in the amazon cloud. When I
try to hit the host from the test client using puppetd --test I get
this response...




[root@mclient ~]# puppetd --test
err: Could not retrieve catalog from remote server: getaddrinfo: Name
or service not known
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run


So I thought what if I try to do a test puppet run on the server
itself? Surprisingly I get the same result...

[root@mcollective ~]# puppetd --test
err: Could not retrieve catalog from remote server: getaddrinfo: Name
or service not known
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run


I make sure that puppet is installed:

[root@mcollective ~]# rpm -qa | grep puppet
puppet-server-0.25.5-1.el5
puppet-0.25.5-1.el5



That the service is running:

[root@mcollective ~]# service puppetmaster status
puppetmasterd (pid 2025) is running...



And listening on the correct port:

[root@mcollective ~]# lsof -i :8140
COMMAND    PID   USER   FD   TYPE DEVICE SIZE NODE NAME
puppetmas 2025 puppet    7u  IPv4  15187       TCP *:8140 (LISTEN)



So why would this puppet server be unable to contact itself??

thanks in advance!!







--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to