Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iYBIj-0001qW-UR for pgsql-general@arkaria.postgresql.org; Fri, 22 Nov 2019 15:56:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iYBIh-0007XD-4w for pgsql-general@arkaria.postgresql.org; Fri, 22 Nov 2019 15:56:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iYBIe-0007WE-Ud for pgsql-general@lists.postgresql.org; Fri, 22 Nov 2019 15:56:50 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iYBIb-0007lu-Ml for pgsql-general@lists.postgresql.org; Fri, 22 Nov 2019 15:56:47 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id BE786B1D; Fri, 22 Nov 2019 10:56:43 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 22 Nov 2019 10:56:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=4 1rATfUUbAVc3bA0dIrW/KU/ZXuHeU6sCrQL5Q+BPAc=; b=RpK9znJ2D45yDSDok EI+kt6jejgJubBbrSWpUmIN8qH6U6XK8J2aQu7Y5RcumVZ5+Z/EOqcrr2MlzgvFJ rWLjYYXE0mkgqsdrXwVqx1OwfyxHxtmkW+F2BrMI2yz+yVRZ62Ld0rRj1uaCp9lu hh22JILwnswYQeL/zJhSz1FZfaxs8PsK+FdITbW42IcelBgqLuAsVqN/Yq0C+DxL CUbOgK8MR1C5Gg1JxDdzAoqcD69Wnwjn23T0Q2/kEjopFDkisXPzDnH3iUyYH+js oro2vehYcgYwYGwSS8gJPoU/BKWCg6xtYWuC8u4YXGJJGQnWzgoLoxQMiDwC+TDb PgcHg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=41rATfUUbAVc3bA0dIrW/KU/ZXuHeU6sCrQL5Q+BP Ac=; b=T5I/EM5ReKyu0WKMSBecGbafhuWKmx6K5zjLzMgB0s1aU0mGyczYjESWX +UIpaHs7/daTY8GGI3+RBVXBE36zzRfJ92PlUUn0vh+otCkKbUKPlbFXXBhkZFds g6ruFioY71GldrnToFGQSHbnQuJof54J0vM8xw6Zu6duPdiM7iVwo++nWu2Gi1UM ITyqQhAq2toaoboy48pAz1fHAiD9sHXd6krLGKa9VCJUQIIftAc6Cp/i97rCwkC9 rnYwqpDc4Z6vLPBB1wpbBNmr8ut8cR0o7/If/OKn0ruviFi/qp9araGn93FrAqH4 vpO1rdAd59NGbrubB4Zbku3CHtkgQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudehgedgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecukfhppeejuddrvdduvddrudeffedrud dukeenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghk lhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.2] (unknown [71.212.133.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 749B78005C; Fri, 22 Nov 2019 10:56:42 -0500 (EST) Subject: Re: Remote Connection Help To: "Jason L. Amerson" Cc: 'PostgreSQL' References: <27323.1574360282@sss.pgh.pa.us> <30565.1574365295@sss.pgh.pa.us> <55d9ec62-1c3e-0ed8-9c54-beef70387b1f@aklaver.com> From: Adrian Klaver Message-ID: Date: Fri, 22 Nov 2019 07:56:41 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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///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 > Sent: Thursday, November 21, 2019 04:53 PM > To: Jason L. Amerson > Cc: 'Steve Crawford' ; 'PostgreSQL' > 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