<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Hi, I'm not sure at what point exactly you see this dropdb failure.<div>I checked the code at the dbscripts folder, and the only place where dropdb is run, is at the beginning of execution of create_db.sh which is run from create_db_devel.sh</div><div>In addition, when I tried to create with non existing DB, I saw the same print, but the DB was still created.</div><div><br></div><div>Please elaborate on what is your exact problem?</div><div>Do you manage to perform psql engine postgres after running the script?</div><div>You can also send us create_db.sh.log</div><div><br></div><div>Thanks!</div><div><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Stephen Liu" <satimis@yahoo.com><br><b>To: </b>users@ovirt.org<br><b>Sent: </b>Friday, November 9, 2012 7:09:05 AM<br><b>Subject: </b>[Users] Problem on creating database<br><br><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div>Hi all,<br><br>OS - Fedora 17 64bit<br>Manual:<br>http://wiki.ovirt.org/wiki/Building_Ovirt_Engine#Prerequisites<br><br><br>Creating the database <br>=================<br><br>$ ls /home/satimis/ | grep ovirt-engine<br>ovirt-engine<br><br>$OVIRT_HOME = /home/satimis<br><br>$ cd /home/satimis/ovirt-engine/backend/manager/dbscripts<br>$ sudo ./create_db_devel.sh -u postgres<br>Running original create_db script...<br>Creating the database: engine<br>dropdb: database removal failed: ERROR: database "engine" does not exist<br>user name is: postgres<br>Creating tables...<br>Creating functions...<br>Creating common functions...<br>Inserting data ...<br>.....<br>.....<br>Running upgrade sql script upgrade/post_upgrade/0010_add_object_column_white_list_table.sql ...<br>Setting development configuration values ...<br>Development
setting done.<br><br><br>dropdb: database removal failed: ERROR: database "engine" does not exist<br><br>Please advise how to fix the problem? TIA<br><br>B.R.<br>Stephen L<br></div></div><br>_______________________________________________<br>Users mailing list<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blockquote><br></div></div></body></html>