RHEVM 3.0 configuration failed with "Failed to create database rhevm"

Latest response

Hi 

when i try configuring  rhevm-3.0, it got failed at creating database. i tried all the source to solve, but could'nt. can some one find me a way to proceed. 

 

Log messages:

rhevm-db-install-2012_10_08_06_48_18.log::::

 

[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_SG

DETAIL:  The chosen LC_CTYPE setting requires encoding LATIN1.

Failed to create database rhevm

 

rhevm-setup_2012_10_08_06_13_09.log:::::::::

 

2012-10-08 06:28:28::ERROR::rhevm-setup::2295::root:: Traceback (most recent call last):

  File "/usr/bin/rhevm-setup", line 2289, in <module>
    main(confFile)
  File "/usr/bin/rhevm-setup", line 2126, in main
    runMainFunctions(conf)
  File "/usr/bin/rhevm-setup", line 2043, in runMainFunctions
    runFunction([_createDB,  _updateVDCOptions], output_messages.INFO_CREATE_DB)
  File "/usr/bin/rhevm-setup", line 1397, in runFunction
    raise Exception(instance)
Exception: Database creation failed
 
Thanks,
Inbaraj

Responses