pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Postgresql.conf file not found after database restart.
5+ messages / 4 participants
[nested] [flat]

* Postgresql.conf file not found after database restart.
@ 2019-04-09 16:31  arnab biswas <arnab.biswas@associates.scit.edu>
  0 siblings, 1 reply; 5+ messages in thread

From: arnab biswas @ 2019-04-09 16:31 UTC (permalink / raw)
  To: pgsql-admin

Hi,

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.

Regards,

ARNAB BISWAS

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Postgresql.conf file not found after database restart.
@ 2019-04-09 17:07  Scott Whitney <scott@journyx.com>
  parent: arnab biswas <arnab.biswas@associates.scit.edu>
  0 siblings, 1 reply; 5+ messages in thread

From: Scott Whitney @ 2019-04-09 17:07 UTC (permalink / raw)
  To: arnab biswas <arnab.biswas@associates.scit.edu>; pgsql-admin

Can you provide the output of:


ls -al /var/lib/postgresql/9.4/main/postgresql.conf




________________________________
From: arnab biswas <arnab.biswas@associates.scit.edu>
Sent: Tuesday, April 9, 2019 11:31 AM
To: pgsql-admin@postgresql.org
Subject: Postgresql.conf file not found after database restart.

Hi,

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.

Regards,

ARNAB BISWAS




[http://journyx.com/emailImages/ScottWhitney.png]

[http://journyx.com/emailImages/linkedin.png]<https://www.linkedin.com/company/journyx-inc/;  [http://journyx.com/emailImages/twitter.png] <https://www.twitter.com/journyxinc;
        [http://journyx.com/emailImages/bluebar.jpg]

Scott Whitney
Director of IT

[http://journyx.com/emailImages/journyx.jpg]

scott@journyx.com<mailto:scott@journyx.com> | +1 (800) 755-9878

7600 Burnet Road, Ste. 300
Austin, TX 78757

Visit us at www.journyx.com<https://www.journyx.com/;



To unsubscribe from Journyx promotional emails, click here <http://journyx.com/communication-preferences; or visit http://journyx.com/communication-preferences.

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Postgresql.conf file not found after database restart.
@ 2019-04-10 05:01  arnab biswas <arnab.biswas@associates.scit.edu>
  parent: Scott Whitney <scott@journyx.com>
  0 siblings, 2 replies; 5+ messages in thread

From: arnab biswas @ 2019-04-10 05:01 UTC (permalink / raw)
  To: Scott Whitney <scott@journyx.com>; +Cc: pgsql-admin; Vikas Bodani <vikas@webdataconsulting.in>

Hi Scott,

PFA the snapshot of the path:

/var/lib/postgresql/9.4/main/

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

On Tue, Apr 9, 2019 at 10:37 PM Scott Whitney <scott@journyx.com> wrote:

> Can you provide the output of:
>
>
> ls -al /var/lib/postgresql/9.4/main/postgresql.conf
>
>
>
>
>
> ------------------------------
> *From:* arnab biswas <arnab.biswas@associates.scit.edu>
> *Sent:* Tuesday, April 9, 2019 11:31 AM
> *To:* pgsql-admin@postgresql.org
> *Subject:* Postgresql.conf file not found after database restart.
>
> Hi,
>
> 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.
>
> Regards,
>
> ARNAB BISWAS
>
>
>
> <https://www.linkedin.com/company/journyx-inc/;
> <https://www.twitter.com/journyxinc;
>
> Scott Whitney
> Director of IT
>
> scott@journyx.com | +1 (800) 755-9878
>
> 7600 Burnet Road, Ste. 300
> Austin, TX 78757
>
> *Visit us at www.journyx.com <https://www.journyx.com/>*
>
>
> To unsubscribe from Journyx promotional emails, click here
> <http://journyx.com/communication-preferences>or visit
> http://journyx.com/communication-preferences.
>


-- 
Regards,

Arnab Biswas
18030241056
7064342437

Attachments:

post1.png (image/png, 186.4K) download view image
^ permalink raw reply [nested|flat] 5+ messages in thread

* Re: Postgresql.conf file not found after database restart.
@ 2019-04-10 06:22  Stéphane Dunand <s.dunand@sirap.fr>
  parent: arnab biswas <arnab.biswas@associates.scit.edu>
  1 sibling, 0 replies; 5+ messages in thread

From: Stéphane Dunand @ 2019-04-10 06:22 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org


Le 10/04/2019 à 07:01, arnab biswas a écrit :
> Hi Scott,
>
> PFA the snapshot of the path:
>
> /var/lib/postgresql/9.4/main/
>
> The files postgresql.conf and pg_hba.conf are missing.

Your postgresql.conf is in $HOME/9.4/main ? Check in this file 
data_directory parameter.

Stéphane






^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Postgresql.conf file not found after database restart.
@ 2019-04-10 06:37  Julien Rouhaud <rjuju123@gmail.com>
  parent: arnab biswas <arnab.biswas@associates.scit.edu>
  1 sibling, 0 replies; 5+ messages in thread

From: Julien Rouhaud @ 2019-04-10 06:37 UTC (permalink / raw)
  To: arnab biswas <arnab.biswas@associates.scit.edu>; +Cc: Scott Whitney <scott@journyx.com>; pgsql-admin; Vikas Bodani <vikas@webdataconsulting.in>

On Wed, Apr 10, 2019 at 7:01 AM arnab biswas
<arnab.biswas@associates.scit.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.





^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2019-04-10 06:37 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-04-09 16:31 Postgresql.conf file not found after database restart. arnab biswas <arnab.biswas@associates.scit.edu>
2019-04-09 17:07 ` Scott Whitney <scott@journyx.com>
2019-04-10 05:01   ` arnab biswas <arnab.biswas@associates.scit.edu>
2019-04-10 06:22     ` Stéphane Dunand <s.dunand@sirap.fr>
2019-04-10 06:37     ` Julien Rouhaud <rjuju123@gmail.com>

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