Why rhevm-dwh-setup and rhevm-reports-setup fails with an error?
Issue
- var/log/ovirt-engine/ovirt-history-db-install-2013_07_05_14_07_43.log:
createdb: database creation failed: ERROR: encoding UTF8 does not match locale en_US <===
DETAIL: The chosen LC_CTYPE setting requires encoding LATIN1. <===
Failed to create database ovirt_engine_history
- var/log/ovirt-engine/ovirt-engine-reports-setup-2013_07_05_14_08_45.log:
/usr/share/jasperreports-server-pro/buildomatic/bin/app-server.xml:60: org.postgresql.util.PSQLException: ERROR: encoding UTF8 does not match locale en_US
Detail: The chosen LC_CTYPE setting requires encoding LATIN1.
psql -U postgres -l
Password for user postgres:
List of databases
Name | Owner | Encoding | Collation | Ctype | Access privileges
-----------+----------+----------+------------+------------+-----------------------
engine | engine | UTF8 | en_US.UTF8 | en_US.UTF8 | <======
postgres | postgres | LATIN1 | en_US | en_US |
template0 | postgres | LATIN1 | en_US | en_US | =c/postgres
: postgres=CTc/postgres
template1 | postgres | LATIN1 | en_US | en_US | =c/postgres
: postgres=CTc/postgres
Environment
- Red Hat Enterprise Virtualization (RHEV) 3.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.