pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: kalyani kaniganti <kalyanithumati@gmail.com>
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.
Date: Mon, 10 Sep 2018 22:34:39 -0400
Message-ID: <20180911023439.GA27769@momjian.us> (raw)
In-Reply-To: <CACAAi_4hHwkpjC4Qavsx3MpVEBDD_4=sDddnSRD681U2Y=5Lzg@mail.gmail.com>
References: <20180910021042.GA22703@momjian.us>
	<CACAAi_5WH9gX3GyTPe3vOpJWHSqVtHvaTJgNtBm4oTtvEP9F2g@mail.gmail.com>
	<20180910041040.GB13949@momjian.us>
	<CACAAi_44jVAUy_=-sfajgJQueG4BD+WmhgggUeunUsR5uqF5RQ@mail.gmail.com>
	<CACAAi_5twp+su0AQ6xBD=drnFfd1VdxX5KGBsr8DBgH3XTaKig@mail.gmail.com>
	<20180910161443.GC20064@momjian.us>
	<20180910164735.GA28597@momjian.us>
	<CACAAi_5FnpZOjgbkUG9cM6RaKDUFNEZHi7Dt2qjQ5ueNTJtaow@mail.gmail.com>
	<20180910174823.GD20064@momjian.us>
	<CACAAi_4hHwkpjC4Qavsx3MpVEBDD_4=sDddnSRD681U2Y=5Lzg@mail.gmail.com>

On Tue, Sep 11, 2018 at 07:20:47AM +0530, kalyani kaniganti wrote:
> Hi Bruce.
> 
> Below commands are executed.
> 
> pg_ctl -D <path to old data> stop
> 
> output
> pg_ctl: PID file "/tmp/folder/postgresql/postmaster.pid" does not exist
> Is server running?
> 
> pg_controldata <path to old data>  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  <bruce@momjian.us>        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 +




view thread (24+ messages)  latest in thread

Message-ID: <20180911023439.GA27769@momjian.us>
Permalink:  ../20180911023439.GA27769@momjian.us/
Also on:    postgresql.org/message-id/20180911023439.GA27769@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: bruce@momjian.us, kalyanithumati@gmail.com
  Subject: Re: BUG #15376: Postgres sql 9.4.19 pg_upgrade stops with error The source cluster was not shut down cleanly.
  In-Reply-To: <20180911023439.GA27769@momjian.us>
  References: <20180910021042.GA22703@momjian.us> <CACAAi_5WH9gX3GyTPe3vOpJWHSqVtHvaTJgNtBm4oTtvEP9F2g@mail.gmail.com> <20180910041040.GB13949@momjian.us> <CACAAi_44jVAUy_=-sfajgJQueG4BD+WmhgggUeunUsR5uqF5RQ@mail.gmail.com> <CACAAi_5twp+su0AQ6xBD=drnFfd1VdxX5KGBsr8DBgH3XTaKig@mail.gmail.com> <20180910161443.GC20064@momjian.us> <20180910164735.GA28597@momjian.us> <CACAAi_5FnpZOjgbkUG9cM6RaKDUFNEZHi7Dt2qjQ5ueNTJtaow@mail.gmail.com> <20180910174823.GD20064@momjian.us> <CACAAi_4hHwkpjC4Qavsx3MpVEBDD_4=sDddnSRD681U2Y=5Lzg@mail.gmail.com> <20180911023439.GA27769@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox