Re: Pg_auto_failover - Mailing list pgsql-general

From bricklen
Subject Re: Pg_auto_failover
Date
Msg-id CAGrpgQ_UZOqB95sKD0=-XS6ja_WEGQRsDAmADiVnqcCCDVvJdg@mail.gmail.com
Whole thread Raw
In response to Pg_auto_failover  (Sonam Sharma <sonams1209@gmail.com>)
Responses Re: Pg_auto_failover
List pgsql-general


On Tue, Sep 24, 2019 at 8:41 AM Sonam Sharma <sonams1209@gmail.com> wrote:
I was setting up pg_auto_failover. Have successfully set up and monitor and primary instance. While setting up secondary it's failing with below :

ERROR Failed to ensure empty directory "//backup" : Permission denied
Error Failed initialise standby server , see above for details.

Is the problem literally that the OS user executing the commands does not have sufficient permission to work in that directory? If you are creating your data directory manually in "/", you might want to create a directory under that path that the user executing the commands has sufficient permission to modify (delete, create, write to)

pgsql-general by date:

Previous
From: Jerry Sievers
Date:
Subject: Re: pg_terminate_backend not working
Next
From: bhargav kamineni
Date:
Subject: Re: pg_terminate_backend not working