<div dir="ltr"><div dir="ltr"><span lang="en"><span>Hello everyone</span><span>.</span><br><span>Ovirt</span> <span>install</span> <span>on Centos 6.2</span><br><span>Run</span> <span>engine-setup and</span> <span>get the error</span><span>.</span><br>

<br></span><br><span lang="en"><span lang="en"><span>Installing:<br>Configuring oVirt Engine...                             [ DONE ]<br>Configuring JVM...                                      [ DONE ]<br>

Creating CA...                                          [ DONE ]<br>Updating ovirt-engine service...                        [ DONE ]<br>Setting Database Configuration...                       [ DONE ]<br>Setting Database Security...                            [ DONE ]<br>


Creating Database...                                 [ ERROR ]<br>Database creation failed<br>Please check log file /var/log/ovirt-engine/engine-setup_2011_11_24_05_36_26.log for more information<br><br>In log engine-db-install<br>

<br>#engine db installer log file on <a href="http://rhevm8.lab.topsonline.ru" target="_blank">rhevm8.lab.topsonline.ru</a><br>[engine-db-install] verifying required rpms are installed.<br>postgresql-server-8.4.9-1.el6_1.1.x86_64<br>
postgresql-8.4.9-1.el6_1.1.x86_64<br>
postgresql-libs-8.4.9-1.el6_1.1.x86_64<br>[engine-db-install] verifying postgres service exists.<br>[engine-db-install] init postgres db.<br>[engine-db-install] psgql db already been initialized.<br>[engine-db-install] changing authentication scheme from peer to ident.<br>

[engine-db-install] changing authentication scheme from ident to trust.<br>[engine-db-install] stop postgres service.<br>Stopping postgresql service: [  OK  ]<br>[engine-db-install] starting postgres service.<br>Starting postgresql service: [  OK  ]<br>

[engine-db-install] validating that postgres service is running...retry 1<br> ?column?<br>----------<br>        1<br>(1 row)<br><br>[engine-db-install] checking if engine db exists already..<br>psql: FATAL:  database &quot;engine&quot; does not exist<br>

[engine-db-install] engine not installed.<br>[engine-db-install] updating db admin credentials<br>DROP ROLE<br>CREATE ROLE<br>[engine-db-install] creating engine db on postgres.<br>/usr/share/ovirt-engine/dbscripts ~<br>
/usr/share/ovirt-engine/dbscripts /usr/share/ovirt-engine/dbscripts<br>
Creating the database: engine<br>dropdb: database removal failed: ERROR:  database &quot;engine&quot; does not exist<br>user name is: engine<br>Creating tables...<br>Creating functions...<br>Creating common functions...<br>

Inserting data  ...<br>Inserting pre-defined roles ...<br>Running upgrade scripts...<br>upgrade script detected a change in Config, View or Stored Procedure...<br>./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/pre_upgrade/0000_config.sql ...<br>

./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/pre_upgrade/0010_custom.sql ...<br>./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/pre_upgrade/0020_add_comment_col_to_schema_version.sql ...<br>

./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/pre_upgrade/0030_add_materialized_views_table.sql ...<br>Dropping materialized views...<br>./dbfunctions.sh: line 199: file: command not found<br>

Running  upgrade sql script upgrade/03_00_0010_add_group_ids_to_users.sql ...<br>./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0030_change_storage_format_type_to_str.sql ...<br>

./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0040_change_vm_dynamic_vm_ip_type.sql ...<br>./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0050_make_blank_template_pulic.sql ...<br>

./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0060_add_group_everyone.sql ...<br>./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0100_add_device_size_to_luns.sql ...<br>

./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0120_add_update_date_to_vm_templates.sql ...<br>./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0130_change_dwh_history_timekeeping_date_type.sql ...<br>

./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0150_update_roles.sql ...<br>./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0180_add_guest_disk_size.sql ...<br>

./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0190_add_latency_vm_disks.sql ...<br>./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0220_add_MaxAuditLogMessageLength_to_config.sql ...<br>

./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0260_change_app_list_type_to_text.sql ...<br>./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0270_change_users_group_ids_field_to_text.sql ...<br>

./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0280_change_blank_template_default_display_type_to_spice.sql ...<br>./dbfunctions.sh: line 199: file: command not found<br>
Running  upgrade sql script upgrade/03_00_0300_add_local_admin_user.sql ...<br>
./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0330_add_configuration_action_group_to_super_user_role.sql ...<br>./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0360_upgrade_default_vds_group_thp.sql ...<br>

./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0380_add_otp_validity_to_vds_static.sql ...<br>./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0410_add_disks_usage.sql ...<br>

./dbfunctions.sh: line 199: file: command not found<br>Running  upgrade sql script upgrade/03_00_0420_encrypt_pm_passwd.sh ...<br>psql:upgrade/03_00_0420_encrypt_pm_passwd.sh:25: ERROR:  syntax error at or near &quot;#!/&quot;<br>

LINE 1: #!/bin/bash<br>        ^<br><br><br></span></span><span>What am I doing</span> <span>wrong?</span></span></div></div>