<div dir="ltr">Thanks, now "./engine-service start" succeeded.<div><div><font color="#3333ff"><i>[root@bufferoverflow bin]# ./engine-service start</i></font></div><div><font color="#3333ff"><i>Starting engine-service: [ OK ]</i></font></div>
<div><br></div><div>However, when I try to access "<a href="http://localhost:8700">http://localhost:8700</a>" I get an empty page (0 bytes).</div><div><div><br></div><div>I see the following errors in </div><div>
/home/wil/ovirt-engine/installation/var/log/ovirt-engine/server.log</div><div><br></div><div><font color="#ff0000">JBAS014777: Services which failed to start: service jboss.deployment.subunit."engine.ear"."engine-bll.jar".component.UsersDomainsCacheManagerService.START: org.jboss.msc.service.StartException in service jboss.deployment.subunit."engine.ear"."engine-bll.jar".component.UsersDomainsCacheManagerService.START: Failed to start service</font></div>
<div><font color="#ff0000"><br></font></div><div><font color="#ff0000">2013-03-08 19:27:51,495 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"engine.ear\".\"engine-bll.jar\".component.UsersDomainsCacheManagerService.START" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"engine.ear\".\"engine-bll.jar\".component.UsersDomainsCacheManagerService.START: Failed to start service"}}}}</font></div>
<div><br></div><div><div>Here is the contents of my configuration file:</div><div><br></div><div>[root@bufferoverflow installation]# cat etc/sysconfig/ovirt-engine</div><div>#</div><div># For descriptions of the parameters and their default values look</div>
<div># at the /usr/share/ovirt-engine/conf/engine.conf.defaults file.</div><div>#</div><div># Please note that the engine installation tool engine-setup will</div><div># append the modified parameters to the end of this file.</div>
<div>#</div><div>JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64</div><div>JBOSS_HOME=/home/wil/ovirt-engine/jboss-as-7.1.1.Final</div><div>ENGINE_USER=wil</div><div>ENGINE_GROUP=wil</div><div>ENGINE_PROXY_ENABLED=false</div>
<div>ENGINE_HTTP_ENABLED=true</div><div>ENGINE_HTTP_PORT=8700</div><div>ENGINE_HTTPS_ENABLED=false</div><div>ENGINE_AJP_ENABLED=false</div><div>ENGINE_DB_USER=postgres</div><div>ENGINE_DB_PASSWORD=</div><div>ENGINE_DEBUG_ADDRESS=<a href="http://0.0.0.0:8787">0.0.0.0:8787</a></div>
</div><div><br></div><div>Thank you very much for your help</div><div><br></div><div>Yuval</div><br><div class="gmail_quote">On Fri, Mar 8, 2013 at 6:16 PM, Juan Hernandez <span dir="ltr"><<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 03/08/2013 05:14 PM, Yuval M wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
checked out to 3.2 branch, now the configuration file was as detailed in<br>
the wiki.<br>
after configuring it I try to start the engine and get:<br>
<br>
[wil@bufferoverflow bin]$ pwd<br>
/home/wil/ovirt-engine/<u></u>installation/bin<br>
[wil@bufferoverflow bin]$ ./engine-service start<br>
Traceback (most recent call last):<br>
File "./engine-service", line 23, in <module><br>
import configobj<br>
ImportError: No module named configobj<br>
[wil@bufferoverflow bin]$<br>
<br>
</blockquote>
<br></div>
Ok, this is because the service script needs the python-configobj and python-cheetah packages:<br>
<br>
yum install python-configobj python-cheetah<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
<br>
<br>
On Fri, Mar 8, 2013 at 5:05 PM, Juan Hernandez <<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a><br></div><div class="im">
<mailto:<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>>> wrote:<br>
<br>
On 03/08/2013 03:51 PM, Juan Hernandez wrote:<br>
<br>
On 03/08/2013 03:49 PM, Yuval M wrote:<br>
<br>
OK,<br>
brand new machine,<br>
Fedora 18 (x64),<br>
Trying to install Ovirt 3.2 from sources according to:<br></div>
<a href="http://www.ovirt.org/Building_____Engine_Draft" target="_blank">http://www.ovirt.org/Building_<u></u>____Engine_Draft</a><br>
<<a href="http://www.ovirt.org/Building___Engine_Draft" target="_blank">http://www.ovirt.org/<u></u>Building___Engine_Draft</a>><br>
<<a href="http://www.ovirt.org/__Building_Engine_Draft" target="_blank">http://www.ovirt.org/__<u></u>Building_Engine_Draft</a><div class="im"><br>
<<a href="http://www.ovirt.org/Building_Engine_Draft" target="_blank">http://www.ovirt.org/<u></u>Building_Engine_Draft</a>>><br>
<br>
Everything is good up to the following stage:<br>
"Now you need to do some adjustments to the configuration file<br></div>
$HOME/ovirt-engine/__<u></u>installation/etc/sysconfig/__<u></u>ovirt-engine"<div class="im"><br>
<br>
The "sysconfig" directory does not exist. so does the<br>
"ovirt-engine"<br>
configuration file (searched through the $HOME/ovirt-engine<br>
tree).<br>
I didn't find any code in the Makefile<br></div>
($HOME/ovirt-engine/__<u></u>repository/Makefile) that would create<div class="im"><br>
them,<br>
What am I missing?<br>
<br>
<br>
This has changed recently and I didn't update that wiki page. The<br>
/etc/sysconig/ovirt-engine file has been replaced by<br>
/etc/ovirt-engine/engine.conf.<br>
<br>
<br>
But wait, this change was made in the master branch, not in 3.2, so<br>
it shouldn't be a problem. Are you sure you are using the engine_3.2<br>
branch?<br>
<br>
<br>
Thanks,<br>
<br>
Yuval<br>
<br>
On Tue, Feb 26, 2013 at 3:25 PM, Juan Hernandez<br>
<<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a> <mailto:<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>><br></div>
<mailto:<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a> <mailto:<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>>>><div class="im"><br>
wrote:<br>
<br>
On 02/26/2013 02:19 PM, Doron Fediuck wrote:<br>
<br>
<br>
<br>
----- Original Message -----<br>
<br>
From: "Yuval M" <<a href="mailto:yuvalme@gmail.com" target="_blank">yuvalme@gmail.com</a><br></div>
<mailto:<a href="mailto:yuvalme@gmail.com" target="_blank">yuvalme@gmail.com</a>> <mailto:<a href="mailto:yuvalme@gmail.com" target="_blank">yuvalme@gmail.com</a><div class="im"><br>
<mailto:<a href="mailto:yuvalme@gmail.com" target="_blank">yuvalme@gmail.com</a>>>><br>
To: "Juan Hernandez" <<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a><br>
<mailto:<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>><br></div>
<mailto:<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a><div class="im"><br>
<mailto:<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>>>><u></u>, <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><br>
<mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>><br></div>
<mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a> <mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>>><div class="im"><br>
Cc: "Limor Gavish" <<a href="mailto:lgavish@gmail.com" target="_blank">lgavish@gmail.com</a><br>
<mailto:<a href="mailto:lgavish@gmail.com" target="_blank">lgavish@gmail.com</a>><br></div>
<mailto:<a href="mailto:lgavish@gmail.com" target="_blank">lgavish@gmail.com</a><div class="im"><br>
<mailto:<a href="mailto:lgavish@gmail.com" target="_blank">lgavish@gmail.com</a>>>><br>
Sent: Sunday, February 24, 2013 11:38:12 PM<br>
Subject: Re: [Users] Trouble building Ovirt<br>
from source -<br>
"No rule to make target `install_tools'. Stop."<br>
<br>
<br>
<br>
<br>
Still having trouble with the build process<br>
(Ovirt 3.1):<br>
$ sudo make<br>
... (success) ...<br>
$ sudo make install ...<br>
<br>
inflating:<br>
<br></div>
/usr/local/share/ovirt-engine/<u></u>____engine.ear/webadmin.war/__<u></u>META-__INF/maven/org.ovirt.__<u></u>engine.ui/__webadmin/pom.xml<br>
inflating:<br>
<br>
/usr/local/share/ovirt-engine/<u></u>____engine.ear/webadmin.war/<u></u>404.____html<br>
checkdir error:<br>
<br>
/usr/local/share/ovirt-engine/<u></u>____engine.ear/engine-bll.jar<div class="im"><br>
exists but<br>
is not directory<br>
unable to process<br>
<br></div>
engine-bll.jar/org/ovirt/____<u></u>engine/core/bll/VdsDeploy$32._<u></u>___class.<br>
checkdir error:<br>
<br>
/usr/local/share/ovirt-engine/<u></u>____engine.ear/engine-bll.jar<div class="im"><br>
exists but<br>
is not directory<br>
unable to process<br>
<br></div>
engine-bll.jar/org/ovirt/____<u></u>engine/core/bll/____<u></u>InitBackendServicesOnStartupBe<u></u>____an.class.<div class="im"><br>
...<br>
make: *** [install_artifacts] Error 2<br>
<br>
<br>
<br>
<br>
any insights?<br>
<br>
<br>
Thanks...<br>
<br>
<br>
<br>
On Thu, Jan 24, 2013 at 8:52 PM, Juan Hernandez <<br>
<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a> <mailto:<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>><br></div>
<mailto:<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a> <mailto:<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>>><div><div class="h5"><br>
<br>
wrote:<br>
<br>
<br>
<br>
<br>
<br>
On 01/24/2013 04:20 PM, Yuval M wrote:<br>
<br>
<br>
Hi,<br>
I'm installing Ovirt 3.1 on Fedora using this<br>
guide:<br>
<a href="http://www.ovirt.org/Building_" target="_blank">http://www.ovirt.org/Building_</a> oVirt_engine#Deploying_engine-<br>
config_.26_engine-manage- domains<br>
<br>
and I'm getting the error in the subject from<br>
make.<br>
there is indeed no rule for install_tools in<br>
the makefile.<br>
<br>
What am I missing?<br>
<br>
Those instructions are out of date, use "make<br>
install". That<br>
installs<br>
the files, but you will still need some<br>
changes to make the<br>
engine<br>
work:<br>
<br>
1. Create the ovirt user (the engine runs by<br>
default with this<br>
service, unless you change the<br>
/etc/syscofig/ovirt-engine<br>
file and<br>
add the ENGINE_USER and ENGINE_GROUP parameters):<br>
<br>
useradd ovirt<br>
<br>
2. Create (mkdir -p ...) and change the<br>
ownership of the<br>
directories<br>
that the engine needs to own to ovirt:ovirt (chown<br>
ovirt:ovirt ...):<br>
<br>
/etc/ovirt-engine<br>
/var/log/ovirt-engine<br>
/var/lock/ovirt-engine<br>
/var/lib/ovirt-engine/content<br>
/var/lib/ovirt-engine/ deployments<br>
/var/tmp/ovirt-engine<br>
/var/cache/ovirt-engine<br>
<br>
3. Enable the HTTP connector in the engine<br>
(the default is<br>
to enable<br>
only AJP, and that doesn't work without Apache<br>
as frontend)<br>
adding<br>
the following to the<br>
/etc/sysconfig/ovirt-engine file:<br>
<br>
ENGINE_PROXY_ENABLED=false<br>
ENGINE_HTTP_ENABLED=true<br>
ENGINE_HTTP_PORT=8700<br>
ENGINE_HTTPS_ENABLED=false<br>
ENGINE_AJP_ENABLED=false<br>
<br>
4. Configure database connection details (the<br>
default in<br>
development<br>
environments is to use the postgres user and<br>
the trust mode)<br>
adding<br>
this to /etc/sysconfig/ovirt-engine:<br>
<br>
ENGINE_DB_USER=postgres<br>
ENGINE_DB_PASSWORD=<br>
<br>
5. Make sure that you have the PostgreSQL JDBC<br>
driver<br>
installed (rpm<br>
-q postgresql-jdbc) and install it if needed<br>
(yum install<br>
postgresql-jdbc).<br>
<br>
6. Now you can start the engine running the<br>
engine-service<br>
script:<br>
<br>
engine-service start<br>
<br>
Look at the system log (the file<br>
/var/log/messages) and the<br>
engine<br>
logs (the files /var/log/ovirt-engine/server.<br>
log and<br>
/var/log/ovirt-engine) for errors.<br>
<br>
7. Connect to <a href="http://localhost:8700" target="_blank">http://localhost:8700</a> and you<br>
should be able<br>
to login<br>
with user admin and letmein! as password.<br>
<br>
Note that I am assuming that you already<br>
created the<br>
database, and<br>
that you want to use this installation for<br>
development. If<br>
you are<br>
looking for an production installation I<br>
suggest using the RPMs.<br>
<br>
Also I tested this with the latest source from the<br>
repository, it<br>
will not work with older versions.<br>
<br>
--<br>
Dirección Comercial: C/Jose Bardasano Baos, 9,<br>
Edif. Gorbea<br>
3, planta<br>
3ºD, 28016 Madrid, Spain<br>
Inscrita en el Reg. Mercantil de Madrid –<br>
C.I.F. B82657941 -<br>
Red Hat<br>
S.L.<br>
<br>
<br>
<br>
Any progress here?<br>
<br>
<br>
Yuval, that will not work with 3.1. Please use 3.2 and<br>
the following<br>
instructions:<br>
<br></div></div>
<a href="http://www.ovirt.org/Building_____Engine_Draft" target="_blank">http://www.ovirt.org/Building_<u></u>____Engine_Draft</a><br>
<<a href="http://www.ovirt.org/Building___Engine_Draft" target="_blank">http://www.ovirt.org/<u></u>Building___Engine_Draft</a>><br>
<<a href="http://www.ovirt.org/__Building_Engine_Draft" target="_blank">http://www.ovirt.org/__<u></u>Building_Engine_Draft</a><div class="im"><br>
<<a href="http://www.ovirt.org/Building_Engine_Draft" target="_blank">http://www.ovirt.org/<u></u>Building_Engine_Draft</a>>><br>
<br>
<br>
--<br>
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif.<br>
Gorbea 3,<br>
planta 3ºD, 28016 Madrid, Spain<br>
Inscrita en el Reg. Mercantil de Madrid – C.I.F.<br>
B82657941 - Red Hat<br>
S.L.<br>
<br>
<br>
<br>
<br></div>
______________________________<u></u>___________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>><br>
<a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a><div class="im"><br>
<<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a>><br>
<br>
<br>
<br>
<br>
<br>
--<br>
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3,<br>
planta 3ºD, 28016 Madrid, Spain<br>
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat<br>
S.L.<br>
<br>
<br>
</div></blockquote>
<br><div class="HOEnZb"><div class="h5">
<br>
-- <br>
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain<br>
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.<br>
</div></div></blockquote></div><br></div></div></div>