[Users] Problem on creating database

---559651860-1497380370-1352437745=:29365 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,=0A=0AOS - Fedora 17 64bit=0AManual:=0Ahttp://wiki.ovirt.org/wiki/Bu= ilding_Ovirt_Engine#Prerequisites=0A=0A=0ACreating the database =0A=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=0A$ ls /home/satimis/ | gr= ep ovirt-engine=0Aovirt-engine=0A=0A$OVIRT_HOME =3D /home/satimis=0A=0A$ cd= /home/satimis/ovirt-engine/backend/manager/dbscripts=0A$ sudo ./create_db_= devel.sh -u postgres=0ARunning original create_db script...=0ACreating the = database: engine=0Adropdb: database removal failed: ERROR:=A0 database "eng= ine" does not exist=0Auser name is: postgres=0ACreating tables...=0ACreatin= g functions...=0ACreating common functions...=0AInserting data=A0 ...=0A...= ..=0A.....=0ARunning=A0 upgrade sql script upgrade/post_upgrade/0010_add_ob= ject_column_white_list_table.sql ...=0ASetting development configuration va= lues ...=0ADevelopment setting done.=0A=0A=0Adropdb: database removal faile= d: ERROR:=A0 database "engine" does not exist=0A=0APlease advise how to fix= the problem?=A0 TIA=0A=0AB.R.=0AStephen L ---559651860-1497380370-1352437745=:29365 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"color:#000; background-color:#fff; font-family:ar= ial, 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#Pre= requisites<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-engine<br>= ovirt-engine<br><br>$OVIRT_HOME =3D /home/satimis<br><br>$ cd /home/satimis= /ovirt-engine/backend/manager/dbscripts<br>$ sudo ./create_db_devel.sh -u p= ostgres<br>Running original create_db script...<br>Creating the database: e= ngine<br>dropdb: database removal failed: ERROR: database "engine" do= es not exist<br>user name is: postgres<br>Creating tables...<br>Creating fu= nctions...<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 configur= ation 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></body></html> ---559651860-1497380370-1352437745=:29365--

------=_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--

