Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fzQIY-00080M-Rn for pgsql-bugs@arkaria.postgresql.org; Mon, 10 Sep 2018 17:48:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fzQIW-0003Zl-IW for pgsql-bugs@arkaria.postgresql.org; Mon, 10 Sep 2018 17:48:28 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1fzQIW-0003Ze-Cc for pgsql-bugs@lists.postgresql.org; Mon, 10 Sep 2018 17:48:28 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fzQIS-0006BB-VB for pgsql-bugs@lists.postgresql.org; Mon, 10 Sep 2018 17:48:27 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1fzQIR-0002WU-7V; Mon, 10 Sep 2018 13:48:23 -0400 Date: Mon, 10 Sep 2018 13:48:23 -0400 From: Bruce Momjian To: kalyani kaniganti Cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15376: Postgres sql 9.4.19 pg_upgrade stops with error The source cluster was not shut down cleanly. Message-ID: <20180910174823.GD20064@momjian.us> References: <153650968546.23141.16889932223808209670@wrigleys.postgresql.org> <20180909222224.GA13949@momjian.us> <20180910021042.GA22703@momjian.us> <20180910041040.GB13949@momjian.us> <20180910161443.GC20064@momjian.us> <20180910164735.GA28597@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Sep 10, 2018 at 10:29:05PM +0530, kalyani kaniganti wrote: > Hi Bruce, > We have performed the same steps. > But pg_ctl is throwing error as postmaster.pid is not found in old path and > displays as is sever running ? > pg_ctl status display output as server not running. > May I know it's an bug in 9.4.19 .Any other suggestions ? I suggest you show us exactly what you are doing and what you are seeing. There is no known bug here yet. --------------------------------------------------------------------------- > BR, > Kalyani > > > On Mon, Sep 10, 2018, 10:17 PM Bruce Momjian wrote: > > On Mon, Sep 10, 2018 at 12:14:43PM -0400, Bruce Momjian wrote: > > On Mon, Sep 10, 2018 at 05:34:14PM +0530, kalyani kaniganti wrote: > > > Hi Bruce, > > > > > > We have checked cluster status on both the server's data and we noticed > source > > > cluster state is in production and destination cluster state in > shutdown. > > > Database cluster state:               in production > > > Database cluster state:               shut down > > > > > > How can we shut down the Database cluster? > > > > Uh, pg_ctl and point to the running data directory. > > Let me be more specific: > >         $ pg_ctl -D path-to-old-cluster stop > > e.g., > >         $ pg_ctl -D /u/pg-old/data stop >         waiting for server to shut down.... done >         server stopped > > -- >   Bruce Momjian          http://momjian.us >   EnterpriseDB                             http://enterprisedb.com > > + As you are, so once was I.  As I am, so you will be. + > +                      Ancient Roman grave inscription + > -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +