<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>It's supposed to exist, but by default it contains only comments. So the fact that it's missing</div><div>does not in itself cause problems, but might indicate that there are some other problems.</div><div><br></div><div>Sorry for not replying to your previous email - I really don't know how exactly to proceed.</div><div><br></div><div>Some random notes/ideas/questions:</div><div>1. Was the restore done on a new clean system? The same system that the backup was on? Something else?</div><div>2. Was it done with the same version used for backup? Which version?</div><div>3. In case it wasn't obvious: It does not create a database for you or manage postgres in any way. You already know that, just noting.</div><div>4. In general you should run engine-setup after restore. It fixes almost all the things that restore does not do. See [1] for details. The only things it does not do (that I know about) are to enable postgres to start on reboot (which you should do anyway yourself, see previous point) and websocket-proxy. See [2] if you really care.</div><div>5. Another idea: Try to use something simpler than the engine to see if the system can access the database. Not sure if it's easy to find something that does that and does not need the engine - you can try e.g. log-collector.</div><div><br></div><div>[1]&nbsp;<a href="http://www.ovirt.org/Migrate_to_Hosted_Engine">http://www.ovirt.org/Migrate_to_Hosted_Engine</a><a href="http://www.ovirt.org/Migrate_to_Hosted_Engine" data-mce-href="http://www.ovirt.org/Migrate_to_Hosted_Engine"></a></div><div>[2]&nbsp;<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1024707" data-mce-href="https://bugzilla.redhat.com/show_bug.cgi?id=1024707">https://bugzilla.redhat.com/1024707</a></div><div><br></div><div>Good luck, and please report back/ask more if you get any insight!</div><div>--&nbsp;</div><div>Didi</div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Steve Dainard" &lt;sdainard@miovision.com&gt;<br><b>To: </b>"Yedidyah Bar David" &lt;didi@redhat.com&gt;<br><b>Cc: </b>"Alon Bar-Lev" &lt;alonbl@redhat.com&gt;, "users" &lt;users@ovirt.org&gt;, "Eli Mesika" &lt;emesika@redhat.com&gt;<br><b>Sent: </b>Thursday, January 30, 2014 9:04:35 PM<br><b>Subject: </b>Re: [Users] engine-backup restore how to<br><div><br></div><div dir="ltr">Is this file supposed to exist:<div><span style="font-family:arial,sans-serif;font-size:13px">2014-01-30 10:24:18,990 WARN &nbsp;[org.ovirt.engine.core.utils.</span><span style="font-family:arial,sans-serif;font-size:13px">LocalConfig] (MSC service thread 1-23) The file "/etc/ovirt-engine/engine.</span><span style="font-family:arial,sans-serif;font-size:13px">conf" doesn't exist or isn't readable. Will return an empty set of properties.</span><br>
</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">I can't find it anywhere on the system.</span></div></div><div class="gmail_extra">
<br clear="all"><div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:16px"><strong>Steve&nbsp;Dainard&nbsp;</strong></span><span style="font-size:12px"></span><br>
<span style="font-family:arial,sans-serif;font-size:12px">IT Infrastructure Manager<br>
<a href="http://miovision.com/" target="_blank">Miovision</a> | <em>Rethink Traffic</em><br>
519-513-2407 ex.250<br>
877-646-8476 (toll-free)<br>
<br>
<strong style="font-family:arial,sans-serif;font-size:13px;color:#999999"><a href="http://miovision.com/blog" target="_blank">Blog</a>&nbsp; | &nbsp;</strong><span color="#999999" data-mce-style="font-family: arial, sans-serif; font-size: 13px; color: #999999;" style="font-family: arial, sans-serif; font-size: 13px; color: #999999;"><strong><a href="https://www.linkedin.com/company/miovision-technologies" target="_blank">LinkedIn</a>&nbsp;&nbsp;| &nbsp;<a href="https://twitter.com/miovision" target="_blank">Twitter</a>&nbsp;&nbsp;| &nbsp;<a href="https://www.facebook.com/miovision" target="_blank">Facebook</a></strong></span> </span>
<hr style="font-family:arial,sans-serif;font-size:13px;color:#333333;clear:both">
<div style="color:#999999;font-family:arial,sans-serif;font-size:13px;padding-top:5px">
        <span style="font-family:arial,sans-serif;font-size:12px">Miovision Technologies Inc. | 148 Manitou Drive, Suite 101, Kitchener, ON, Canada |&nbsp;N2C 1L3</span><br>
        <span style="font-family:arial,sans-serif;font-size:12px">This e-mail may contain information that is privileged or confidential. If you are not the intended recipient, please delete the e-mail and any attachments and notify us immediately.</span></div>
