> 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/CAE4bNTkAFs5FsX%2BhJ%3Dwcv1TQuUM6eQdfVWhdBytPgznrU2%2BtpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to