Red Hat Satellite 5.7 installation fails with "Error: createdb: database creation failed"

Solution Unverified - Updated -

Issue

  • Red Hat Satellite 5.7 installation fails with below mentioned error:
Error:
createdb: database creation failed: ERROR:  new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
Error: createdb: database creation failed: ERROR:  encoding "UTF8" does not match locale "en_US" ; DETAIL:  The chosen LC_CTYPE setting requires encoding "LATIN1"

Environment

  • Red Hat Satellite 5.7
  • Red Hat Enterprise Linux 6.6

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.