<div dir="ltr"><div>Your /var/lib/pgsql/data folder should be owned by postgres:postgres with 700 permission. Otherwise the daemon will fail to start. <br><br></div>So change it, restart pg service and don&#39;t run engine setup under root user - this should fix it<br><br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 19, 2017 at 8:46 AM Yedidyah Bar David &lt;<a href="mailto:didi@redhat.com">didi@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Jul 18, 2017 at 9:49 PM, shubham dubey &lt;<a href="mailto:sdubey504@gmail.com" target="_blank">sdubey504@gmail.com</a>&gt; wrote:<br>
&gt; I am having a issue in running $HOME/ovirt-engine/bin/engine-setup.<br>
&gt; Earlier I was getting this error<br>
&gt;<br>
&gt; [ ERROR ] Failed to execute stage &#39;Misc configuration&#39;: [Errno 13]<br>
&gt; Permission denied: &#39;/var/lib/pgsql/data/postgresql.conf&#39;<br>
&gt;<br>
&gt; then I just change the permission of /var/lib/pgsql/data/postgresql.conf and<br>
&gt; /var/lib/pgsql/data/ * to 777<br>
&gt; now I am getting this error<br>
&gt;<br>
&gt; [ ERROR ] Failed to execute stage &#39;Misc configuration&#39;: [Errno 1] Operation<br>
&gt; not permitted: &#39;/var/lib/pgsql/data/postgresql.conf.20170719001357&#39;<br>
&gt;<br>
&gt;<br>
&gt; So, any solution for that?<br>
<br>
I do not think it should try to configure postgresql in dev-env.<br>
Can you please share engine-setup logs? Thanks.<br>
<br>
&gt;<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Shubham<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Devel mailing list<br>
&gt; <a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br>
<br>
<br>
<br>
--<br>
Didi<br>
_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br>
</blockquote></div>