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, 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