<div dir="ltr">sudo - postgres and append those lines into data/postgresql.conf<br><br><div class="inbox-inbox-de1">  autovacuum_vacuum_scale_factor = <span class="inbox-inbox-nu0">0.01</span></div>
<div class="inbox-inbox-de1">  autovacuum_analyze_scale_factor = <span class="inbox-inbox-nu0">0.075</span></div>
<div class="inbox-inbox-de1">  autovacuum_max_workers = <span class="inbox-inbox-nu0">6</span></div>
<div class="inbox-inbox-de2">  maintenance_work_mem = <span class="inbox-inbox-nu0">65536<br><br><br></span></div><div class="inbox-inbox-de2"><span class="inbox-inbox-nu0">restart and try engine setup again<br></span></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 19, 2017 at 10:59 AM shubham dubey &lt;<a href="mailto:sdubey504@gmail.com">sdubey504@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Yes I have changed the permission for /var/lib/pgsql/data to 700 and running as normal user<br></div><div>but that doesn&#39;t fix the problem.<br></div>Here is the logs maybe that will explain more: <a href="https://pastebin.com/44d4XeyC" target="_blank">https://pastebin.com/44d4XeyC</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 19, 2017 at 1:26 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"><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><div class="m_-4354348813933406900HOEnZb"><div class="m_-4354348813933406900h5"><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" target="_blank">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>
</div></div></blockquote></div><br></div>
</blockquote></div>