RE: Remote Connection Help - Mailing list pgsql-general

From Jason L. Amerson
Subject RE: Remote Connection Help
Date
Msg-id !&!AAAAAAAAAAAuAAAAAAAAAGmIF169jV1Ig2e+e0GOo/YBAMO2jhD3dRHOtM0AqgC7tuYAAAAAAA4AABAAAAAQvQm11sXiQYE+SPyhFDycAQAAAAA=@alphagenius.org
Whole thread Raw
In response to Re: Remote Connection Help  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Remote Connection Help
List pgsql-general
Adrian,

I originally did install PostgreSQL 12 from the repository. Then I removed it and decided to do it from source. I do
havetwo postgresql.conf files and two pg_hba.conf files in two different locations. I guess I need to know which one to
keep.When I enter SHOW config_file;, I get the location /usr/local/pgsql/data/postgresql.conf. There is a pg_hba.conf
filein there too. Anyways, the version that I installed from source is version 12. The setting in postgresql.conf is
listen_addresses= ‘*’ and the port is 5432. listen_addresses is uncommented but port is commented out. 

Jason L. Amerson


-----Original Message-----
From: Adrian Klaver <adrian.klaver@aklaver.com>
Sent: Thursday, November 21, 2019 04:32 PM
To: Jason L. Amerson <drjason@alphagenius.org>
Cc: 'Steve Crawford' <scrawford@pinpointresearch.com>; 'PostgreSQL' <pgsql-general@lists.postgresql.org>
Subject: Re: Remote Connection Help

On 11/21/19 1:14 PM, Jason L. Amerson wrote:
> 1) I have attached a screenshot of the output of "ps ax | grep post" on the Ubuntu machine.

What program are you using to SSH into the remote machine?
It should allow you to copy 'n' paste the screen output without resorting to screenshots. Text is a lot handier and
easyto read. 

>
> 2) Since I was new to PostgreSQL, I followed a tutorial online. I did install from source which I already knew how to
do.I got the source package from PostgreSQL. I basically followed these instructions: 

One of your previous posts showed:

"/etc/postgresql/9.4/main."

which would indicate that Postgres was also installed using deb packaging. This is something you probably want to
followup on as different Postgres instances from different sources can be an issue in and of itself. 

In the meantime as to your issue:

1) What Postgres version did you install from source?

2) In /usr/local/pgsql/data what is the exact setting for listen_addresses and port in postgresql.conf


>
> sudo ./configure


--
Adrian Klaver
adrian.klaver@aklaver.com






pgsql-general by date:

Previous
From: "Zwettler Markus (OIZ)"
Date:
Subject: sql query for postgres replication check
Next
From: "Jason L. Amerson"
Date:
Subject: RE: Remote Connection Help