</div></div>
<br><div><br></div><div class="gmail_quote">On Thu, Jan 30, 2014 at 10:32 AM, Steve Dainard <span dir="ltr">&lt;<a href="mailto:sdainard@miovision.com" target="_blank">sdainard@miovision.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I can connect to the db with the 'engine' user.<div><br></div><div>Initially 'engine' wasn't a member of any roles, I added it to 'postgres'.</div><div><div>engine=&gt; \du</div>
<div>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; List of roles</div><div>&nbsp;Role name | Attributes &nbsp;| Member of &nbsp;</div><div>-----------+-------------+------------</div><div>&nbsp;engine &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | {postgres}</div><div>&nbsp;postgres &nbsp;| Superuser &nbsp; | {}</div><div>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: Create role &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: Create DB &nbsp; &nbsp;&nbsp;</div></div><div><br></div><div>If you meant file permissions they are:</div><div># ll</div><div>total 24</div><div>-rw-------. 1 ovirt ovirt 380 Jan 29 18:35 10-setup-database.conf</div>

<div>-rw-------. 1 ovirt ovirt 378 Jan 15 15:58 10-setup-database.conf.20140129183539</div><div>-rw-r--r--. 1 root &nbsp;root &nbsp; 33 Jan 15 15:58 10-setup-jboss.conf</div><div>-rw-------. 1 ovirt ovirt 384 Jan 15 15:59 10-setup-pki.conf</div>

<div>-rw-r--r--. 1 root &nbsp;root &nbsp;259 Jan 15 15:58 10-setup-protocols.conf</div><div>-rw-r--r--. 1 root &nbsp;root &nbsp;204 Dec 13 03:22 README</div><div><br></div><div><br></div><div>On ovirt-engine restart (engine.log):</div><div>
i</div>
<div><div>2014-01-30 10:24:18,988 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Loaded file "/usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.conf".</div><div>2014-01-30 10:24:18,990 WARN &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) The file "/etc/ovirt-engine/engine.conf" doesn't exist or isn't readable. Will return an empty set of properties.</div>

<div>2014-01-30 10:24:18,991 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Loaded file "/etc/ovirt-engine/engine.conf.d/10-setup-database.conf".</div><div>2014-01-30 10:24:18,992 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Loaded file "/etc/ovirt-engine/engine.conf.d/10-setup-jboss.conf".</div>

<div>2014-01-30 10:24:18,994 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Loaded file "/etc/ovirt-engine/engine.conf.d/10-setup-pki.conf".</div><div>2014-01-30 10:24:18,994 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Loaded file "/etc/ovirt-engine/engine.conf.d/10-setup-protocols.conf".</div>

<div>2014-01-30 10:24:18,995 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_AJP_ENABLED" is "true".</div><div>2014-01-30 10:24:18,996 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_AJP_PORT" is "8702".</div>

<div>2014-01-30 10:24:18,997 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_APPS" is "engine.ear".</div><div>2014-01-30 10:24:18,997 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_CACHE" is "/var/cache/ovirt-engine".</div>

<div>2014-01-30 10:24:18,998 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_DB_CHECK_INTERVAL" is "1000".</div><div>2014-01-30 10:24:18,998 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_DB_CONNECTION_TIMEOUT" is "300000".</div>

<div>2014-01-30 10:24:18,999 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_DB_DATABASE" is "engine".</div><div>2014-01-30 10:24:19,000 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_DB_DRIVER" is "org.postgresql.Driver".</div>

