<div dir="ltr">OK,<div>brand new machine,</div><div>Fedora 18 (x64),</div><div>Trying to install Ovirt 3.2 from sources according to:</div><div><a href="http://www.ovirt.org/Building_Engine_Draft" target="_blank">http://www.ovirt.org/Building_<u></u>Engine_Draft</a></div>
<div><br></div><div>Everything is good up to the following stage:</div><div>"Now you need to do some adjustments to the configuration file $HOME/ovirt-engine/installation/etc/sysconfig/ovirt-engine"</div><div><br>
</div><div>The "sysconfig" directory does not exist. so does the "ovirt-engine" configuration file (searched through the $HOME/ovirt-engine tree).</div><div>I didn't find any code in the Makefile ($HOME/ovirt-engine/repository/Makefile) that would create them,</div>
<div>What am I missing?</div><div><br></div><div>Thanks,</div><div><br></div><div>Yuval</div><div><br><div class="gmail_quote">On Tue, Feb 26, 2013 at 3:25 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="HOEnZb"><div class="h5">On 02/26/2013 02:19 PM, Doron Fediuck wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
----- Original Message -----<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: "Yuval M" <<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>>, <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><br>
Cc: "Limor Gavish" <<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 from source - "No rule to make target `install_tools'. Stop."<br>
<br>
<br>
<br>
<br>
Still having trouble with the build process (Ovirt 3.1):<br>
$ sudo make<br>
... (success) ...<br>
$ sudo make install ...<br>
<br>
inflating:<br>
/usr/local/share/ovirt-engine/<u></u>engine.ear/webadmin.war/META-<u></u>INF/maven/org.ovirt.engine.ui/<u></u>webadmin/pom.xml<br>
inflating:<br>
/usr/local/share/ovirt-engine/<u></u>engine.ear/webadmin.war/404.<u></u>html<br>
checkdir error:<br>
/usr/local/share/ovirt-engine/<u></u>engine.ear/engine-bll.jar exists but<br>
is not directory<br>
unable to process<br>
engine-bll.jar/org/ovirt/<u></u>engine/core/bll/VdsDeploy$32.<u></u>class.<br>
checkdir error:<br>
/usr/local/share/ovirt-engine/<u></u>engine.ear/engine-bll.jar exists but<br>
is not directory<br>
unable to process<br>
engine-bll.jar/org/ovirt/<u></u>engine/core/bll/<u></u>InitBackendServicesOnStartupBe<u></u>an.class.<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 < <a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
wrote:<br>
</blockquote>
<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 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 make.<br>
there is indeed no rule for install_tools in the makefile.<br>
<br>
What am I missing?<br>
<br>
Those instructions are out of date, use "make install". That installs<br>
the files, but you will still need some changes to make the engine<br>
work:<br>
<br>
1. Create the ovirt user (the engine runs by default with this<br>
service, unless you change the /etc/syscofig/ovirt-engine file and<br>
add the ENGINE_USER and ENGINE_GROUP parameters):<br>
<br>
useradd ovirt<br>
<br>
2. Create (mkdir -p ...) and change the ownership of the directories<br>
that the engine needs to own to ovirt:ovirt (chown 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 (the default is to enable<br>
only AJP, and that doesn't work without Apache as frontend) adding<br>
the following to the /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 default in development<br>
environments is to use the postgres user and the trust mode) 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 driver installed (rpm<br>
-q postgresql-jdbc) and install it if needed (yum install<br>
postgresql-jdbc).<br>
<br>
6. Now you can start the engine running the engine-service script:<br>
<br>
engine-service start<br>
<br>
Look at the system log (the file /var/log/messages) and the engine<br>
logs (the files /var/log/ovirt-engine/server. 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 should be able to login<br>
with user admin and letmein! as password.<br>
<br>
Note that I am assuming that you already created the database, and<br>
that you want to use this installation for development. If you are<br>
looking for an production installation I suggest using the RPMs.<br>
<br>
Also I tested this with the latest source from the repository, it<br>
will not work with older versions.<br>
<br>
--<br>
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta<br>
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>
</blockquote>
<br>
Any progress here?<br>
<br>
</blockquote>
<br></div></div>
Yuval, that will not work with 3.1. Please use 3.2 and the following instructions:<br>
<br>
<a href="http://www.ovirt.org/Building_Engine_Draft" target="_blank">http://www.ovirt.org/Building_<u></u>Engine_Draft</a><div class="HOEnZb"><div class="h5"><br>
<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>