From: | Andrew Wang <andrew(dot)wang(dot)2009(at)gmail(dot)com> |
---|---|
To: | Ron Johnson <ronljohnsonjr(at)gmail(dot)com> |
Cc: | Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Test mail for pgsql-admin |
Date: | 2024-01-12 03:29:21 |
Message-ID: | CAB7XbVdpEKmpYr=NeAsCEHudZ+un4SUR5sQSf57ReRvu-pKyRQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Thanks, now 3 versions, 14, 15, and 16 are running as shown below. I did
pg_upgrade as detailed below, but it asked me to shutdown postmaster,
should which postmaster be down and how?
##three
#sudo pg_lsclusters
Ver Cluster Port Status Owner Data directory Log file
14 main 5432 online postgres /var/lib/postgresql/14/main
/var/log/postgresql/postgresql-14-main.log
15 main 5434 online postgres /var/lib/postgresql/15/main
/var/log/postgresql/postgresql-15-main.log
16 main 5433 online postgres /var/lib/postgresql/16/main
/var/log/postgresql/postgresql-16-main.log
##pg_upgrade
/usr/lib/postgresql/16/bin/pg_upgrade -b /usr/lib/postgresql/15/bin -B
/usr/lib/postgresql/16/bin -d /var/lib/postgresql/15/main -D
/var/lib/postgresql/16/main --check
There seems to be a postmaster servicing the new cluster.
Please shutdown that postmaster and try again.
Failure, exiting
On Thu, Jan 11, 2024 at 3:45 PM Ron Johnson <ronljohnsonjr(at)gmail(dot)com> wrote:
>
> On Thu, Jan 11, 2024 at 4:12 PM Andrew Wang <andrew(dot)wang(dot)2009(at)gmail(dot)com>
> wrote:
>
>>
>> I tried to install the 15 and 16, but the configuration complained ports
>> and other things.
>>
>
> All of which are issues that simple Postgresql configuration changes can
> solve.
>
--
Best,
Andrew Wang
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Ribe | 2024-01-12 03:36:04 | Re: Test mail for pgsql-admin |
Previous Message | Ron Johnson | 2024-01-11 21:45:17 | Re: Test mail for pgsql-admin |