<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><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">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>