From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Mahendrakar, Prabhakar - Dell Team <Prabhakar.Mahendraka@dellteam.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Postgresql error : PANIC: could not locate a valid checkpoint record
Date: Fri, 17 Jun 2022 12:39:47 +0200
Message-ID: <c87ef6c96bb24f2853735573f55758b150a0ed53.camel@cybertec.at> (raw)
In-Reply-To: <BYAPR19MB2886F1A1C7642D2A8000DAE394AF9@BYAPR19MB2886.namprd19.prod.outlook.com>
References: <BYAPR19MB2886F1A1C7642D2A8000DAE394AF9@BYAPR19MB2886.namprd19.prod.outlook.com>
On Fri, 2022-06-17 at 06:35 +0000, Mahendrakar, Prabhakar - Dell Team wrote:
> We are facing checkpoint related issues from PostGreSQL 13.4 ( could not locate a valid checkpoint record) and Postgres service fails to come up.
> ========================================================================================================
> LOG: starting PostgreSQL 13.4 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16), 64-bit
> LOG: listening on IPv4 address "127.0.0.1", port 9003
> LOG: listening on IPv4 address "10.xx.xx.x..", port 9003
> LOG: listening on Unix socket "/tmp/.s.PGSQL.9003"
> LOG: database system was shut down at 2022-06-09 10:19:24 CEST
> LOG: invalid primary checkpoint record
> PANIC: could not locate a valid checkpoint record
> LOG: startup process (PID 8773) was terminated by signal 6: Aborted
> LOG: aborting startup due to startup process failure
> LOG: database system is shut down
>
> This issue is seen in both Windows and Linux OS platforms.
>
> To Brief on the Scenario: Our product say example with Version A1 uses Postgres 10 and in the
> latest version of our product (Say A2) we upgraded the Postgres to 13.
> When we try to upgrade our Product through InstallAnyWhere from A1 to A2,
> Postgres service fails with above mentioned error.
You should not be using 13.4, but the latest minor release, at this point 13.7.
Anyway, the error message looks like somebody removed the contents of the "pg_wal"
directory. How exactly did you upgrade PostgreSQL?
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
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: laurenz.albe@cybertec.at, Prabhakar.Mahendraka@dellteam.com
Subject: Re: Postgresql error : PANIC: could not locate a valid checkpoint record
In-Reply-To: <c87ef6c96bb24f2853735573f55758b150a0ed53.camel@cybertec.at>
References: <BYAPR19MB2886F1A1C7642D2A8000DAE394AF9@BYAPR19MB2886.namprd19.prod.outlook.com> <c87ef6c96bb24f2853735573f55758b150a0ed53.camel@cybertec.at>
* 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