pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Jason L. Amerson <drjason@alphagenius.org>
Cc: PostgreSQL <pgsql-general@lists.postgresql.org>
Subject: Re: Remote Connection Help
Date: Fri, 22 Nov 2019 07:56:41 -0800
Message-ID: <e4be71a6-af70-3b74-dcb8-31016fed3b52@aklaver.com> (raw)
In-Reply-To: <!&!AAAAAAAAAAAuAAAAAAAAAGmIF169jV1Ig2e+e0GOo/YBAMO2jhD3dRHOtM0AqgC7tuYAAAAAAA4AABAAAABEPH4F6epaQKySUqBVIEDZAQAAAAA=@alphagenius.org>
References: <!&!AAAAAAAAAAAuAAAAAAAAAGmIF169jV1Ig2e+e0GOo/YBAMO2jhD3dRHOtM0AqgC7tuYAAAAAAA4AABAAAAAse4DPB0qGQZhIy/hSwvrXAQAAAAA=@alphagenius.org>
	<!&!AAAAAAAAAAAuAAAAAAAAAGmIF169jV1Ig2e+e0GOo/YBAMO2jhD3dRHOtM0AqgC7tuYAAAAAAA4AABAAAABIf3q6Pk74Q4+JJTp/7lSbAQAAAAA=@alphagenius.org>
	<27323.1574360282@sss.pgh.pa.us>
	<!&!AAAAAAAAAAAuAAAAAAAAAGmIF169jV1Ig2e+e0GOo/YBAMO2jhD3dRHOtM0AqgC7tuYAAAAAAA4AABAAAAAm2xSDZXS/SYox13KifmMdAQAAAAA=@alphagenius.org>
	<30565.1574365295@sss.pgh.pa.us>
	<!&!AAAAAAAAAAAuAAAAAAAAAGmIF169jV1Ig2e+e0GOo/YBAMO2jhD3dRHOtM0AqgC7tuYAAAAAAA4AABAAAADOEJI873oKRryLCsjPa3CMAQAAAAA=@alphagenius.org>
	<e3e3f445-b608-00c8-1ee5-8f6caa39b019@aklaver.com>
	<!&!AAAAAAAAAAAuAAAAAAAAAGmIF169jV1Ig2e+e0GOo/YBAMO2jhD3dRHOtM0AqgC7tuYAAAAAAA4AABAAAABM2v1p8+7ITIOK7/K4ym/CAQAAAAA=@alphagenius.org>
	<55d9ec62-1c3e-0ed8-9c54-beef70387b1f@aklaver.com>
	<!&!AAAAAAAAAAAuAAAAAAAAAGmIF169jV1Ig2e+e0GOo/YBAMO2jhD3dRHOtM0AqgC7tuYAAAAAAA4AABAAAABEPH4F6epaQKySUqBVIEDZAQAAAAA=@alphagenius.org>

On 11/22/19 5:49 AM, Jason L. Amerson wrote:
> I am start/stopping the server by using sudo service postgresql start/stop/restart/status. When I run any of these commands, I do not get anything. No confirmation, except for 

Where did the postgresql file in /etc/init.d/ come from?

Does it have something like:

# Setting environment variables for the postmaster here does not work; 
please
# set them in /etc/postgresql/<version>/<cluster>/environment instead.

[ -r /usr/share/postgresql-common/init.d-functions ] || exit 0

. /usr/share/postgresql-common/init.d-functions

near the top?

the status, it does show the server is running. But otherwise, all I see 
is that it just goes to a new line with no confirmation or errors.
> 
> Jason L. Amerson
> 
> 
> -----Original Message-----
> From: Adrian Klaver <adrian.klaver@aklaver.com>
> Sent: Thursday, November 21, 2019 04:53 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.
>>
>> 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:
>>
> 
> Additional questions that came to mind:
> 
> 1) How are you starting/stopping server?
> 
> 2) What do you see on the terminal when you restart the server? I see:
> 
> aklaver@ranger:~> sudo /etc/init.d/postgresql11 restart Restarting PostgreSQL: ok
>   
>   
> 
> aklaver@ranger:~> -2019-11-21 13:49:30.104 PST-0LOG:  listening on IPv6 address "::1", port 5432
>   
> 
> -2019-11-21 13:49:30.104 PST-0LOG:  listening on IPv4 address
> "127.0.0.1", port 5432
>   
> 
> -2019-11-21 13:49:30.193 PST-0LOG:  listening on Unix socket
> "/tmp/.s.PGSQL.5432"
>   
> 
> -2019-11-21 13:49:30.322 PST-0LOG:  redirecting log output to logging
> collector process
>   
> 
> -2019-11-21 13:49:30.322 PST-0HINT:  Future log output will appear in
> directory "log".
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (37+ messages)  latest in thread

Message-ID: <e4be71a6-af70-3b74-dcb8-31016fed3b52@aklaver.com>
Permalink:  ../e4be71a6-af70-3b74-dcb8-31016fed3b52@aklaver.com/
Also on:    postgresql.org/message-id/e4be71a6-af70-3b74-dcb8-31016fed3b52@aklaver.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, drjason@alphagenius.org
  Subject: Re: Remote Connection Help
  In-Reply-To: <e4be71a6-af70-3b74-dcb8-31016fed3b52@aklaver.com>
  References: <!&!AAAAAAAAAAAuAAAAAAAAAGmIF169jV1Ig2e+e0GOo/YBAMO2jhD3dRHOtM0AqgC7tuYAAAAAAA4AABAAAAAse4DPB0qGQZhIy/hSwvrXAQAAAAA=@alphagenius.org> <27323.1574360282@sss.pgh.pa.us> <!&!AAAAAAAAAAAuAAAAAAAAAGmIF169jV1Ig2e+e0GOo/YBAMO2jhD3dRHOtM0AqgC7tuYAAAAAAA4AABAAAAAm2xSDZXS/SYox13KifmMdAQAAAAA=@alphagenius.org> <30565.1574365295@sss.pgh.pa.us> <!&!AAAAAAAAAAAuAAAAAAAAAGmIF169jV1Ig2e+e0GOo/YBAMO2jhD3dRHOtM0AqgC7tuYAAAAAAA4AABAAAADOEJI873oKRryLCsjPa3CMAQAAAAA=@alphagenius.org> <e3e3f445-b608-00c8-1ee5-8f6caa39b019@aklaver.com> <!&!AAAAAAAAAAAuAAAAAAAAAGmIF169jV1Ig2e+e0GOo/YBAMO2jhD3dRHOtM0AqgC7tuYAAAAAAA4AABAAAABM2v1p8+7ITIOK7/K4ym/CAQAAAAA=@alphagenius.org> <55d9ec62-1c3e-0ed8-9c54-beef70387b1f@aklaver.com> <!&!AAAAAAAAAAAuAAAAAAAAAGmIF169jV1Ig2e+e0GOo/YBAMO2jhD3dRHOtM0AqgC7tuYAAAAAAA4AABAAAABEPH4F6epaQKySUqBVIEDZAQAAAAA=@alphagenius.org> <e4be71a6-af70-3b74-dcb8-31016fed3b52@aklaver.com>

* 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