From: Ganesan R <rganesan@myrealbox.com>
To: pgsql-bugs@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: PANIC: unable to locate a valid checkpoint record
Date: Thu, 20 Feb 2003 14:57:20 +0530
Message-ID: <20030220092720.GA31822@andiamo.com> (raw)
Hi,
I am using 7.3.2. postmaster prints this on starting up:
----
LOG: database system was interrupted at 2003-02-20 14:23:36 IST
LOG: ReadRecord: bad resource manager data checksum in record at 0/E42144
LOG: invalid primary checkpoint record
LOG: ReadRecord: bad resource manager data checksum in record at 0/E42104
LOG: invalid secondary checkpoint record
PANIC: unable to locate a valid checkpoint record
LOG: startup process (pid 7530) was terminated by signal 6
LOG: aborting startup due to startup process failure
----
pg_resetxlog is able to recover from the problem; but I am concerned because
I can reproduce the scenario very easily. I originally encountered the
problem in 7.2.1; tried upgrading to 7.2.4 and now 7.3.2 and this scenario
happens for every version.
The scenario is like this;
I have an application that is doing database updates using JDBC. I do a
kill -9 on postmaster. The application detects that postmaster is down
and restarts it; I do kill -9 on postmaster. After a couple of such
forced crashes postmaster refuses to come up. The application uses a
PostgreSQL 7.2 JDBC2 driver.
I wrote a python application and tried to recreate the problem but wasn't
successful. However, I can consistently reproduce the problem with the
Java application. Any suggestions on how I can proceed?
Please CC me on any replies; I am not (yet) subscribed to the lists. Thanks.
Ganesan
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-admin@postgresql.org
Cc: rganesan@myrealbox.com, pgsql-bugs@postgresql.org
Subject: Re: PANIC: unable to locate a valid checkpoint record
In-Reply-To: <20030220092720.GA31822@andiamo.com>
References: <20030220092720.GA31822@andiamo.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