Re: postgresql.conf file goes missing everytime I restart postgres DB server.

Поиск
Список
Период
Сортировка
От arnab biswas
Тема Re: postgresql.conf file goes missing everytime I restart postgres DB server.
Дата
Msg-id CAJdPoFS4JV6ibsssnxqX-GY=XSLMSHnf0v_oNWCXPhVUrR4=tw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: postgresql.conf file goes missing everytime I restart postgresDB server.  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-admin
PFA the snapshot of the path:

/var/lib/postgresql/9.4/main/

The files postgresql.conf and pg_hba.conf are missing.

On Wed, Apr 10, 2019 at 12:39 AM Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
On 2019-Apr-10, Vikas Bodani wrote:

> > Maybe you have some HA tool that starts up another server, and delete
> > this one's config file in order to prevent split-brain.
>
> Thanks Alvaro. Since this happens during the multi-master bdr setup, could
> the other postgres instance within bdr, begin up and running while we
> restart this one, delete this one's config?

BDR by itself does not do that, to the best of my knowledge.  I hope you
didn't install the files twice somehow, so that one node's files
overwrote the other node's; I would be very surprised if it let you do
that anyway.

--
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


--
Regards,

Arnab Biswas
18030241056
7064342437
Вложения

В списке pgsql-admin по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: postgresql.conf file goes missing everytime I restart postgresDB server.
Следующее
От: arnab biswas
Дата:
Сообщение: Re: Postgresql.conf file not found after database restart.