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 12:47:35 -0400
Message-ID: <20180910164735.GA28597@momjian.us> (raw)
In-Reply-To: <20180910161443.GC20064@momjian.us>
References: <153650968546.23141.16889932223808209670@wrigleys.postgresql.org>
	<20180909222224.GA13949@momjian.us>
	<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>

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  <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: <20180910164735.GA28597@momjian.us>
Permalink:  ../20180910164735.GA28597@momjian.us/
Also on:    postgresql.org/message-id/20180910164735.GA28597@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: <20180910164735.GA28597@momjian.us>
  References: <153650968546.23141.16889932223808209670@wrigleys.postgresql.org> <20180909222224.GA13949@momjian.us> <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>

* 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