
------=_Part_29453801_1604075649.1352444014424 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, I'm not sure at what point exactly you see this dropdb failure. 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 In addition, when I tried to create with non existing DB, I saw the same print, but the DB was still created. Please elaborate on what is your exact problem? Do you manage to perform psql engine postgres after running the script? You can also send us create_db.sh.log Thanks! ----- Original Message -----
From: "Stephen Liu" <satimis@yahoo.com> To: users@ovirt.org Sent: Friday, November 9, 2012 7:09:05 AM Subject: [Users] Problem on creating database
Hi all,
OS - Fedora 17 64bit Manual: http://wiki.ovirt.org/wiki/Building_Ovirt_Engine#Prerequisites
Creating the database =================
$ ls /home/satimis/ | grep ovirt-engine ovirt-engine
$OVIRT_HOME = /home/satimis
$ cd /home/satimis/ovirt-engine/backend/manager/dbscripts $ sudo ./create_db_devel.sh -u postgres Running original create_db script... Creating the database: engine dropdb: database removal failed: ERROR: database "engine" does not exist user name is: postgres Creating tables... Creating functions... Creating common functions... Inserting data ... ..... ..... Running upgrade sql script upgrade/post_upgrade/0010_add_object_column_white_list_table.sql ... Setting development configuration values ... Development setting done.
dropdb: database removal failed: ERROR: database "engine" does not exist
Please advise how to fix the problem? TIA
B.R. Stephen L
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
------=_Part_29453801_1604075649.1352444014424 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D'text/css'>p { margin: 0; }</style></head><body><= div style=3D'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 d= ropdb 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.s= h 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 pr= oblem?</div><div>Do you manage to perform psql engine postgres after runnin= g the script?</div><div>You can also send us create_db.sh.log</div><div><br=
</div><div>Thanks!</div><div><br><hr id=3D"zwchr"><blockquote style=3D"bor= der-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=3D"color:#000; background-color:#fff; font-fami= ly:arial, helvetica, sans-serif;font-size:12pt"><div>Hi all,<br><br>OS - Fe= dora 17 64bit<br>Manual:<br>http://wiki.ovirt.org/wiki/Building_Ovirt_Engin= e#Prerequisites<br><br><br>Creating the database <br>=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br><br>$ ls /home/satimis/ | grep ovirt-engi= ne<br>ovirt-engine<br><br>$OVIRT_HOME =3D /home/satimis<br><br>$ cd /home/s= atimis/ovirt-engine/backend/manager/dbscripts<br>$ sudo ./create_db_devel.s= h -u postgres<br>Running original create_db script...<br>Creating the datab= ase: engine<br>dropdb: database removal failed: ERROR: database "engi= ne" does not exist<br>user name is: postgres<br>Creating tables...<br>Creat= ing functions...<br>Creating common functions...<br>Inserting data ..= .<br>.....<br>.....<br>Running upgrade sql script upgrade/post_upgrad= e/0010_add_object_column_white_list_table.sql ...<br>Setting development co= nfiguration values ...<br>Development setting done.<br><br><br>dropdb: database removal failed: ERROR: dat= abase "engine" does not exist<br><br>Please advise how to fix the problem?&= nbsp; 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> ------=_Part_29453801_1604075649.1352444014424--