Re: BUG #15376: Postgres sql 9.4.19 pg_upgrade stops with error The source cluster was not shut down cleanly.

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: kalyani kaniganti <kalyanithumati(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15376: Postgres sql 9.4.19 pg_upgrade stops with error The source cluster was not shut down cleanly.
Date: 2018-09-10 16:47:35
Message-ID: 20180910164735.GA28597@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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(at)momjian(dot)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 +

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message kalyani kaniganti 2018-09-10 16:59:05 Re: BUG #15376: Postgres sql 9.4.19 pg_upgrade stops with error The source cluster was not shut down cleanly.
Previous Message Tom Lane 2018-09-10 16:26:04 Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables