--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(a)redhat.com>=0A>To: Stephen Liu <satimis(a)yahoo.com> =0A>Cc:
us=
ers(a)ovirt.org; Yair Zaslavsky <yzaslavs(a)redhat.com> =0A>Sent: Friday, Novem=
ber 9, 2012 4:38 PM=0A>Subject: Re: [Users] Problem on creating database=0A=
=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(a)yahoo.com>=0A>>
To: "Yair Zaslavsky" <yzasla=
vs(a)redhat.com>=0A>> Cc:
users(a)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
=
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(a)redhat.com>=0A>> To: Stephen Liu
<satimis(a)yahoo.com>=0A>> C=
c: users(a)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>=
=0A>> =0A>> From: "Stephen Liu"
<satimis(a)yahoo.com>=0A>> To: users(a)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=
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(a)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=
$ 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=
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
&lt;ovedo(a)redhat.com&gt;<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 &lt;yzaslavs(a)redhat.com&gt; <br> <b><span
style=3D"f=
ont-weight: bold;">Sent:</span></b> Friday, November 9, 2012 4:38
PM<br> <b=
<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(a)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(a)ovirt.org</a><br>&gt; 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
href=3D"http://cwiki.apache.org/confluence/display/MAVEN/MissingProj...
eption"
target=3D"_blank">http://cwiki.apache.org/confluence/display...
MissingProjectException</a><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;<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" =
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(a)yahoo.com</a>&gt;<br>&gt; Cc: <a
ymailto=3D"mailto:=
users(a)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(a)yahoo.com</a>&gt;<br>&gt; 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>&l...
<=
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--