=0A>Hi, I'm not sure at what point exactly you see this dropdb failure.=0A= I checked the code at the dbscripts folder, and the only place where dropd= b is run, is at the beginning of execution of create_db.sh which is run fro= m create_db_devel.sh=0A>In addition, when I tried to create with non existi= ng DB, I saw the same print, but the DB was still created.=0A>=0A>=0A>Pleas= e elaborate on what is your exact problem?=0A>Do you manage to perform psql= engine postgres after running the script?=0A>You can also send us create_d= b.sh.log=0A>=0A>=0A>Thanks!=0A>=0A>>________________________________=0A>=0A= From: "Stephen Liu" <satimis@yahoo.com>=0A>>To: users@ovirt.org=0A>>Sent: = Friday, November 9, 2012 7:09:05 AM=0A>>Subject: [Users] Problem on creatin= g database=0A>>=0A>>=0A>>Hi all,=0A>>=0A>>OS - Fedora 17 64bit=0A>>Manual:= =0A>>http://wiki.ovirt.org/wiki/Building_Ovirt_Engine#Prerequisites=0A>>=0A=
=0A>>Creating the database =0A>>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=0A>>=0A>>$ ls /home/satimis/ | grep ovirt-engine=0A>>ovirt-eng= ine=0A>>=0A>>$OVIRT_HOME =3D /home/satimis=0A>>=0A>>$ cd /home/satimis/ovir= t-engine/backend/manager/dbscripts=0A>>$ sudo ./create_db_devel.sh -u postg= res=0A>>Running original create_db script...=0A>>Creating the database: eng= ine=0A>>dropdb: database removal failed: ERROR:=A0 database "engine" does n= ot exist=0A>>user name is: postgres=0A>>Creating tables...=0A>>Creating fun= ctions...=0A>>Creating common functions...=0A>>Inserting data=A0 ...=0A>>..= ...=0A>>.....=0A>>Running=A0 upgrade sql script upgrade/post_upgrade/0010_a=
---409489618-687392277-1352449126=:14044 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi,=0A=0AOn running further to install oVirt I encountered following proble= m;=0A=0ASteps performed;=0A=0A$ cd $OVIRT_HOME=0A=0A$ mvn clean install=0A/= usr/lib/jvm/java=0A[INFO] Scanning for projects...=0A[INFO] ---------------= ---------------------------------------------------------=0A[INFO] BUILD FA= ILURE=0A[INFO] ------------------------------------------------------------= ------------=0A[INFO] Total time: 0.110s=0A[INFO] Finished at: Fri Nov 09 1= 2:23:57 HKT 2012=0A[INFO] Final Memory: 5M/115M=0A[INFO] ------------------= ------------------------------------------------------=0A[ERROR] The goal y= ou specified requires a project to execute but there is no POM in this dire= ctory (/home/satimis). Please verify you invoked Maven from the correct dir= ectory. -> [Help 1]=0A[ERROR] =0A[ERROR] To see the full stack trace of the= errors, re-run Maven with the -e switch.=0A[ERROR] Re-run Maven using the = -X switch to enable full debug logging.=0A[ERROR] =0A[ERROR] For more infor= mation about the errors and possible solutions, please read the following a= rticles:=0A[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVE= N/MissingProjectException=0A=0AFailure ?=0A=0A=0A$ mvn --version=0A/usr/lib= /jvm/java=0AApache Maven 3.0.4 (rNON-CANONICAL_2012-10-24_11-25_mockbuild; = 2012-10-24 19:25:04+0800)=0AMaven home: /usr/share/maven=0AJava version: 1.= 7.0_09-icedtea, vendor: Oracle Corporation=0AJava home: /usr/lib/jvm/java-1= .7.0-openjdk-1.7.0.9.x86_64/jre=0ADefault locale: en_US, platform encoding:= UTF-8=0AOS name: "linux", version: "3.6.5-1.fc17.x86_64", arch: "amd64", f= amily: "unix"=0A=0A=0AB.R.=0AStephen L=0A=0A=0A=0A=0A>_____________________= ___________=0A> From: Yair Zaslavsky <yzaslavs@redhat.com>=0A>To: Stephen L= iu <satimis@yahoo.com> =0A>Cc: users@ovirt.org =0A>Sent: Friday, November 9= , 2012 2:53 PM=0A>Subject: Re: [Users] Problem on creating database=0A> =0A= dd_object_column_white_list_table.sql ...=0A>>Setting development configura= tion values ...=0A>>Development=0A setting done.=0A>>=0A>>=0A>>dropdb: data= base removal failed: ERROR:=A0 database "engine" does not exist=0A>>=0A>>Pl= ease advise how to fix the problem?=A0 TIA=0A>>=0A>>B.R.=0A>>Stephen L=0A>>= =0A>>_______________________________________________=0A>>Users mailing list= =0A>>Users@ovirt.org=0A>>http://lists.ovirt.org/mailman/listinfo/users=0A>>= =0A>=0A>=0A> ---409489618-687392277-1352449126=:14044 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"color:#000; background-color:#fff; font-family:ar= ial, helvetica, sans-serif;font-size:12pt">Hi,<br><br>On running further to= install oVirt I encountered following problem;<br><br>Steps performed;<br>= <br>$ cd $OVIRT_HOME<br><br>$ mvn clean install<br>/usr/lib/jvm/java<br>[IN= FO] Scanning for projects...<br>[INFO] ------------------------------------= ------------------------------------<br>[INFO] BUILD FAILURE<br>[INFO] ----= --------------------------------------------------------------------<br>[IN= FO] Total time: 0.110s<br>[INFO] Finished at: Fri Nov 09 12:23:57 HKT 2012<= br>[INFO] Final Memory: 5M/115M<br>[INFO] ---------------------------------= ---------------------------------------<br>[ERROR] The goal you specified r= equires a project to execute but there is no POM in this directory (/home/s= atimis). Please verify you invoked Maven from the correct directory. -> = [Help 1]<br>[ERROR] <br>[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.<br>[ERROR] Re-run Maven using the= -X switch to enable full debug logging.<br>[ERROR] <br>[ERROR] For more in= formation about the errors and possible solutions, please read the followin= g articles:<br>[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/= MAVEN/MissingProjectException<br><br>Failure ?<br><br><br>$ mvn --version<b= r>/usr/lib/jvm/java<br>Apache Maven 3.0.4 (rNON-CANONICAL_2012-10-24_11-25_= mockbuild; 2012-10-24 19:25:04+0800)<br>Maven home: /usr/share/maven<br>Jav= a version: 1.7.0_09-icedtea, vendor: Oracle Corporation<br>Java home: /usr/= lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/jre<br>Default locale: en_US, pla= tform encoding: UTF-8<br>OS name: "linux", version: "3.6.5-1.fc17.x86_64", = arch: "amd64", family: "unix"<br><br><div><span>B.R.</span></div><div style= =3D"color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans= -serif; background-color: transparent; font-style: normal;"><span>Stephen L<br></span></div><div><br><blockquote style=3D"bor= der-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; pa= dding-left: 5px;"> <div style=3D"font-family: arial, helvetica, sans-serif= ; font-size: 12pt;"> <div style=3D"font-family: times new roman, new york, = times, serif; font-size: 12pt;"> <div dir=3D"ltr"> <font face=3D"Arial" siz= e=3D"2"> <hr size=3D"1"> <b><span style=3D"font-weight:bold;">From:</span>= </b> Yair Zaslavsky <yzaslavs@redhat.com><br> <b><span style=3D"font-= weight: bold;">To:</span></b> Stephen Liu <satimis@yahoo.com> <br><b>= <span style=3D"font-weight: bold;">Cc:</span></b> users@ovirt.org <br> <b><= span style=3D"font-weight: bold;">Sent:</span></b> Friday, November 9, 2012= 2:53 PM<br> <b><span style=3D"font-weight: bold;">Subject:</span></b> Re: = [Users] Problem on creating database<br> </font> </div> <br><div id=3D"yiv1= 568958954"><style type=3D"text/css">#yiv1568958954 p {margin:0;}</style><di= v><div style=3D"font-family:times new roman, new york, times, serif;font-size:12p= t;color:#000000;">Hi, I'm not sure at what point exactly you see this dropd= b failure.<div>I checked the code at the dbscripts folder, and the only pla= ce where dropdb is run, is at the beginning of execution of create_db.sh wh= ich is run from create_db_devel.sh</div><div>In addition, when I tried to c= reate with non existing DB, I saw the same print, but the DB was still crea= ted.</div><div><br></div><div>Please elaborate on what is your exact proble= m?</div><div>Do you manage to perform psql engine postgres after running th= e script?</div><div>You can also send us create_db.sh.log</div><div><br></d= iv><div>Thanks!</div><div><br><hr id=3D"yiv1568958954zwchr"><blockquote sty= le=3D"border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5= px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;fon= t-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>[Use= rs] Problem on creating database<br><br><div style=3D"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/wik= i/Building_Ovirt_Engine#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/satim= is/ | grep ovirt-engine<br>ovirt-engine<br><br>$OVIRT_HOME =3D /home/satimi= s<br><br>$ cd /home/satimis/ovirt-engine/backend/manager/dbscripts<br>$ sud= o ./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>Creati= ng tables...<br>Creating functions...<br>Creating common functions...<br>In= serting data ...<br>.....<br>.....<br>Running upgrade sql script upgrade/post_upg= rade/0010_add_object_column_white_list_table.sql ...<br>Setting development= configuration values ...<br>Development=0A 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>Us= ers mailing list<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listi= nfo/users<br></blockquote><br></div></div></div></div><br><br> </div> </div= </blockquote></div> </div></body></html> ---409489618-687392277-1352449126=:14044--

Hey Stephen, Is that possible that OVIRT_HOME is not set properly? Maven looks for pom.xml file in the directory tha mvn command is run from, and according to the error there is no such file there (in /home/satimis). Have a nice day, Oved ----- Original Message -----
From: "Stephen Liu" <satimis@yahoo.com> To: "Yair Zaslavsky" <yzaslavs@redhat.com> Cc: users@ovirt.org Sent: Friday, November 9, 2012 10:18:46 AM Subject: Re: [Users] Problem on creating database
Hi,
On running further to install oVirt I encountered following problem;
Steps performed;
$ cd $OVIRT_HOME
$ mvn clean install /usr/lib/jvm/java [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.110s [INFO] Finished at: Fri Nov 09 12:23:57 HKT 2012 [INFO] Final Memory: 5M/115M [INFO] ------------------------------------------------------------------------ [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/home/satimis). Please verify you invoked Maven from the correct directory. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
Failure ?
$ mvn --version /usr/lib/jvm/java Apache Maven 3.0.4 (rNON-CANONICAL_2012-10-24_11-25_mockbuild; 2012-10-24 19:25:04+0800) Maven home: /usr/share/maven Java version: 1.7.0_09-icedtea, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.6.5-1.fc17.x86_64", arch: "amd64", family: "unix"
B.R. Stephen L
From: Yair Zaslavsky <yzaslavs@redhat.com> To: Stephen Liu <satimis@yahoo.com> Cc: users@ovirt.org Sent: Friday, November 9, 2012 2:53 PM Subject: Re: [Users] Problem on creating database
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!
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
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

=0A>Hey Stephen,=0A>=0A>Is that possible that OVIRT_HOME is not set prope= rly?=0A>Maven looks for pom.xml file in the directory tha mvn command is ru= n from, and according to the error there is no such file there (in /home/sa= timis).=0A>=0A>Have a nice day,=0A>Oved=0A>----- Original Message -----=0A>= From: "Stephen Liu" <satimis@yahoo.com>=0A>> To: "Yair Zaslavsky" <yzasla= vs@redhat.com>=0A>> Cc: users@ovirt.org=0A>> Sent: Friday, November 9, 2012= 10:18:46 AM=0A>> Subject: Re: [Users] Problem on creating database=0A>> = =0A>> =0A>> =0A>> Hi,=0A>> =0A>> On running further to install oVirt I enco= untered following problem;=0A>> =0A>> Steps performed;=0A>> =0A>> $ cd $OVI= RT_HOME=0A>> =0A>> $ mvn clean install=0A>> /usr/lib/jvm/java=0A>> [INFO] S= canning for projects...=0A>> [INFO]=0A>> ----------------------------------= --------------------------------------=0A>> [INFO] BUILD FAILURE=0A>> [INFO= ]=0A>> --------------------------------------------------------------------= ----=0A>> [INFO] Total time: 0.110s=0A>> [INFO] Finished at: Fri Nov 09 12:= 23:57 HKT 2012=0A>> [INFO] Final Memory: 5M/115M=0A>> [INFO]=0A>> ---------= ---------------------------------------------------------------=0A>> [ERROR= ] The goal you specified requires a project to execute but=0A>> there is no= POM in this directory (/home/satimis). Please verify you=0A>> invoked Mave= n from the correct directory. -> [Help 1]=0A>> [ERROR]=0A>> [ERROR] To see =
=0A>> =0A>> From: "Stephen Liu" <satimis@yahoo.com>=0A>> To: users@ovirt.= org=0A>> Sent: Friday, November 9, 2012 7:09:05 AM=0A>> Subject: [Users] Pr= oblem on creating database=0A>> =0A>> =0A>> =0A>> Hi all,=0A>> =0A>> OS - F= edora 17 64bit=0A>> Manual:=0A>> http://wiki.ovirt.org/wiki/Building_Ovirt_= Engine#Prerequisites=0A>> =0A>> =0A>> Creating the database=0A>> =3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A>> =0A>> $ ls /home/satimis/ |= grep ovirt-engine=0A>> ovirt-engine=0A>> =0A>> $OVIRT_HOME =3D /home/satim= is=0A>> =0A>> $ cd /home/satimis/ovirt-engine/backend/manager/dbscripts=0A>= $ sudo ./create_db_devel.sh -u postgres=0A>> Running original create_db s= cript...=0A>> Creating the database: engine=0A>> dropdb: database removal f= ailed: ERROR: database "engine" does not=0A>> exist=0A>> user name is: post= gres=0A>> Creating tables...=0A>> Creating functions...=0A>> Creating commo= n functions...=0A>> Inserting data ...=0A>> .....=0A>> .....=0A>> Running u=
$ mvn clean install -Pdep,setup<br>......<br>[INFO] Executed tasks<br>[INF= O] ------------------------------------------------------------------------= <br>[INFO] BUILD SUCCESS<br>[INFO] ------------------------------------------------------------------------<b= r>[INFO] Total time: 11.948s<br>[INFO] Finished at: Fri Nov 09 17:39:27 HKT= 2012<br>[INFO] Final Memory: 16M/331M<br>[INFO] --------------------------= ----------------------------------------------<br><br><br>$ mvn clean insta= ll -Pdep<br>.......<br>[INFO] ---------------------------------------------= ---------------------------<br>[INFO] BUILD SUCCESS<br>[INFO] -------------= -----------------------------------------------------------<br>[INFO] Total= time: 5.990s<br>[INFO] Finished at: Fri Nov 09 17:40:38 HKT 2012<br>[INFO]= Final Memory: 16M/331M<br>[INFO] -----------------------------------------= -------------------------------<br><br><br>Copying vdsm bootstrap files (th= is step ignored)<br><br><br>Deploying engine-config & engine-manage-dom= ains <br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br><br>$ cd ..<br><b= r>$ make create_dirs<br>*** Creating Directories<br>install: cannot create directory `/usr/local/share/ovirt-engine': Permission denied<br>mak= e: *** [create_dirs] Error 1<br><br><br>Again;<br>=3D=3D=3D=3D=3D<br>$ sudo= make create_dirs<br>[sudo] password for satimis: <br>*** Creating Director= ies<br><br><br>$ make install_tools<br>make: *** No rule to make target `in= stall_tools'. Stop.<br><br>$ sudo make install_tools<br>make: *** No = rule to make target `install_tools'. Stop.<br><br>Encountered problem= here. Please help<br><br><br>Continued<br>=3D=3D=3D=3D=3D=3D=3D=3D<b= r><br>$ make install_config<br>*** Deploying engine-config & engine-man= age-domains<br># Configuration files for the configuration tool:<br>install= -m 644 backend/manager/tools/engine-config/src/main/resources/engine-confi= g.conf /usr/local/etc/ovirt-engine/engine-config/<br>install: cannot create= regular file `/usr/local/etc/ovirt-engine/engine-config/engine-config.conf= ': Permission denied<br>make: *** [install_config] Error 1<br><br><br>Again= ;<br>=3D=3D=3D=3D=3D<br>$ sudo make install_config<br>*** Deploying engine-config & engine-manag= e-domains<br># Configuration files for the configuration tool:<br>install -= m 644 backend/manager/tools/engine-config/src/main/resources/engine-config.= conf /usr/local/etc/ovirt-engine/engine-config/<br>install -m 644 backend/m= anager/tools/engine-config/src/main/resources/engine-config.*properties /us= r/local/etc/ovirt-engine/engine-config/<br>install -m 644 backend/manager/t= ools/engine-config/src/main/resources/log4j.xml /usr/local/etc/ovirt-engine= /engine-config/<br># Main program for the configuration tool:<br>install -m= 750 backend/manager/tools/engine-config/src/main/resources/engine-config /= usr/local/share/ovirt-engine/bin/engine-config.sh<br>ln -s /usr/local/share= /ovirt-engine/bin/engine-config.sh /usr/local/bin/engine-config<br># Config= uration files for the domain management tool:<br>install -m 644 backend/man= ager/modules/utils/src/main/resources/engine-manage-domains.conf /usr/local/etc/ovirt-engine/engine-manage-domains/<br>install -m 644 backe= nd/manager/modules/utils/src/main/resources/engine-manage-domains/log4j.xml= /usr/local/etc/ovirt-engine/engine-manage-domains/<br># Main program for t= he domain management tool:<br>install -m 750 backend/manager/conf/kerberos/= engine-manage-domains /usr/local/share/ovirt-engine/bin/engine-manage-domai= ns.sh<br>ln -s /usr/local/share/ovirt-engine/bin/engine-manage-domains.sh /= usr/local/bin/engine-manage-domains<br><br>It worked.<br><br><br>$ sudo ps = ax | grep java<br> 8392 pts/0 S+ &n= bsp; 0:00 grep --color=3Dauto java<br><br>jboss is running ???<br><br><br>I= stopped here without proceeding further in anticipating to rectify previou= s errors first.<br><br>Please help. TIA<br><br>B.R.<br>Stephen L<br><= br><div><span><br></span></div><div><span></span></div><div><br><blockquote=
<span style=3D"font-weight: bold;">Subject:</span></b> Re: [Users] Problem= on creating database<br> </font> </div> <br>Hey Stephen,<br><br>Is that po= ssible that OVIRT_HOME is not set properly?<br>Maven looks for pom.xml file= in the directory tha mvn command is run from, and according to the error t= here is no such file there (in /home/satimis).<br><br>Have a nice day,<br>Oved<br>----- Or= iginal Message -----<br>> From: "Stephen Liu" <<a ymailto=3D"mailto:s= atimis@yahoo.com" href=3D"mailto:satimis@yahoo.com">satimis@yahoo.com</a>&g= t;<br>> To: "Yair Zaslavsky" <<a ymailto=3D"mailto:yzaslavs@redhat.co= m" href=3D"mailto:yzaslavs@redhat.com">yzaslavs@redhat.com</a>><br>> = Cc: <a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.org">u= sers@ovirt.org</a><br>> Sent: Friday, November 9, 2012 10:18:46 AM<br>&g= t; Subject: Re: [Users] Problem on creating database<br>> <br>> <br>&= gt; <br>> Hi,<br>> <br>> On running further to install oVirt I enc= ountered following problem;<br>> <br>> Steps performed;<br>> <br>&= gt; $ cd $OVIRT_HOME<br>> <br>> $ mvn clean install<br>> /usr/lib/= jvm/java<br>> [INFO] Scanning for projects...<br>> [INFO]<br>> ---= ---------------------------------------------------------------------<br>&g= t; [INFO] BUILD FAILURE<br>> [INFO]<br>> ------------------------------= ------------------------------------------<br>> [INFO] Total time: 0.110= s<br>> [INFO] Finished at: Fri Nov 09 12:23:57 HKT 2012<br>> [INFO] F= inal Memory: 5M/115M<br>> [INFO]<br>> -------------------------------= -----------------------------------------<br>> [ERROR] The goal you spec= ified requires a project to execute but<br>> there is no POM in this dir= ectory (/home/satimis). Please verify you<br>> invoked Maven from the co= rrect directory. -> [Help 1]<br>> [ERROR]<br>> [ERROR] To see the = full stack trace of the errors, re-run Maven with<br>> the -e switch.<br= > [ERROR] Re-run Maven using the -X switch to enable full debug<br>>= logging.<br>> [ERROR]<br>> [ERROR] For more information about the er= rors and possible solutions,<br>> please read the following articles:<br= > [ERROR] [Help 1]<br>> <a
> $ mvn --version<br>> /usr/lib/jvm/java<br>> Apache Maven 3.0.4 = (rNON-CANONICAL_2012-10-24_11-25_mockbuild;<br>> 2012-10-24 19:25:04+080= 0)<br>> Maven home: /usr/share/maven<br>> Java version: 1.7.0_09-iced= tea, vendor: Oracle Corporation<br>> Java home: /usr/lib/jvm/java-1.7.0-= openjdk-1.7.0.9.x86_64/jre<br>> Default locale: en_US, platform encoding= : UTF-8<br>> OS name: "linux", version: "3.6.5-1.fc17.x86_64", arch: "am= d64",<br>> family: "unix"<br>> <br>> <br>> B.R.<br>> Stephen= L<br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <= br>> From: Yair Zaslavsky <<a ymailto=3D"mailto:yzaslavs@redhat.com" =
--1552829269-1350755873-1352455697=:20408 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Oved,=0A=0A=0AThis time I used the full path=0A=0A=0A$ cd /home/satimis/= ovirt-engine/backend/manager/dbscripts=0A$ sudo ./create_db_devel.sh -u pos= tgres=0A[sudo] password for satimis: =0ARunning original create_db script..= .=0ACreating the database: engine=0Auser name is: postgres=0ACreating table= s...=0ACreating functions...=0A.....=0ACreating stored procedures from vds_= groups_sp.sql ...=0ACreating stored procedures from vds_spm_id_map_sp.sql .= ..=0ACreating stored procedures from vds_sp.sql ...=0ACreating stored proce= dures from vm_device_sp.sql ...=0ACreating stored procedures from vm_pool_m= aps_sp.sql ...=0ACreating stored procedures from vm_pools_sp.sql ...=0ACrea= ting stored procedures from vms_sp.sql ...=0ACreating stored procedures fro= m vm_templates_sp.sql ...=0ARunning=A0 upgrade sql script upgrade/post_upgr= ade/0010_add_object_column_white_list_table.sql ...=0ASetting development c= onfiguration values ...=0ADevelopment setting done.=0A=0A=0Ait worked.=0A= =0AWhat is the correct command/step creating $OVIRT_HOME which includes /ho= me/satimis/ovirt-engine ?=A0 Thanks=0A=0A=0AContinued=0A=3D=3D=3D=3D=3D=3D= =3D=3D=0A=0A$ cd ../../..=0A$ mvn clean install=0A=0AIt took long time to c= omplete=0A=0A=0ADeploy =0A=3D=3D=3D=3D=3D=3D=0A=0A$ ls=0Abackend=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 config=A0=A0=A0=A0=A0 ear=A0=A0=A0=A0=A0=A0 LICENSE= =A0=A0 packaging=0Abuild-tools-root=A0 deployment=A0 frontend=A0 Makefile= =A0 pom.xml=0A=0A$ cd ear/=0A$ mvn clean install -Pdep,setup=0A......=0A[IN= FO] Executed tasks=0A[INFO] -----------------------------------------------= -------------------------=0A[INFO] BUILD SUCCESS=0A[INFO] -----------------= -------------------------------------------------------=0A[INFO] Total time= : 11.948s=0A[INFO] Finished at: Fri Nov 09 17:39:27 HKT 2012=0A[INFO] Final= Memory: 16M/331M=0A[INFO] ------------------------------------------------= ------------------------=0A=0A=0A$ mvn clean install -Pdep=0A.......=0A[INF= O] ------------------------------------------------------------------------= =0A[INFO] BUILD SUCCESS=0A[INFO] ------------------------------------------= ------------------------------=0A[INFO] Total time: 5.990s=0A[INFO] Finishe= d at: Fri Nov 09 17:40:38 HKT 2012=0A[INFO] Final Memory: 16M/331M=0A[INFO]= ------------------------------------------------------------------------= =0A=0A=0ACopying vdsm bootstrap files (this step ignored)=0A=0A=0ADeploying= engine-config & engine-manage-domains =0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=0A=0A$ cd ..=0A=0A$ make create_dirs=0A*** Creating Directorie= s=0Ainstall: cannot create directory `/usr/local/share/ovirt-engine': Permi= ssion denied=0Amake: *** [create_dirs] Error 1=0A=0A=0AAgain;=0A=3D=3D=3D= =3D=3D=0A$ sudo make create_dirs=0A[sudo] password for satimis: =0A*** Crea= ting Directories=0A=0A=0A$ make install_tools=0Amake: *** No rule to make t= arget `install_tools'.=A0 Stop.=0A=0A$ sudo make install_tools=0Amake: *** = No rule to make target `install_tools'.=A0 Stop.=0A=0AEncountered problem h= ere.=A0 Please help=0A=0A=0AContinued=0A=3D=3D=3D=3D=3D=3D=3D=3D=0A=0A$ mak= e install_config=0A*** Deploying engine-config & engine-manage-domains=0A# = Configuration files for the configuration tool:=0Ainstall -m 644 backend/ma= nager/tools/engine-config/src/main/resources/engine-config.conf /usr/local/= etc/ovirt-engine/engine-config/=0Ainstall: cannot create regular file `/usr= /local/etc/ovirt-engine/engine-config/engine-config.conf': Permission denie= d=0Amake: *** [install_config] Error 1=0A=0A=0AAgain;=0A=3D=3D=3D=3D=3D=0A$= sudo make install_config=0A*** Deploying engine-config & engine-manage-dom= ains=0A# Configuration files for the configuration tool:=0Ainstall -m 644 b= ackend/manager/tools/engine-config/src/main/resources/engine-config.conf /u= sr/local/etc/ovirt-engine/engine-config/=0Ainstall -m 644 backend/manager/t= ools/engine-config/src/main/resources/engine-config.*properties /usr/local/= etc/ovirt-engine/engine-config/=0Ainstall -m 644 backend/manager/tools/engi= ne-config/src/main/resources/log4j.xml /usr/local/etc/ovirt-engine/engine-c= onfig/=0A# Main program for the configuration tool:=0Ainstall -m 750 backen= d/manager/tools/engine-config/src/main/resources/engine-config /usr/local/s= hare/ovirt-engine/bin/engine-config.sh=0Aln -s /usr/local/share/ovirt-engin= e/bin/engine-config.sh /usr/local/bin/engine-config=0A# Configuration files= for the domain management tool:=0Ainstall -m 644 backend/manager/modules/u= tils/src/main/resources/engine-manage-domains.conf /usr/local/etc/ovirt-eng= ine/engine-manage-domains/=0Ainstall -m 644 backend/manager/modules/utils/s= rc/main/resources/engine-manage-domains/log4j.xml /usr/local/etc/ovirt-engi= ne/engine-manage-domains/=0A# Main program for the domain management tool:= =0Ainstall -m 750 backend/manager/conf/kerberos/engine-manage-domains /usr/= local/share/ovirt-engine/bin/engine-manage-domains.sh=0Aln -s /usr/local/sh= are/ovirt-engine/bin/engine-manage-domains.sh /usr/local/bin/engine-manage-= domains=0A=0AIt worked.=0A=0A=0A$ sudo ps ax | grep java=0A=A08392 pts/0=A0= =A0=A0 S+=A0=A0=A0=A0 0:00 grep --color=3Dauto java=0A=0Ajboss is running ?= ??=0A=0A=0AI stopped here without proceeding further in anticipating to rec= tify previous errors first.=0A=0APlease help.=A0 TIA=0A=0AB.R.=0AStephen L= =0A=0A=0A=0A=0A=0A=0A=0A>________________________________=0A> From: Oved Ou= rfalli <ovedo@redhat.com>=0A>To: Stephen Liu <satimis@yahoo.com> =0A>Cc: us= ers@ovirt.org; Yair Zaslavsky <yzaslavs@redhat.com> =0A>Sent: Friday, Novem= ber 9, 2012 4:38 PM=0A>Subject: Re: [Users] Problem on creating database=0A= the full stack trace of the errors, re-run Maven with=0A>> the -e switch.= =0A>> [ERROR] Re-run Maven using the -X switch to enable full debug=0A>> lo= gging.=0A>> [ERROR]=0A>> [ERROR] For more information about the errors and = possible solutions,=0A>> please read the following articles:=0A>> [ERROR] [= Help 1]=0A>> http://cwiki.apache.org/confluence/display/MAVEN/MissingProjec= tException=0A>> =0A>> Failure ?=0A>> =0A>> =0A>> $ mvn --version=0A>> /usr/= lib/jvm/java=0A>> Apache Maven 3.0.4 (rNON-CANONICAL_2012-10-24_11-25_mockb= uild;=0A>> 2012-10-24 19:25:04+0800)=0A>> Maven home: /usr/share/maven=0A>>= Java version: 1.7.0_09-icedtea, vendor: Oracle Corporation=0A>> Java home:= /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/jre=0A>> Default locale: en= _US, platform encoding: UTF-8=0A>> OS name: "linux", version: "3.6.5-1.fc17= .x86_64", arch: "amd64",=0A>> family: "unix"=0A>> =0A>> =0A>> B.R.=0A>> Ste= phen L=0A>> =0A>> =0A>> =0A>> =0A>> =0A>> =0A>> =0A>> =0A>> From: Yair Zasl= avsky <yzaslavs@redhat.com>=0A>> To: Stephen Liu <satimis@yahoo.com>=0A>> C= c: users@ovirt.org=0A>> Sent: Friday, November 9, 2012 2:53 PM=0A>> Subject= : Re: [Users] Problem on creating database=0A>> =0A>> =0A>> =0A>> =0A>> Hi,= I'm not sure at what point exactly you see this dropdb failure.=0A>> I che= cked the code at the dbscripts folder, and the only place where=0A>> dropdb= is run, is at the beginning of execution of create_db.sh=0A>> which is run= from create_db_devel.sh=0A>> In addition, when I tried to create with non = existing DB, I saw the=0A>> same print, but the DB was still created.=0A>> = =0A>> =0A>> Please elaborate on what is your exact problem?=0A>> Do you man= age to perform psql engine postgres after running the=0A>> script?=0A>> You= can also send us create_db.sh.log=0A>> =0A>> =0A>> Thanks!=0A>> =0A>> =0A>= pgrade sql script=0A>> upgrade/post_upgrade/0010_add_object_column_white_li= st_table.sql ...=0A>> Setting development configuration values ...=0A>> Dev= elopment setting done.=0A>> =0A>> =0A>> dropdb: database removal failed: ER= ROR: database "engine" does not=0A>> exist=0A>> =0A>> Please advise how to = fix the problem? TIA=0A>> =0A>> B.R.=0A>> Stephen L=0A>> =0A>> ____________= ___________________________________=0A>> Users mailing list=0A>> Users@ovir= t.org=0A>> http://lists.ovirt.org/mailman/listinfo/users=0A>> =0A>> =0A>> = =0A>> =0A>> _______________________________________________=0A>> Users mail= ing list=0A>> Users@ovirt.org=0A>> http://lists.ovirt.org/mailman/listinfo/= users=0A>> =0A>=0A>=0A> --1552829269-1350755873-1352455697=:20408 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"color:#000; background-color:#fff; font-family:ar= ial, helvetica, sans-serif;font-size:12pt">Hi Oved,<br><br><br>This time I = used the full path<br><br><br>$ cd /home/satimis/ovirt-engine/backend/manag= er/dbscripts<br>$ sudo ./create_db_devel.sh -u postgres<br>[sudo] password = for satimis: <br>Running original create_db script...<br>Creating the datab= ase: engine<br>user name is: postgres<br>Creating tables...<br>Creating fun= ctions...<br>.....<br>Creating stored procedures from vds_groups_sp.sql ...= <br>Creating stored procedures from vds_spm_id_map_sp.sql ...<br>Creating s= tored procedures from vds_sp.sql ...<br>Creating stored procedures from vm_= device_sp.sql ...<br>Creating stored procedures from vm_pool_maps_sp.sql ..= .<br>Creating stored procedures from vm_pools_sp.sql ...<br>Creating stored= procedures from vms_sp.sql ...<br>Creating stored procedures from vm_templ= ates_sp.sql ...<br>Running upgrade sql script upgrade/post_upgrade/0010_add_object_column_white_list_table.sql ...<br>Se= tting development configuration values ...<br>Development setting done.<br>= <br><br>it worked.<br><br>What is the correct command/step creating $OVIRT_= HOME which includes /home/satimis/ovirt-engine ? Thanks<br><br><br>Co= ntinued<br>=3D=3D=3D=3D=3D=3D=3D=3D<br><br>$ cd ../../..<br>$ mvn clean ins= tall<br><br>It took long time to complete<br><br><br>Deploy <br>=3D=3D=3D= =3D=3D=3D<br><br>$ ls<br>backend &= nbsp; config ear  = ; LICENSE packaging<br>build-tools-root = deployment frontend Makefile pom.xml<br><br>$ cd ear/<br= style=3D"border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style=3D"font-family: arial, h= elvetica, sans-serif; font-size: 12pt;"> <div style=3D"font-family: times n= ew roman, new york, times, serif; font-size: 12pt;"> <div dir=3D"ltr"> <fon= t face=3D"Arial" size=3D"2"> <hr size=3D"1"> <b><span style=3D"font-weight= :bold;">From:</span></b> Oved Ourfalli <ovedo@redhat.com><br> <b><spa= n style=3D"font-weight: bold;">To:</span></b> Stephen Liu <satimis@yahoo= .com> <br><b><span style=3D"font-weight: bold;">Cc:</span></b> users@ovi= rt.org; Yair Zaslavsky <yzaslavs@redhat.com> <br> <b><span style=3D"f= ont-weight: bold;">Sent:</span></b> Friday, November 9, 2012 4:38 PM<br> <b= href=3D"http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectExc= eption" target=3D"_blank">http://cwiki.apache.org/confluence/display/MAVEN/= MissingProjectException</a><br>> <br>> Failure ?<br>> <br>> <br= href=3D"mailto:yzaslavs@redhat.com">yzaslavs@redhat.com</a>><br>> To: Stephen Liu <<a ymailto=3D"mailto:satimis@yahoo.com" href=3D"mailto:sat= imis@yahoo.com">satimis@yahoo.com</a>><br>> Cc: <a ymailto=3D"mailto:= users@ovirt.org" href=3D"mailto:users@ovirt.org">users@ovirt.org</a><br>>= ; Sent: Friday, November 9, 2012 2:53 PM<br>> Subject: Re: [Users] Probl= em on creating database<br>> <br>> <br>> <br>> <br>> Hi, I'm= not sure at what point exactly you see this dropdb failure.<br>> I chec= ked the code at the dbscripts folder, and the only place where<br>> drop= db is run, is at the beginning of execution of create_db.sh<br>> which i= s run from create_db_devel.sh<br>> In addition, when I tried to create w= ith non existing DB, I saw the<br>> same print, but the DB was still cre= ated.<br>> <br>> <br>> Please elaborate on what is your exact prob= lem?<br>> Do you manage to perform psql engine postgres after running th= e<br>> script?<br>> You can also send us create_db.sh.log<br>> <br>> <br>> Thanks!<br>> <br>> <br>> <br>> <br>> From= : "Stephen Liu" <<a ymailto=3D"mailto:satimis@yahoo.com" href=3D"mailto:= satimis@yahoo.com">satimis@yahoo.com</a>><br>> To: <a ymailto=3D"mail= to:users@ovirt.org" href=3D"mailto:users@ovirt.org">users@ovirt.org</a><br>= > Sent: Friday, November 9, 2012 7:09:05 AM<br>> Subject: [Users] Pro= blem on creating database<br>> <br>> <br>> <br>> Hi all,<br>>= ; <br>> OS - Fedora 17 64bit<br>> Manual:<br>> <a href=3D"http://w= iki.ovirt.org/wiki/Building_Ovirt_Engine#Prerequisites" target=3D"_blank">h= ttp://wiki.ovirt.org/wiki/Building_Ovirt_Engine#Prerequisites</a><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-= engine<br>> ovirt-engine<br>> <br>> $OVIRT_HOME =3D /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<br>> exist<br>> user name is: postgres<br>> Crea= ting tables...<br>> Creating functions...<br>> Creating common functi= ons...<br>> Inserting data ...<br>> .....<br>> .....<br>> Runni= ng upgrade sql script<br>> upgrade/post_upgrade/0010_add_object_column_w= hite_list_table.sql ...<br>> Setting development configuration values ..= .<br>> Development setting done.<br>> <br>> <br>> dropdb: datab= ase removal failed: ERROR: database "engine" does not<br>> exist<br>>= <br>> Please advise how to fix the problem? TIA<br>> <br>> B.R.<b= r>> Stephen L<br>> <br>> _________________________________________= ______<br>> Users mailing list<br>> <a ymailto=3D"mailto:Users@ovirt.= org" href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a><br>> <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" target=3D"_blank">h= ttp://lists.ovirt.org/mailman/listinfo/users</a><br>> <br>> <br>> = <br>> <br>> _______________________________________________<br>> U= sers mailing list<br>> <a ymailto=3D"mailto:Users@ovirt.org" href=3D"mai= lto:Users@ovirt.org">Users@ovirt.org</a><br>> <a href=3D"http://lists.ov= irt.org/mailman/listinfo/users" target=3D"_blank">http://lists.ovirt.org/ma= ilman/listinfo/users</a><br>> <br><br><br> </div> </div> </blockquote></= div> </div></body></html> --1552829269-1350755873-1352455697=:20408--
participants (3)
-
Oved Ourfalli
-
Stephen Liu
-
Yair Zaslavsky