[ovirt-devel] Error in running engine-setup

Roy Golan rgolan at redhat.com
Wed Jul 19 08:38:33 UTC 2017


sudo - postgres and append those lines into data/postgresql.conf

  autovacuum_vacuum_scale_factor = 0.01
  autovacuum_analyze_scale_factor = 0.075
  autovacuum_max_workers = 6
  maintenance_work_mem = 65536


restart and try engine setup again

On Wed, Jul 19, 2017 at 10:59 AM shubham dubey <sdubey504 at gmail.com> wrote:

> 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 at 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 at redhat.com>
>> wrote:
>>
>>> On Tue, Jul 18, 2017 at 9:49 PM, shubham dubey <sdubey504 at 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 at ovirt.org
>>> > http://lists.ovirt.org/mailman/listinfo/devel
>>>
>>>
>>>
>>> --
>>> Didi
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/devel
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170719/30bf061d/attachment.html>


More information about the Devel mailing list