Why does rhevm-setup fail when trying to create rhevm database on a RHEL 6.2 server?

Solution Verified - Updated -

Issue

  • When attempting to install RHEVm on RHEL 6.2 host, database creation fails with the following output:
[rhevm-db-install] checking if rhevm db exists already..
psql: FATAL:  database "rhevm" does not exist
[rhevm-db-install] rhevm not installed.
[rhevm-db-install] creating rhevm db on postgres.
/usr/share/rhevm/dbscripts ~
Creating the database: rhevm
dropdb: database removal failed: ERROR:  database "rhevm" does not exist
createdb: database creation failed: ERROR:  encoding UTF8 does not match locale en_US.iso885915
DETAIL:  The chosen LC_CTYPE setting requires encoding LATIN9.
Failed to create database rhevm

Environment

  • Red Hat Enterprise Virtualization 3.0
  • Red Hat Enterpirse Linux 6.3

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