<div>2014-01-30 10:24:19,000 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_DB_HOST" is "localhost".</div><div>2014-01-30 10:24:19,001 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_DB_MAX_CONNECTIONS" is "100".</div>

<div>2014-01-30 10:24:19,001 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_DB_MIN_CONNECTIONS" is "1".</div><div>2014-01-30 10:24:19,002 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_DB_PASSWORD" is "***".</div>

<div>2014-01-30 10:24:19,002 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_DB_PORT" is "5432".</div><div>2014-01-30 10:24:19,003 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_DB_SECURED" is "False".</div>

<div>2014-01-30 10:24:19,004 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_DB_SECURED_VALIDATION" is "False".</div><div>2014-01-30 10:24:19,004 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_DB_SSL" is "false".</div>

<div>2014-01-30 10:24:19,005 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_DB_URL" is "jdbc:postgresql://localhost:5432/engine?sslfactory=org.postgresql.ssl.NonValidatingFactory".</div>

<div>2014-01-30 10:24:19,006 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_DB_USER" is "engine".</div><div>2014-01-30 10:24:19,006 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_DEBUG_ADDRESS" is "".</div>

<div>2014-01-30 10:24:19,007 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_DOC" is "/usr/share/doc/ovirt-engine".</div><div>2014-01-30 10:24:19,008 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_ETC" is "/etc/ovirt-engine".</div>

<div>2014-01-30 10:24:19,008 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_FQDN" is "ovirt001.miovision.corp".</div><div>2014-01-30 10:24:19,009 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_GROUP" is "ovirt".</div>

<div>2014-01-30 10:24:19,009 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_HEAP_MAX" is "1g".</div><div>2014-01-30 10:24:19,010 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_HEAP_MIN" is "1g".</div>

<div>2014-01-30 10:24:19,010 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_HTTPS_ENABLED" is "false".</div><div>2014-01-30 10:24:19,011 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_HTTPS_PORT" is "None".</div>

<div>2014-01-30 10:24:19,011 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_HTTPS_PROTOCOLS" is "SSLv3,TLSv1,TLSv1.1,TLSv1.2".</div><div>2014-01-30 10:24:19,012 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_HTTP_ENABLED" is "false".</div>

<div>2014-01-30 10:24:19,013 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_HTTP_PORT" is "None".</div><div>2014-01-30 10:24:19,013 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_JVM_ARGS" is " -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/var/log/ovirt-engine/dump"".</div>

<div>2014-01-30 10:24:19,014 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_LOG" is "/var/log/ovirt-engine".</div><div>2014-01-30 10:24:19,014 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_LOG_TO_CONSOLE" is "false".</div>

<div>2014-01-30 10:24:19,015 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_MANUAL" is "/usr/share/ovirt-engine/manual".</div><div>2014-01-30 10:24:19,016 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_PERM_MAX" is "256m".</div>

<div>2014-01-30 10:24:19,016 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_PERM_MIN" is "256m".</div><div>2014-01-30 10:24:19,017 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_PKI" is "/etc/pki/ovirt-engine".</div>

<div>2014-01-30 10:24:19,017 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_PKI_CA" is "/etc/pki/ovirt-engine/ca.pem".</div><div>2014-01-30 10:24:19,018 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_PKI_ENGINE_CERT" is "/etc/pki/ovirt-engine/certs/engine.cer".</div>

<div>2014-01-30 10:24:19,018 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_PKI_ENGINE_STORE" is "/etc/pki/ovirt-engine/keys/engine.p12".</div><div>

2014-01-30 10:24:19,019 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_PKI_ENGINE_STORE_ALIAS" is "1".</div><div>2014-01-30 10:24:19,019 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_PKI_ENGINE_STORE_PASSWORD" is "***".</div>

<div>2014-01-30 10:24:19,020 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_PKI_TRUST_STORE" is "/etc/pki/ovirt-engine/.truststore".</div><div>2014-01-30 10:24:19,021 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_PKI_TRUST_STORE_PASSWORD" is "***".</div>

