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 1gMx8V-00067v-KZ for pgsql-general@arkaria.postgresql.org; Wed, 14 Nov 2018 15:31:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gMx8T-0008OK-PT for pgsql-general@arkaria.postgresql.org; Wed, 14 Nov 2018 15:31:21 +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 1gMx8T-0008OD-9f for pgsql-general@lists.postgresql.org; Wed, 14 Nov 2018 15:31:21 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMx8P-0006ri-TY for pgsql-general@postgresql.org; Wed, 14 Nov 2018 15:31:20 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id wAEFV2br007983; Wed, 14 Nov 2018 10:31:02 -0500 From: Tom Lane To: Rich Shepard cc: pgsql-general@postgresql.org Subject: Re: Move cluster to new host, upgraded version In-reply-to: References: <87wopjv2gu.fsf@news-spur.riddles.org.uk> <38cdd93b-e0be-ca3b-decd-64072356e6ce@aklaver.com> <6048bbde-04a4-3b90-00de-65adf78c8196@aklaver.com> Comments: In-reply-to Rich Shepard message dated "Wed, 14 Nov 2018 06:58:33 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <7981.1542209462.1@sss.pgh.pa.us> Date: Wed, 14 Nov 2018 10:31:02 -0500 Message-ID: <7982.1542209462@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Rich Shepard writes: > ps ax | grep postgres > shows a number of processes, but psql tells me there's no server running, > and there is no postmaster.opts or postmaster.pid in the data directory. Perhaps those are associated with some other data directory? You could try using lsof on one of them to see what its current working directory is (or on Linux, examine /proc/NN/cwd). lsof on whichever one(s) is/are postmasters would also tell you what sockets they're listening on. regards, tom lane