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

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: arnab biswas <arnab(dot)biswas(at)associates(dot)scit(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org, vikas(at)webdataconsulting(dot)in
Subject: Re: postgresql.conf file goes missing everytime I restart postgres DB server.
Date: 2019-04-09 16:40:21
Message-ID: 20190409164021.GA7490@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 2019-Apr-09, arnab biswas wrote:

> I am trying to setup postgresql bdr 9.4. I have to do regular restart of DB
> server after doing changes in postgresql.conf and pg_hba.conf. After
> restart the postgresql.conf file does not load. It gives the following
> error:
>
> /var/lib/postgresql/9.4/main/postgresql.conf not found
>
> I could not find any solution to this issue. Requesting your kind reply to
> this issue.

So how do you recreate the postgresql.conf file?

Maybe you have some HA tool that starts up another server, and delete
this one's config file in order to prevent split-brain.

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message arnab biswas 2019-04-09 16:50:25 Re: postgresql.conf file goes missing everytime I restart postgres DB server.
Previous Message arnab biswas 2019-04-09 16:33:22 postgresql.conf file goes missing everytime I restart postgres DB server.