<div>2014-01-30 10:24:19,021 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_PROPERTIES" is " jsse.enableSNIExtension=false".</div><div>2014-01-30 10:24:19,022 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_PROXY_ENABLED" is "true".</div>

<div>2014-01-30 10:24:19,022 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_PROXY_HTTPS_PORT" is "443".</div><div>2014-01-30 10:24:19,023 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_PROXY_HTTP_PORT" is "80".</div>

<div>2014-01-30 10:24:19,023 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_STOP_INTERVAL" is "1".</div><div>2014-01-30 10:24:19,024 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_STOP_TIME" is "10".</div>

<div>2014-01-30 10:24:19,024 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_TMP" is "/var/tmp/ovirt-engine".</div><div>2014-01-30 10:24:19,024 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_UP_MARK" is "/var/lib/ovirt-engine/engine.up".</div>

<div>2014-01-30 10:24:19,025 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_USER" is "ovirt".</div><div>2014-01-30 10:24:19,025 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_USR" is "/usr/share/ovirt-engine".</div>

<div>2014-01-30 10:24:19,026 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_VAR" is "/var/lib/ovirt-engine".</div><div>2014-01-30 10:24:19,026 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "ENGINE_VERBOSE_GC" is "false".</div>

<div>2014-01-30 10:24:19,027 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "JBOSS_HOME" is "/usr/share/jboss-as".</div><div>2014-01-30 10:24:19,027 INFO &nbsp;[org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-23) Value of property "SENSITIVE_KEYS" is ",ENGINE_DB_PASSWORD,ENGINE_PKI_TRUST_STORE_PASSWORD,ENGINE_PKI_ENGINE_STORE_PASSWORD".</div>

<div>2014-01-30 10:24:19,391 ERROR [org.ovirt.engine.core.bll.Backend] (MSC service thread 1-2) Error in getting DB connection. The database is inaccessible. Original exception is: BadSqlGrammarException: CallableStatementCallback; bad SQL grammar [{call checkdbconnection()}]; nested exception is org.postgresql.util.PSQLException: ERROR: function checkdbconnection() does not exist</div>
<div class="im">
<div>&nbsp; Hint: No function matches the given name and argument types. You might need to add explicit type casts.</div><div>&nbsp; Position: 15</div></div><div>2014-01-30 10:24:20,398 ERROR [org.ovirt.engine.core.bll.Backend] (MSC service thread 1-2) Error in getting DB connection. The database is inaccessible. Original exception is: UncategorizedSQLException: CallableStatementCallback; uncategorized SQLException for SQL [{call checkdbconnection()}]; SQL state [25P02]; error code [0]; ERROR: current transaction is aborted, commands ignored until end of transaction block; nested exception is org.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block</div>

</div><div>[last error repeats]</div><div><br></div><div>Thanks,</div></div><div class="gmail_extra"><div class="im"><br clear="all"><div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:16px"><strong>Steve&nbsp;Dainard&nbsp;</strong></span><span style="font-size:12px"></span><br>


<span style="font-family:arial,sans-serif;font-size:12px">IT Infrastructure Manager<br>
<a href="http://miovision.com/" target="_blank">Miovision</a> | <em>Rethink Traffic</em><br>
<a href="tel:519-513-2407" target="_blank">519-513-2407</a> ex.250<br>
<a href="tel:877-646-8476" target="_blank">877-646-8476</a> (toll-free)<br>
<br>
<strong style="font-family:arial,sans-serif;font-size:13px;color:#999999"><a href="http://miovision.com/blog" target="_blank">Blog</a>&nbsp; | &nbsp;</strong><span color="#999999" data-mce-style="font-family: arial, sans-serif; font-size: 13px; color: #999999;" style="font-family: arial, sans-serif; font-size: 13px; color: #999999;"><strong><a href="https://www.linkedin.com/company/miovision-technologies" target="_blank">LinkedIn</a>&nbsp;&nbsp;| &nbsp;<a href="https://twitter.com/miovision" target="_blank">Twitter</a>&nbsp;&nbsp;| &nbsp;<a href="https://www.facebook.com/miovision" target="_blank">Facebook</a></strong></span> </span>
<hr style="font-family:arial,sans-serif;font-size:13px;color:#333333;clear:both">
<div style="color:#999999;font-family:arial,sans-serif;font-size:13px;padding-top:5px">
        <span style="font-family:arial,sans-serif;font-size:12px">Miovision Technologies Inc. | 148 Manitou Drive, Suite 101, Kitchener, ON, Canada |&nbsp;N2C 1L3</span><br>
        <span style="font-family:arial,sans-serif;font-size:12px">This e-mail may contain information that is privileged or confidential. If you are not the intended recipient, please delete the e-mail and any attachments and notify us immediately.</span></div>

</div></div>
<br><div><br></div></div><div><div class="h5"><div class="gmail_quote">On Thu, Jan 30, 2014 at 2:18 AM, Yedidyah Bar David <span dir="ltr">&lt;<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div></div><blockquote style="padding-left:5px;font-size:12pt;font-style:normal;margin-left:5px;font-family:Helvetica,Arial,sans-serif;text-decoration:none;font-weight:normal;border-left:2px solid #1010ff">

<b>From: </b>"Steve Dainard" &lt;<a href="mailto:sdainard@miovision.com" target="_blank">sdainard@miovision.com</a>&gt;<br><b>To: </b>"Alon Bar-Lev" &lt;<a href="mailto:alonbl@redhat.com" target="_blank">alonbl@redhat.com</a>&gt;<br>

<b>Cc: </b>"users" &lt;<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>&gt;, "Yedidyah Bar David" &lt;<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>&gt;, "Eli Mesika" &lt;<a href="mailto:emesika@redhat.com" target="_blank">emesika@redhat.com</a>&gt;<br>

<b>Sent: </b>Thursday, January 30, 2014 7:44:01 AM<br><b>Subject: </b>Re: [Users] engine-backup restore how to<div><br><div><br></div><div dir="ltr">I also see this error in engine.log which repeats every second if I am trying to access the web ui.<div>

<br></div><div>2014-01-29 18:59:47,531 ERROR [org.ovirt.engine.core.bll.Backend] (ajp--127.0.0.1-8702-4) Error in getting DB connection. The database is inaccessible. Original exception is: UncategorizedSQLException: CallableStatementCallback; uncategorized SQLException for SQL [{call checkdbconnection()}]; SQL state [25P02]; error code [0]; ERROR: current transaction is aborted, commands ignored until end of transaction block; nested exception is org.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block</div>

<div><br></div><div>It looks like the db inserted correctly, I took a quick look through some tables and can see the valid admin user, and snapshots. But I can't say for certain.</div><div><br></div><div>The IP address of the new server does not match the IP of the old (backup file) server, would this have any impact? I would think not as its a local db.</div>

<div><br></div><div>When I changed the password for the psql engine user, is there any config file this is referenced in that may not have been updated?</div></div></div></blockquote><div><br></div><div>In principle, the only needed file is&nbsp;<span style="font-family:Helvetica,Arial,sans-serif">/etc/ovirt-engine/engine.conf.d/10-setup-database.conf</span></div>

<div><span style="font-family:Helvetica,Arial,sans-serif">which was updated by restore. Can you please verify that you can connect to the database</span></div><div><span style="font-family:Helvetica,Arial,sans-serif">using the credentials in this file? What are its permissions/owner?</span></div>

<div><span style="font-family:Helvetica,Arial,sans-serif"><br></span></div><div><span style="font-family:Helvetica,Arial,sans-serif">Thanks,</span></div><span><span color="#888888" data-mce-style="color: #888888;" style="color: #888888;"><div>-- <br></div><div><span></span>Didi<span></span><br>

</div><div><br></div></span></span></div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</blockquote><div><br><br></div><div><br></div><div>-- <br></div><div><span name="x"></span>Didi<span name="x"></span><br></div></div></body></html>