<div dir="ltr">[root@rhevm8 ~]# rpm -qa|grep 'grep\|coreutils'<br>policycoreutils-python-2.0.83-19.18.el6.x86_64<br>coreutils-libs-8.4-16.el6.x86_64<br>coreutils-8.4-16.el6.x86_64<br>grep-2.6.3-2.el6.x86_64<br>policycoreutils-2.0.83-19.18.el6.x86_64<br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/22 <span dir="ltr"><<a href="mailto:j.astrego@netbulae.eu" target="_blank">j.astrego@netbulae.eu</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face="sans-serif">Hi,</font>
<br>
<br><font face="sans-serif">Line 199 of the </font><font size="3">dbfunctions.sh</font><font face="sans-serif">
script is: </font>
<br>
<br><font face="sans-serif"> isShellScript=$(file $execFile
| grep "shell" | wc -l)</font>
<br>
<br><font face="sans-serif">So can you check if "grep"
and "wc" are installed?</font>
<br>
<br><font face="sans-serif"> rpm
-qa|grep 'grep\|coreutils'</font>
<br>
<br><font face="sans-serif">-- <br>
Kind regards,</font>
<br><font face="sans-serif"><br>
Jorick Astrego<br>
Netbulae B.V.<br>
Site: </font><a href="http://www.netbulae.eu/" target="_blank"><font face="sans-serif">http://www.netbulae.eu</font></a>
<br>
<br>
<br>
<br><font color="#5f5f5f" face="sans-serif" size="1">From:
</font><font face="sans-serif" size="1">Paco qw <<a href="mailto:qw.iampaco@gmail.com" target="_blank">qw.iampaco@gmail.com</a>></font>
<br><font color="#5f5f5f" face="sans-serif" size="1">To:
</font><font face="sans-serif" size="1"><a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a></font>
<br><font color="#5f5f5f" face="sans-serif" size="1">Date:
</font><font face="sans-serif" size="1">05/22/2013 11:53</font>
<br><font color="#5f5f5f" face="sans-serif" size="1">Subject:
</font><font face="sans-serif" size="1">[Users] error
install on centos</font>
<br><font color="#5f5f5f" face="sans-serif" size="1">Sent by:
</font><font face="sans-serif" size="1"><a href="mailto:users-bounces@ovirt.org" target="_blank">users-bounces@ovirt.org</a></font>
<br>
<hr noshade><div><div class="h5">
<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...
[ 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 </font><a href="http://rhevm8.lab.topsonline.ru/" target="_blank"><font color="blue" size="3"><u>rhevm8.lab.topsonline.ru</u></font></a></div></div><font size="3"><div><div class="h5"><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 "engine" 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 "engine"
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 "#!/"<br>
LINE 1: #!/bin/bash<br>
^<br>
<br>
<br></div></div>
What am I doing wrong?</font><tt><font>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
</font></tt><a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank"><tt><font>http://lists.ovirt.org/mailman/listinfo/users</font></tt></a><tt><font><br>
</font></tt>
<br><font face="sans-serif"><br>
</font></blockquote></div><br></div>