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 1gMwk3-0004Sv-Jp for pgsql-general@arkaria.postgresql.org; Wed, 14 Nov 2018 15:06:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gMwk1-0006GO-DE for pgsql-general@arkaria.postgresql.org; Wed, 14 Nov 2018 15:06:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMwjz-00068p-6S for pgsql-general@lists.postgresql.org; Wed, 14 Nov 2018 15:06:05 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMwjv-000352-CZ for pgsql-general@postgresql.org; Wed, 14 Nov 2018 15:06:02 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C2D022222F; Wed, 14 Nov 2018 10:05:57 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 14 Nov 2018 10:05:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=k RE85l36Fp5ASdzD0rDqRSNYiAHilnnKeJeBfsJGXng=; b=TVjY2PWOeJisQXBWV ywY1nQmspL/2e7qzeDSHHug4e9LM9l8UV3WPrw0pDSAj48ZBL3Fckf8nN6zdx2C4 FDN2u++yWGHZwVsGPdSYW0sQT9E+Kjvy/mcQQUvLapDI9x994WhWld7m3BR4IrTU qaTT8tTVI6sK8kea7GEglOkoanWN9B8thGkg+ML6gVDwoEUTiSAkJV88rbohRkc1 D5m1eFcXQYzfCZcWpoNIEh6+fwETJejr7fJ/wz6PnZWXrcXpXCVYRnub4V7zhngs 8XHMcAsDmQX2ZgBf1eYZTivq+fyw117DScqXi+JCQB+hDeyfX+efL9ySvc8bZ6ns kG9Jw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=kRE85l36Fp5ASdzD0rDqRSNYiAHilnnKeJeBfsJGX ng=; b=LGOTD7vrd/E3yzW4NaQkZjjIM4OHKSQMdGkhDSiwRbFPyifMwYc/ygnAf NDZtzCQwQnux7DsOvhXGTHyEo9Zh/E7okY1M0o4WYo4eqdtENaDH10SGIFLWkFlU kB16PQUOThOZLUFoXr7EENg30Pp1EWtu9kB567KsbFHIjqeT5GJbTRM743QF3dCs cRTO423WMiRY9iKsuJw8Pxryvv1v7WSAHBzXZec1IQapYpE4CvO1gpxVP9hJZA1N yxjAD31rSuJXdmm1QNNw+6X2Pkx3I7aN6KjPYYBZ83/TIXq0mOABoX48iYY3YhsS Rz3czYWe5+fmnwmUXDkQHAa631ggw== X-ME-Sender: X-ME-Proxy: Received: from [192.168.1.3] (unknown [71.212.134.3]) by mail.messagingengine.com (Postfix) with ESMTPA id 6DCF0E40E6; Wed, 14 Nov 2018 10:05:56 -0500 (EST) Subject: Re: Move cluster to new host, upgraded version To: Rich Shepard , pgsql-general@postgresql.org References: <87wopjv2gu.fsf@news-spur.riddles.org.uk> <38cdd93b-e0be-ca3b-decd-64072356e6ce@aklaver.com> <6048bbde-04a4-3b90-00de-65adf78c8196@aklaver.com> From: Adrian Klaver Message-ID: Date: Wed, 14 Nov 2018 07:05:55 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/14/18 6:58 AM, Rich Shepard wrote: > On Tue, 13 Nov 2018, Adrian Klaver wrote: > >> Just realized the question I should have asked is: >> How did you get the pg_dumpall file processed by Postgres? >> In other words how did you do it without a password? > >   As user postgres I entered the command > $ psql -f dump-all.sql > >   In any case, I need to back up because I missed something when > initializing the cluster. > >   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. > >   I can delete contents of the data directory and re-initdb, or re-install > the application and start from scratch. It was running when you did this: psql -f dump-all.sql correct? Seems to me it is a start up script issue. Have you rebooted the computer since the last time Postgres ran? Is there a startup script in init.d/ or where ever your scripts are? Can you start the server manually using pg_ctl? > > Advice appreciated, > > Rich > > -- Adrian Klaver adrian.klaver@aklaver.com