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 1fzYVq-0004pw-Vo for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Sep 2018 02:34:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fzYVo-0000pd-A1 for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Sep 2018 02:34:44 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fzYVo-0000pW-0C for pgsql-bugs@lists.postgresql.org; Tue, 11 Sep 2018 02:34:44 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fzYVl-0006gs-2P for pgsql-bugs@lists.postgresql.org; Tue, 11 Sep 2018 02:34:42 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1fzYVj-0007Ft-Sb; Mon, 10 Sep 2018 22:34:39 -0400 Date: Mon, 10 Sep 2018 22:34:39 -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: <20180911023439.GA27769@momjian.us> References: <20180910021042.GA22703@momjian.us> <20180910041040.GB13949@momjian.us> <20180910161443.GC20064@momjian.us> <20180910164735.GA28597@momjian.us> <20180910174823.GD20064@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 Tue, Sep 11, 2018 at 07:20:47AM +0530, kalyani kaniganti wrote: > Hi Bruce. > > Below commands are executed. > > pg_ctl -D stop > > output > pg_ctl: PID file "/tmp/folder/postgresql/postmaster.pid" does not exist > Is server running? > > pg_controldata   output displayed as Database cluster : in > production > > pg_ctl status displays server not running > > We have performed same steps and executed this script with 9.4.17 version of  > postgreSQL and its working fine. > We can get the upgarded DB and we have compared the pg_control data in 9.4.17 > version we can see the DB cluster status is in shut down state for NEW DB data > and OLD DB data. > > We are not understanding what has changed from 9.4.17 to 9.4.19. My guess is that Postgres was improperly shut down before you tried using pg_ctl stop. Of course, you didn't show me anything exact, so I can only guess. -- 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 +