[Users] Problem on creating database
Stephen Liu
satimis at yahoo.com
Fri Nov 9 08:18:46 UTC 2012
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 at redhat.com>
>To: Stephen Liu <satimis at yahoo.com>
>Cc: users at 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 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/ce9ded2f/attachment-0001.html>
More information about the Users
mailing list