Yes I have changed the permission for /var/lib/pgsql/data to 700 and running as normal user
but that doesn't fix the problem.
Here is the logs maybe that will explain more: https://pastebin.com/44d4XeyC

On Wed, Jul 19, 2017 at 1:26 PM, Roy Golan <rgolan@redhat.com> wrote:
Your /var/lib/pgsql/data folder should be owned by postgres:postgres with 700 permission. Otherwise the daemon will fail to start.

So change it, restart pg service and don't run engine setup under root user - this should fix it


On Wed, Jul 19, 2017 at 8:46 AM Yedidyah Bar David <didi@redhat.com> wrote:
On Tue, Jul 18, 2017 at 9:49 PM, shubham dubey <sdubey504@gmail.com> wrote:
> I am having a issue in running $HOME/ovirt-engine/bin/engine-setup.
> Earlier I was getting this error
>
> [ ERROR ] Failed to execute stage 'Misc configuration': [Errno 13]
> Permission denied: '/var/lib/pgsql/data/postgresql.conf'
>
> then I just change the permission of /var/lib/pgsql/data/postgresql.conf and
> /var/lib/pgsql/data/ * to 777
> now I am getting this error
>
> [ ERROR ] Failed to execute stage 'Misc configuration': [Errno 1] Operation
> not permitted: '/var/lib/pgsql/data/postgresql.conf.20170719001357'
>
>
> So, any solution for that?

I do not think it should try to configure postgresql in dev-env.
Can you please share engine-setup logs? Thanks.

>
>
> Thanks,
> Shubham
>
> _______________________________________________
> Devel mailing list
> Devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel



--
Didi
_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel