Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 21AA6476B31 for ; Fri, 4 Oct 2002 14:14:43 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 611E1476B1E for ; Fri, 4 Oct 2002 14:14:42 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g94IEOhR025273; Fri, 4 Oct 2002 14:14:24 -0400 (EDT) To: "Wahl, Steven" Cc: "'pgsql-admin@postgresql.org'" Subject: Re: Cannot start the PostgreSQL v7.1.3 database In-reply-to: <638AA0336D7ED411928700D0B7B0D75B034F4237@aimail.aiinet.com> References: <638AA0336D7ED411928700D0B7B0D75B034F4237@aimail.aiinet.com> Comments: In-reply-to "Wahl, Steven" message dated "Tue, 01 Oct 2002 18:13:03 -0400" Date: Fri, 04 Oct 2002 14:14:23 -0400 Message-ID: <25272.1033755263@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/30 X-Sequence-Number: 5888 "Wahl, Steven" 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