[Users] Problem on creating database
Yair Zaslavsky
yzaslavs at redhat.com
Fri Nov 9 06:53:34 UTC 2012
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 at yahoo.com>
> To: users at 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 at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20121109/cf8c4610/attachment-0001.html>
More information about the Users
mailing list