<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 <<a href="mailto:sdubey504@gmail.com">sdubey504@gmail.com</a>> 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'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"><<a href="mailto:rgolan@redhat.com" target="_blank">rgolan@redhat.com</a>></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'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 <<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>> 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 <<a href="mailto:sdubey504@gmail.com" target="_blank">sdubey504@gmail.com</a>> wrote:<br>
> I am having a issue in running $HOME/ovirt-engine/bin/engine-setup.<br>
> Earlier I was getting this error<br>
><br>
> [ ERROR ] Failed to execute stage 'Misc configuration': [Errno 13]<br>
> Permission denied: '/var/lib/pgsql/data/postgresql.conf'<br>
><br>
> then I just change the permission of /var/lib/pgsql/data/postgresql.conf and<br>
> /var/lib/pgsql/data/ * to 777<br>
> now I am getting this error<br>
><br>
> [ ERROR ] Failed to execute stage 'Misc configuration': [Errno 1] Operation<br>
> not permitted: '/var/lib/pgsql/data/postgresql.conf.20170719001357'<br>
><br>
><br>
> 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>
><br>
><br>
> Thanks,<br>
> Shubham<br>
><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>
<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>