<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 10, 2017 at 11:59 AM, Tasdik Rahman <span dir="ltr"><<a href="mailto:prodicus@outlook.com" target="_blank">prodicus@outlook.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
<div>+++</div>
<div>
<div>$ export OVIRT_SERVICE_DEBUG=1</div>
<div>$ sudo systemctl import-environment OVIRT_SERVICE_DEBUG</div>
<div>[sudo] password for tasdik:</div>
<div>$ systemctl start ovirt-engine</div>
<div>==== AUTHENTICATING FOR org.freedesktop.systemd1.<wbr>manage-units ===</div>
<div>Authentication is required to start 'ovirt-engine.service'.</div>
<div>Authenticating as: tasdik</div>
<div>Password:</div>
<div>==== AUTHENTICATION COMPLETE ===</div>
<div>Job for ovirt-engine.service failed because the control process exited with error code. See "systemctl status ovirt-engine.service" and "journalctl -xe" for details.</div>
<div>$ systemctl status ovirt-engine.service</div>
<div>● ovirt-engine.service - oVirt Engine</div>
<div> Loaded: loaded (/usr/lib/systemd/system/<wbr>ovirt-engine.service; disabled; vendor preset: disabled)</div>
<div> Active: failed (Result: exit-code) since Fri 2017-03-10 10:57:14 UTC; 9s ago</div>
<div> Process: 22318 ExecStart=/usr/share/ovirt-<wbr>engine/services/ovirt-engine/<wbr>ovirt-engine.py --redirect-output --systemd=notify $EXTRA_ARGS start (code=exited, status=1/FAILURE)</div>
<div> Main PID: 22318 (code=exited, status=1/FAILURE)</div>
<div>$ journalctl -xe</div>
<div>No journal files were found.</div></div></div></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">How is this possible? Could you please look at journal under root user and search from the end backwards for ovirt-engine service logs?<br><br></div><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default"> sudo su -<br></div><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default"> journal<br></div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>
<div>-- No entries --</div>
<div>$</div>
</div>
<div>+++</div>
<div><br>
</div>
<div>Thanks, </div>
<div>Tasdik</div>
<br>
<div>
<blockquote type="cite">
<div>On 10-Mar-2017, at 4:22 PM, Martin Perina <<a href="mailto:mperina@redhat.com" target="_blank">mperina@redhat.com</a>> wrote:</div>
<br class="m_-4906368143710569798Apple-interchange-newline">
<div>
<div dir="ltr">
<div style="font-family:arial,helvetica,sans-serif">Hmm, strange. So the only other way is to enable debug logging for ovirt-engine service:<br>
<br>
export OVIRT_SERVICE_DEBUG=1<br>
systemctl import-environment OVIRT_SERVICE_DEBUG<br>
systemctl start ovirt-engine<br>
<br>
<br>
</div>
<div style="font-family:arial,helvetica,sans-serif">After that please take a look at journal, there should be detailed records about ovirt-engine service startup.<br>
<br>
</div>
<div style="font-family:arial,helvetica,sans-serif">Thanks<br>
<br>
</div>
<div style="font-family:arial,helvetica,sans-serif">Martin Perina<br>
<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Mar 10, 2017 at 11:29 AM, Tasdik Rahman <span dir="ltr">
<<a href="mailto:prodicus@outlook.com" target="_blank">prodicus@outlook.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
<div>
<div>+++</div>
<div>$ systemctl status ovirt-engine.service</div>
<div>● ovirt-engine.service - oVirt Engine</div>
<div> Loaded: loaded (/usr/lib/systemd/system/ovirt<wbr>-engine.service; disabled; vendor preset: disabled)</div>
<div> Active: failed (Result: exit-code) since Fri 2017-03-10 09:58:19 UTC; 29min ago</div>
<div> Process: 19055 ExecStart=/usr/share/ovirt-eng<wbr>ine/services/ovirt-engine/ovir<wbr>t-engine.py --redirect-output --systemd=notify $EXTRA_ARGS start (code=exited, status=1/FAILURE)</div>
<div> Main PID: 19055 (code=exited, status=1/FAILURE)</div>
<div>$ journalctl -xe</div>
<div>No journal files were found.</div>
<div>-- No entries --</div>
<div>$</div>
</div>
<div>+++</div>
<div><br>
</div>
<br>
<div>
<blockquote type="cite">
<div>On 10-Mar-2017, at 3:53 PM, Martin Perina <<a href="mailto:mperina@redhat.com" target="_blank">mperina@redhat.com</a>> wrote:</div>
<br class="m_-4906368143710569798m_7887322571140633074Apple-interchange-newline">
<div>
<div dir="ltr">
<div style="font-family:arial,helvetica,sans-serif">No, only logs under /var/log/ovirt-engine are related to oVirt. As no boot/server/engine logs exists under this directory it seems, that even java process was not created properly. So
could you please share error about ovirt-engine service startup? You should be able to find out some error in journal:<br>
<br>
systemctl status ovirt-engine.service<br>
journalctl -xe<br>
<br>
</div>
<div style="font-family:arial,helvetica,sans-serif">Thanks<br>
<br>
</div>
<div style="font-family:arial,helvetica,sans-serif">Martin Perina<br>
<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Mar 10, 2017 at 11:14 AM, Tasdik Rahman <span dir="ltr">
<<a href="mailto:prodicus@outlook.com" target="_blank">prodicus@outlook.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hey Martin
<div><br>
</div>
<div>+++</div>
<div>
<div><font color="#0056d6">$ pwd</font></div>
<div><font color="#0056d6">/var/log/ovirt-engine</font></div>
</div>
<div>
<div><font color="#0056d6">$ tree</font></div>
<div><font color="#0056d6">.</font></div>
<div><font color="#0056d6">├── dump</font></div>
<div><font color="#0056d6">├── host-deploy</font></div>
<div><font color="#0056d6">├── notifier</font></div>
<div><font color="#0056d6">├── ovirt-iso-uploader</font></div>
<div><font color="#0056d6">└── setup</font></div>
<div><font color="#0056d6"> ├── ovirt-engine-setup-20170310092<wbr>548-r5c2c7.log</font></div>
<div><font color="#0056d6"> └── ovirt-engine-setup-20170310095<wbr>712-x0n0rd.log</font></div>
<div><font color="#0056d6"><br>
</font></div>
<div><font color="#0056d6">5 directories, 2 files</font></div>
</div>
<div>
<div><font color="#0056d6">$ sudo find / -iname "server.log"</font></div>
<div><font color="#0056d6">$ sudo find / -iname "engine.log"</font></div>
<div><font color="#0056d6">$ sudo find / -iname "boot.log"</font></div>
<div><font color="#0056d6">/var/log/boot.log</font></div>
<div><font color="#0056d6">find: ‘/proc/19337’: No such file or directory</font></div>
<div><font color="#0056d6">$</font></div>
<div>+++</div>
<div><br>
</div>
<div>Should I share the file `/var/log/boot.log` on the mailing list?</div>
<div><br>
</div>
<div>Thanks, </div>
<div>Tasdik</div>
<div><br>
</div>
<div><br>
</div>
<div>
<blockquote type="cite">
<div>On 10-Mar-2017, at 3:31 PM, Martin Perina <<a href="mailto:mperina@redhat.com" target="_blank">mperina@redhat.com</a>> wrote:</div>
<br class="m_-4906368143710569798m_7887322571140633074m_7183143067028247758Apple-interchange-newline">
<div><span style="font-family:arial,helvetica,sans-serif;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important"><span class="m_-4906368143710569798m_7887322571140633074m_7183143067028247758Apple-converted-space"> </span>/var/log/ovirt-engine</span></div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote></div><br></div></div>