[Users] engine-setup fails on CentOS 6.4 because of postgresql

Yedidyah Bar David didi at redhat.com
Wed Aug 28 05:13:39 EDT 2013


Hi,

----- Original Message -----
> From: "Nux!" <nux at li.nux.ro>
> To: "Yedidyah Bar David" <didi at redhat.com>
> Cc: users at ovirt.org
> Sent: Wednesday, August 28, 2013 11:59:59 AM
> Subject: Re: [Users] engine-setup fails on CentOS 6.4 because of postgresql
> 
> On 28.08.2013 09:23, Yedidyah Bar David wrote:
> > Hi,
> > 
> > ----- Original Message -----
> >> From: "Nux!" <nux at li.nux.ro>
> >> To: users at ovirt.org
> >> Sent: Wednesday, August 28, 2013 11:14:55 AM
> >> Subject: [Users] engine-setup fails on CentOS 6.4 because of
> >> postgresql
> >> 
> >> Hello,
> >> 
> >> Installed ovirt engine from the official repos, but engine-setup
> >> fails
> >> because of the database. Logs here:
> >> http://paste.fedoraproject.org/35360/77293137/
> >> http://paste.fedoraproject.org/35361/76773031/
> > 
> > This file says:
> > createdb: database creation failed: ERROR:  encoding UTF8 does not
> > match locale en_GB
> > DETAIL:  The chosen LC_CTYPE setting requires encoding LATIN1.
> > 
> > Can you try with a UTF-8 locale?
> 
> Hi
> 
> What exactly should I do? I tried changing lc_ stuff in postgresql.conf
> to en_GB.UTF-8 but it doesn't help.

I think it's the OS's locale. What do you have in /etc/locale.conf ?
You can try changing that to:

LANG="en_US.UTF-8"

Then login again (or just open a new shell), and verify that it worked
by running:

locale

and verifying that there are no errors.
-- 
Didi


More information about the Users mailing list