From: Tom Lane <tgl@sss.pgh.pa.us>
To: Wahl, Steven <stevenwa@aiinet.com>
Cc: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: Re: Cannot start the PostgreSQL v7.1.3 database
Date: Fri, 04 Oct 2002 14:14:23 -0400
Message-ID: <25272.1033755263@sss.pgh.pa.us> (raw)
In-Reply-To: <638AA0336D7ED411928700D0B7B0D75B034F4237@aimail.aiinet.com>
References: <638AA0336D7ED411928700D0B7B0D75B034F4237@aimail.aiinet.com>
"Wahl, Steven" <stevenwa@aiinet.com> writes:
> DEBUG: redo starts at (2, 899933184)
> DEBUG: ReadRecord: record with zero len at (2, 923216960) DEBUG: redo done
> at (2, 923216920)
> FATAL 2: XLogFlush: request is not satisfied
> Is the database corrupt? Can it be saved?
Yes, and probably. I'd suggest running contrib/pg_resetxlog, then doing
a prompt pg_dumpall, after which you can initdb and reload the dump.
You should check your data for corruption, in the form of
partially-applied recent transactions. There may be actual garbage
in there too --- the error suggests that the LSN pointer in some data
page is garbage, which may mean that more of that page has been
clobbered as well.
As long as you have to dump and reload anyway, this would be a real
good time to update to PG 7.2.3.
regards, tom lane
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: tgl@sss.pgh.pa.us, stevenwa@aiinet.com
Subject: Re: Cannot start the PostgreSQL v7.1.3 database
In-Reply-To: <25272.1033755263@sss.pgh.pa.us>
References: <638AA0336D7ED411928700D0B7B0D75B034F4237@aimail.aiinet.com> <25272.1033755263@sss.pgh.pa.us>
* 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