pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: arnab biswas <arnab.biswas@associates.scit.edu>
Cc: pgsql-admin@postgresql.org
Cc: vikas@webdataconsulting.in
Subject: Re: postgresql.conf file goes missing everytime I restart postgres DB server.
Date: Tue, 9 Apr 2019 12:40:21 -0400
Message-ID: <20190409164021.GA7490@alvherre.pgsql> (raw)
In-Reply-To: <CAJdPoFTc929hyrLQEDO7XqBT3T7mQwJgAuG4HDhVmw5c7ty1ow@mail.gmail.com>

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





view thread (8+ messages)  latest in thread

Message-ID: <20190409164021.GA7490@alvherre.pgsql>
Permalink:  ../20190409164021.GA7490@alvherre.pgsql/
Also on:    postgresql.org/message-id/20190409164021.GA7490@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: alvherre@2ndquadrant.com, arnab.biswas@associates.scit.edu, vikas@webdataconsulting.in
  Subject: Re: postgresql.conf file goes missing everytime I restart postgres DB server.
  In-Reply-To: <20190409164021.GA7490@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox