Red Hat Satellite 6 installer fails with "Unable to connect to defined database using: /usr/bin/psql"

Solution Verified - Updated -

Issue

  • While upgrading Red Hat Satellite 6, following error is observed even if Postgres service is up and running.
Upgrade Step: Running installer...
 echo 'Unable to connect to defined database using: /usr/bin/psql --tuples-only --quiet    -p 5432  --dbname postgres ' && false returned 1 instead of one of [0]
/usr/share/ruby/vendor_ruby/puppet/util/errors.rb:106:in `fail'

Environment

  • Red Hat Satellite 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content