Hello: I always seem to not be able to use localhost even with Posgtres bound to all addresses. The command I tend to use is like:
psql -h 10.10.10.10 -d puppetdb -U puppetdb -W then enter your password. HTH On Wed, Jul 24, 2013 at 2:01 PM, GregC <[email protected]> wrote: > I was able to run a psql puppetdb without issue and then saw the creation of > the puppetdb database. > > > On Wednesday, July 24, 2013 3:37:10 PM UTC-4, GregC wrote: >> >> Follwed the instructions for installing PuppetDB from pupptlabs url: >> http://docs.puppetlabs.com/puppetdb/latest/configure.html#using-postgresql >> >> After running the following commands to create puppetdb user and puppetdb >> database I cannot login with the password I provided for puppetdb >> $ sudo -u postgres sh $ createuser -DRSP puppetdb $ createdb -E UTF8 -O >> puppetdb puppetdb $ exit >> >> I keep getting a connection error, can anyone shed any light on this, >> appreciate your help in advance. >> >> [postgres@puppetmaster3:~]$ psql -h localhost puppetdb puppetdb psql: >> FATAL: Ident authentication failed for user "puppetdb" >> > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
