Advertisement
Guest User

Untitled

a guest
Mar 27th, 2015
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. root@ip-10-248-27-66:/home/ubuntu# puppetca --sign ec2-54-245-56-210.us-west-2.compute.amazonaws.com
  2. err: Could not call sign: Could not find certificate request for ec2-54-245-56-210.us-west-2.compute.amazonaws.com
  3.  
  4. 127.0.0.1 localhost puppetmaster
  5. 10.248.34.162 ec2-54-245-56-210.us-west-2.compute.amazonaws.com puppet
  6.  
  7. # The following lines are desirable for IPv6 capable hosts
  8. ::1 ip6-localhost ip6-loopback
  9. fe00::0 ip6-localnet
  10. ff00::0 ip6-mcastprefix
  11. ff02::1 ip6-allnodes
  12. ff02::2 ip6-allrouters
  13. ff02::3 ip6-allhosts
  14.  
  15. 127.0.0.1 localhost
  16. 10.248.27.66 ec2-50-112-220-110.us-west-2.compute.amazonaws.com puppetmaster
  17.  
  18. # The following lines are desirable for IPv6 capable hosts
  19. ::1 ip6-localhost ip6-loopback
  20. fe00::0 ip6-localnet
  21. ff00::0 ip6-mcastprefix
  22. ff02::1 ip6-allnodes
  23. ff02::2 ip6-allrouters
  24. ff02::3 ip6-allhosts
  25.  
  26. root@ip-10-248-27-66:/home/ubuntu# service puppetmaster status
  27. * master is running
  28.  
  29. root@ip-10-248-34-162:/home/ubuntu# host puppetmaster
  30. Host puppetmaster not found: 3(NXDOMAIN)
  31.  
  32. root@ip-10-248-34-162:/home/ubuntu# telnet puppetmaster 8140
  33. Trying 10.248.27.66...
  34. Connected to ec2-50-112-220-110.us-west-2.compute.amazonaws.com.
  35. Escape character is '^]'.
  36.  
  37. Apr 11 17:57:41 ip-10-248-34-162 puppet-agent[3897]: Could not request certificate: getaddrinfo: Name or service not known
  38.  
  39. root@ip-10-248-34-162:/home/ubuntu# puppet agent --test
  40. err: Could not request certificate: getaddrinfo: Name or service not known
  41. Exiting; failed to retrieve certificate and waitforcert is disabled
  42.  
  43. $ getent hosts puppetmaster
  44. 10.248.27.66 ec2-50-112-220-110.us-west-2.compute.amazonaws.com puppetmaster
  45.  
  46. $ puppet agent --test --waitforcert 5
  47. err: Could not request certificate: Connection refused - connect(2)
  48. err: Could not request certificate: Connection refused - connect(2)
  49.  
  50. iptables -F
  51. service service iptables save
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement