GregC
2013-Jul-24 19:37 UTC
[Puppet Users] Installing PuppetDB on Red Hat 6.4 Postgresql issues
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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
GregC
2013-Jul-24 20:01 UTC
[Puppet Users] Re: Installing PuppetDB on Red Hat 6.4 Postgresql issues
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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Cory Stoker
2013-Jul-24 20:23 UTC
Re: [Puppet Users] Re: Installing PuppetDB on Red Hat 6.4 Postgresql issues
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 <greg.caldwell7@gmail.com> 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 puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.