Re: Postgresql.conf file not found after database restart.

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: arnab biswas <arnab(dot)biswas(at)associates(dot)scit(dot)edu>
Cc: Scott Whitney <scott(at)journyx(dot)com>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>, Vikas Bodani <vikas(at)webdataconsulting(dot)in>
Subject: Re: Postgresql.conf file not found after database restart.
Date: 2019-04-10 06:37:43
Message-ID: CAOBaU_ZPAu5zr-bCLFQrV21G=fZLDdz=eikzxRs7n2DRD3TuzA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, Apr 10, 2019 at 7:01 AM arnab biswas
<arnab(dot)biswas(at)associates(dot)scit(dot)edu> wrote:
>
> Hi Scott,
>
> PFA the snapshot of the path:
>
> /var/lib/postgresql/9.4/main/
>
> The files postgresql.conf and pg_hba.conf are missing.

Debian and ubuntu have the configuration stored in /etc/postgresql/,
not /var/lib/postgresql. You should use the pg_ctlcluster command
instead of pg_ctl. See
http://manpages.ubuntu.com/manpages/trusty/man8/pg_ctlcluster.8.html
and related commands.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message soumitra bhandary 2019-04-11 14:33:11 BDR OR MASTER SLAVE REPLICATION WITH REPMGR IS SUITABLE FOR LARGE ONLINE APPLICATION
Previous Message Stéphane Dunand 2019-04-10 06:22:45 Re: Postgresql.conf file not found after database restart.