2 things. I dont know which one solved it. I dont know why I have to give the fqdn name in the jetty.ini file for the ssl host
I ran the puppetdb ssl from /opt/puppet/sbin/puppetdb-ssl-setup . Dont know why it is in opt dir On Friday, 15 November 2013 22:22:38 UTC+5:30, Ken Barber wrote: > > > yes it is. > > > > cp6 0 0 :::8081 :::* > LISTEN > > 3187/java > > Okay ... so lets delve deeper into the original error then: > > > Error: Could not retrieve catalog from remote server: Error 400 on > SERVER: Failed to submit 'replace facts' command for nfaxen-cent1 to > PuppetDB at nfaxen-ubu1:8081: Connection refused - connect(2) > > The problem is that its trying to connect to nfaxen-ubu1 on port 8081. > So does this address resolve correctly to localhost or the IP address > of the PuppetDB instance? The results of this would help: > > # telnet nfaxen-ubu1 8081 > # host nfaxen-ubu1 > > To me it seems like your process is running and listening, but that > hostname might not resolve to what you think it does - hence the > connection refused message. Double check your DNS and/or /etc/hosts. > > > Actually do you how to re initilize puppet db ssl. > > > > Some old post says: we solved the problem. removed all files from > > /etc/puppetdb/ssl and > >> ran /usr/sbin/puppetdb-ssl-setup. > > > > But I cannot find /usr/sbin/puppetdb-ssl-setup. Mine is Ubuntu. > > # /usr/sbin/puppetdb-ssl-setup -f > > If it can't be found, either a) the package isn't installed correctly > or b) you're on the wrong box. We definitely package that script in > our package: dpkg -L puppetdb | grep ssl-setup might help you here. > > ken. > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/a9ed2ef5-85a4-4699-906f-5202b848b37a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.