RHEVM 3.0 configuration failed with "Failed to create database rhevm"
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):
Responses
Hello,
Is this a fresh install on a new installed RHEL 6.x ?
I checked my logs from my latest install and it did not contain the lines
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
br
Peter Calum
Hi,
I used this home made procedure several times with good results, but it's
made from the official install guide
# RHEVM Manager installation
Start with clean server (delete/create raid)
install basic linux server 6.3 (no extra rpm's)
16 GB Ram, 16 GB swap (8 GB of each will work)
Default disk layout
# register to RHN
rhn_register
rhn-channel --list
rhn-channel --help
rhn-channel --available-channels
# Add subscriptions
rhn-channel --add --channel=jbappplatform-5-x86_64-server-6-rpm
rhn-channel --add --channel=rhel-x86_64-server-supplementary-6
rhn-channel --add --channel=rhel-x86_64-server-6-rhevm-3
rhn-channel --add --channel=rhel-x86_64-server-6-rhevh
rhn-channel --list
yum remove classpathx-jaf (if present)
# update OS
yum upgrade
#reboot
init 6
# install RHEVM
yum install rhevm
# install RHEV Hypervisor (for hypervisor upgrades)
yum install rhev-hypervisor6
# Configuration of RHEVM
rhevm-setup --help
rhevm-setup
## if something goes wrong do --> rhevm-cleanup
init 6
log in to rhevm
#
br
Peter
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
