install Red Hat Satellite and at the end following message appearsUnable to connect to defined database using: /usr/bin/psql --tuples-only --quiet -p 5432 --dbname postgres

Solution In Progress - Updated -

Issue

  • I try to install Red Hat Satellite and at the end following message appears:

Cause seems to be:

[DEBUG 2014-10-07 13:28:59 main]  hiera(): Cannot find datafile /var/lib/hiera/common.yaml, skipping
[DEBUG 2014-10-07 13:28:59 main]  hiera(): Looking up foreman::config::passenger::ssl_chain in YAML backend
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]  /Stage[main]/Postgresql::Server::Service/Postgresql::Validate_db_connection[validate_service_is_running]/Exec[validate postgres connection for /postgres]/returns: change from notrun to 0 failed: 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]

Environment

Red Hat Satellite 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.