<html><body><div style="color:#000; background-color:#fff; font-family:arial, 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>[INFO] Scanning for projects...<br>[INFO] ------------------------------------------------------------------------<br>[INFO] BUILD FAILURE<br>[INFO] ------------------------------------------------------------------------<br>[INFO] 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 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]<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 information about the errors and possible solutions, please read the following articles:<br>[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException<br><br>Failure ?<br><br><br>$ mvn --version<br>/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>Java 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, platform 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="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="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Yair Zaslavsky <yzaslavs@redhat.com><br> <b><span style="font-weight: bold;">To:</span></b> Stephen Liu <satimis@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> users@ovirt.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, November 9, 2012 2:53 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Users] Problem on creating database<br> </font> </div> <br><div id="yiv1568958954"><style type="text/css">#yiv1568958954 p {margin:0;}</style><div><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="yiv1568958954zwchr"><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></div></div><br><br> </div> </div> </blockquote></div> </div></body></html>