<font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">Line 199 of the </font><font size=3>dbfunctions.sh</font><font size=2 face="sans-serif">
script is: </font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;isShellScript=$(file $execFile
| grep &quot;shell&quot; | wc -l)</font>
<br>
<br><font size=2 face="sans-serif">So can you check if &quot;grep&quot;
and &quot;wc&quot; are installed?</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; rpm
-qa|grep 'grep\|coreutils'</font>
<br>
<br><font size=2 face="sans-serif">-- <br>
Kind regards,</font>
<br><font size=2 face="sans-serif"><br>
Jorick Astrego<br>
Netbulae B.V.<br>
Site: &nbsp;</font><a href=http://www.netbulae.eu/><font size=2 face="sans-serif">http://www.netbulae.eu</font></a>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Paco qw &lt;qw.iampaco@gmail.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">users@ovirt.org</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">05/22/2013 11:53</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">[Users] error
install on centos</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">users-bounces@ovirt.org</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>Hello everyone.<br>
Ovirt install on Centos 6.2<br>
Run engine-setup and get the error.<br>
<br>
<br>
Installing:<br>
Configuring oVirt Engine...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[ DONE ]<br>
Creating Database...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[ 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 </font><a href=http://rhevm8.lab.topsonline.ru/><font size=3 color=blue><u>rhevm8.lab.topsonline.ru</u></font></a><font size=3><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: [&nbsp; OK&nbsp; ]<br>
[engine-db-install] starting postgres service.<br>
Starting postgresql service: [&nbsp; OK&nbsp; ]<br>
[engine-db-install] validating that postgres service is running...retry
1<br>
&nbsp;?column?<br>
----------<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br>
(1 row)<br>
<br>
[engine-db-install] checking if engine db exists already..<br>
psql: FATAL:&nbsp; 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:&nbsp; 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&nbsp; ...<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&nbsp; upgrade sql script upgrade/pre_upgrade/0000_config.sql ...<br>
./dbfunctions.sh: line 199: file: command not found<br>
Running&nbsp; upgrade sql script upgrade/pre_upgrade/0010_custom.sql ...<br>
./dbfunctions.sh: line 199: file: command not found<br>
Running&nbsp; 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&nbsp; 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&nbsp; upgrade sql script upgrade/03_00_0010_add_group_ids_to_users.sql
...<br>
./dbfunctions.sh: line 199: file: command not found<br>
Running&nbsp; 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&nbsp; 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&nbsp; upgrade sql script upgrade/03_00_0050_make_blank_template_pulic.sql
...<br>
./dbfunctions.sh: line 199: file: command not found<br>
Running&nbsp; upgrade sql script upgrade/03_00_0060_add_group_everyone.sql
...<br>
./dbfunctions.sh: line 199: file: command not found<br>
Running&nbsp; upgrade sql script upgrade/03_00_0100_add_device_size_to_luns.sql
...<br>
./dbfunctions.sh: line 199: file: command not found<br>
Running&nbsp; 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&nbsp; 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&nbsp; upgrade sql script upgrade/03_00_0150_update_roles.sql ...<br>
./dbfunctions.sh: line 199: file: command not found<br>
Running&nbsp; upgrade sql script upgrade/03_00_0180_add_guest_disk_size.sql
...<br>
./dbfunctions.sh: line 199: file: command not found<br>
Running&nbsp; upgrade sql script upgrade/03_00_0190_add_latency_vm_disks.sql
...<br>
./dbfunctions.sh: line 199: file: command not found<br>
Running&nbsp; upgrade sql script upgrade/03_00_0220_add_MaxAuditLogMessageLength_to_config.sql
...<br>
./dbfunctions.sh: line 199: file: command not found<br>
Running&nbsp; 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&nbsp; 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&nbsp; 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&nbsp; upgrade sql script upgrade/03_00_0300_add_local_admin_user.sql
...<br>
./dbfunctions.sh: line 199: file: command not found<br>
Running&nbsp; 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&nbsp; upgrade sql script upgrade/03_00_0360_upgrade_default_vds_group_thp.sql
...<br>
./dbfunctions.sh: line 199: file: command not found<br>
Running&nbsp; 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&nbsp; upgrade sql script upgrade/03_00_0410_add_disks_usage.sql
...<br>
./dbfunctions.sh: line 199: file: command not found<br>
Running&nbsp; upgrade sql script upgrade/03_00_0420_encrypt_pm_passwd.sh
...<br>
psql:upgrade/03_00_0420_encrypt_pm_passwd.sh:25: ERROR:&nbsp; syntax error
at or near &quot;#!/&quot;<br>
LINE 1: #!/bin/bash<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br>
<br>
<br>
What am I doing wrong?</font><tt><font size=2>_______________________________________________<br>
Users mailing list<br>
Users@ovirt.org<br>
</font></tt><a href=http://lists.ovirt.org/mailman/listinfo/users><tt><font size=2>http://lists.ovirt.org/mailman/listinfo/users</font></tt></a><tt><font size=2><br>
</font></tt>
<br><font size=2 face="sans-serif"><br>
</font>