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