<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi,<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I think you have forgotten &#39;su&#39; command at beginning, correct commands are:<br><pre class="gmail-highlight gmail-plaintext"><code>  su - postgres -c &quot;psql -d template1 -c \&quot;create user engine password &#39;engine&#39;;\&quot;&quot;
  su - postgres -c &quot;psql -d template1 -c \&quot;create database engine owner engine template template0 encoding &#39;UTF8&#39; lc_collate &#39;en_US.UTF-8&#39; lc_ctype &#39;en_US.UTF-8&#39;;\&quot;&quot;
</code></pre></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Martin<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 15, 2017 at 5:30 PM, shubham dubey <span dir="ltr">&lt;<a href="mailto:sdubey504@gmail.com" target="_blank">sdubey504@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hello,<br>I am trying to setup ovirt-engine using this link <a href="http://www.ovirt.org/develop/developer-guide/engine/engine-development-environment/" target="_blank">http://www.ovirt.org/develop/<wbr>developer-guide/engine/engine-<wbr>development-environment/</a>.<br></div>Now when I am trying these commands I am getting following error<br>$<code>postgres -c &quot;psql -d <wbr>template1 -c \&quot;create user <wbr>engine password &#39;engine&#39;;\&quot;&quot;<br>FATAL:  -c psql -d template1 -c &quot;create user engine password &#39;engine&#39;;&quot; requires a value<br><br></code></div><code>and <br>$</code><code>postgres -c &quot;psql -d <wbr>template1 -c &quot;create database engine \</code><br><code></code><code>owner engine template <wbr>template0 encoding &#39;UTF8&#39; lc_<wbr>collate \</code><br><code></code><code>&#39;en_US.UTF-8&#39; lc_ctype &#39;en_US.<wbr>UTF-8&#39;;\&quot;&quot;<br>FATAL:  -c psql -d template1 -c &quot;create database engine owner engine template template0 encoding &#39;UTF8&#39; lc_collate &#39;en_US.UTF-8&#39; lc_ctype &#39;en_US.UTF-8&#39;;&quot; requires a value<br><br></code></div><code>So I think the syntax given there is not right,So can anyone tell me the correct syntax.Or maybe I am doing something wrong.<br><br></code></div><code>Thanks,<br></code></div><code>Shubham<br></code></div>
<br>______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br></blockquote></div><br></div></div>