Please Shutdown That Postmaster and Try Again Failure Exiting

UPGRADE POSTGRESQL 10 To 11

We volition upgrade POSTGRESQL 10 To eleven on CENTOS in this commodity. Before I get-go the upgrade procedure, I want to make the post-obit disquisitional alert:

You will demand to re-configure your postgresql.conf and pg_hba.conf files. Because the files will be reset after upgrade.

Install PostgreSQL 11

We are installing Postgresql xi with the following commands.

initdb

We are performing the initdb operation in the Postgresql 11 database.

Checking Whether the Upgrade is Applicable

Nosotros check the applicability of the upgrade with the command below. (with postgresql user)

Stop PostgreSQL x

If we perform the upgrade without stopping Postgresql 10, we become the following error.

We are stopping Postgresql x (with root user)

Upgrade

Then we switch to postgres user and run the upgrade control.(with Postgres user)

Nosotros are running the following commands before executing the commands requested from us.

Then we run the commands requested from us.

Delete Old Cluster

Then run the below control. Simply, be aware that this command delete old cluster. Thats why, exist sure that postgresql 11 is working earlier delete the onetime cluster.

We remove all packages related to Postgresql10. (with root user)

Upgrade has completed. You can connect to the database and see version 11.

salinasharioned42.blogspot.com

Source: https://dbtut.com/index.php/2018/10/30/upgrade-postgresql-10-to-11/

0 Response to "Please Shutdown That Postmaster and Try Again Failure Exiting"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel