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

From: arnab biswas <arnab(dot)biswas(at)associates(dot)scit(dot)edu>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Vikas Bodani <vikas(at)webdataconsulting(dot)in>, arnab biswas <arnab(dot)biswas(at)associates(dot)scit(dot)edu>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: postgresql.conf file goes missing everytime I restart postgres DB server.
Date: 2019-04-10 04:55:23
Message-ID: CAJdPoFS4JV6ibsssnxqX-GY=XSLMSHnf0v_oNWCXPhVUrR4=tw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)2ndquadrant(dot)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

Attachment Content-Type Size
post1.png image/png 186.4 KB

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message arnab biswas 2019-04-10 05:01:03 Re: Postgresql.conf file not found after database restart.
Previous Message Alvaro Herrera 2019-04-09 19:09:05 Re: postgresql.conf file goes missing everytime I restart postgres DB server.