<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 'su' command at beginning, correct commands are:<br><pre class="gmail-highlight gmail-plaintext"><code> su - postgres -c "psql -d template1 -c \"create user engine password 'engine';\""
su - postgres -c "psql -d template1 -c \"create database engine owner engine template template0 encoding 'UTF8' lc_collate 'en_US.UTF-8' lc_ctype 'en_US.UTF-8';\""
</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"><<a href="mailto:sdubey504@gmail.com" target="_blank">sdubey504@gmail.com</a>></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 "psql -d <wbr>template1 -c \"create user <wbr>engine password 'engine';\""<br>FATAL: -c psql -d template1 -c "create user engine password 'engine';" requires a value<br><br></code></div><code>and <br>$</code><code>postgres -c "psql -d <wbr>template1 -c "create database engine \</code><br><code></code><code>owner engine template <wbr>template0 encoding 'UTF8' lc_<wbr>collate \</code><br><code></code><code>'en_US.UTF-8' lc_ctype 'en_US.<wbr>UTF-8';\""<br>FATAL: -c psql -d template1 -c "create database engine owner engine template template0 encoding 'UTF8' lc_collate 'en_US.UTF-8' lc_ctype 'en_US.UTF-8';" 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>