From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Upgrade Failure
Date: Tue, 18 Jul 2023 09:44:03 -0500
Message-ID: <7bd4204a-ba57-2c12-1dcd-073a1470eb6c@gmail.com> (raw)
In-Reply-To: <CACoPQdb=CY_R4ueK=zod-Jdm81ZQSwYqWago6CCadWtivw3GYw@mail.gmail.com>
References: <CACoPQdbQTysF=EKckyFNGTdpOdXXMEsf_2ACno+bcNqQCB5raA@mail.gmail.com>
<0E725F4C-4319-4697-8F7A-6F2ED4BA3B97@yesql.se>
<CACoPQdb=CY_R4ueK=zod-Jdm81ZQSwYqWago6CCadWtivw3GYw@mail.gmail.com>
pg_ctl is not pg_controldata.
(I bet you ran "pg_ctl stop --mode=immediate". That's not a clean shutdown.)
On 7/18/23 05:26, Johnathan Tiamoh wrote:
> I used pg_ctl to stop the cluster.
>
> When I used the same pg_ctl to check status, it says no server is running
>
> On Tue, Jul 18, 2023 at 6:14 AM Daniel Gustafsson <daniel@yesql.se> wrote:
>
> > On 18 Jul 2023, at 12:02, Johnathan Tiamoh
> <johnathantiamoh@gmail.com> wrote:
>
> > The source cluster was not shut down cleanly.
> > Failure, exiting
> >
> > Please how do you resolve this
>
> pg_upgrade runs bin/pg_controldata on the source cluster data
> directory and
> ensures that the "Database cluster state" says "shut down". If you run the
> same command, which state is the cluster reported to be in?
>
> --
> Daniel Gustafsson
>
--
Born in Arizona, moved to Babylonia.
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-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: Upgrade Failure
In-Reply-To: <7bd4204a-ba57-2c12-1dcd-073a1470eb6c@gmail.com>
References: <CACoPQdbQTysF=EKckyFNGTdpOdXXMEsf_2ACno+bcNqQCB5raA@mail.gmail.com> <0E725F4C-4319-4697-8F7A-6F2ED4BA3B97@yesql.se> <CACoPQdb=CY_R4ueK=zod-Jdm81ZQSwYqWago6CCadWtivw3GYw@mail.gmail.com> <7bd4204a-ba57-2c12-1dcd-073a1470eb6c@gmail.com>
* 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