<div dir="ltr">I don&#39;t have external director server. I&#39;m trying to login using the default username (admin) which used to work before I run the create db script.<br><br>[elad@ovirt dbscripts]$ grep postgresql /usr/share/jboss-as/standalone/configuration/standalone.xml <br>

                    &lt;connection-url&gt;jdbc:postgresql://localhost:5432/engine&lt;/connection-url&gt;<br>                    &lt;driver&gt;postgresql&lt;/driver&gt;<br>                    &lt;driver name=&quot;postgresql&quot; module=&quot;org.postgresql&quot;&gt;<br>

                        &lt;xa-datasource-class&gt;org.postgresql.xa.PGXADataSource&lt;/xa-datasource-class&gt;<br><br>Attached engine.log<br><br><br><div class="gmail_quote">On Mon, May 21, 2012 at 2:24 PM, Roy Golan <span dir="ltr">&lt;<a href="mailto:rgolan@redhat.com" target="_blank">rgolan@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">On 05/21/2012 02:23 PM, Roy Golan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 05/21/2012 01:50 PM, Yair Zaslavsky wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 05/21/2012 01:44 PM, Elad Tabak wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
After an attempt to clear the DB by running &#39;./create_db_devel.sh -u<br>
postgres&#39;, I got an error:<br>
*Failed to create database engine*<br>
I then run &#39;dropdb -U postgres engine&#39;, and then &#39;create_db_devel.sh&#39;<br>
again, but still I get the same error.<br>
When I tried to login from the admin web interface, I get authentication<br>
error. This is from the jboss log:<br>
USER_FAILED_TO_AUTHENTICATE_<u></u>ACCOUNT_IS_LOCKED_OR_DISABLED<br>
<br>
I also tried running &#39;./create_db_devel.sh -u postgres -d engine_new&#39;,<br>
but it gives the same error (&quot;Failed to create database engine_new&quot;).<br>
I tried restarting the posgresql service, it didn&#39;t help.<br>
<br>
Please advice.<br>
<br>
Thanks,<br>
Elad<br>
</blockquote>
Elad - are you trying to authenticate with Active directory?<br>
</blockquote>
there&#39;s a good chance your /usr/local/jboss/standalone/<u></u>configutration/standalone.xml is pointing to a different DB otherwise I can figure out how create_db_devel.sh have put the domain values for you.<br>
pls paste the engine.log and  the output of:<br>
grep ovirt /usr/local/jboss/standalone/<u></u>configuration/standalone.xml<br>
</blockquote>
oops its grep postgresql /usr/local/jboss/standalone/<u></u>configuration/standalone.xml<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Kind regards,<br>
Yair<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
______________________________<u></u>_________________<br>
Engine-devel mailing list<br>
<a href="mailto:Engine-devel@ovirt.org" target="_blank">Engine-devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/engine-devel</a><br>
</blockquote>
______________________________<u></u>_________________<br>
Engine-devel mailing list<br>
<a href="mailto:Engine-devel@ovirt.org" target="_blank">Engine-devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/engine-devel</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Engine-devel mailing list<br>
<a href="mailto:Engine-devel@ovirt.org" target="_blank">Engine-devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/engine-devel</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Engine-devel mailing list<br>
<a href="mailto:Engine-devel@ovirt.org" target="_blank">Engine-devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/engine-devel</a><br>
</blockquote></div><br></div>