X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 278E2D1BA73 for ; Thu, 4 Sep 2003 15:23:20 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 43714-10 for ; Thu, 4 Sep 2003 12:22:49 -0300 (ADT) Received: from dg.eisolution.com (adsl-64-108-8-141.dsl.chcgil.ameritech.net [64.108.8.141]) by svr1.postgresql.org (Postfix) with ESMTP id 75A34D1BAB0 for ; Thu, 4 Sep 2003 12:22:44 -0300 (ADT) Received: from MarcM8500 (dg127.eisolution.com [10.5.1.127]) (authenticated) by dg.eisolution.com (8.11.6/8.11.6) with ESMTP id h84FNRq05681 for ; Thu, 4 Sep 2003 10:23:27 -0500 From: "Marc Mitchell" To: Subject: Recovery assistence.... Date: Thu, 4 Sep 2003 10:22:42 -0500 Message-ID: <001001c372f8$62443940$7f01050a@MarcM8500> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal In-Reply-To: <20030904134450.23753.qmail@web20901.mail.yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/60 X-Sequence-Number: 10148 Running 7.3.2 under RedHat we suffered a disk crash. Following was Postgres log output from after crash: 2003-09-04 08:46:12 [29550] LOG: connection authorized: user=3Dpostgres database=3Dgts Found a pre-existing shared memory block (key 5434001, id 65538) still in use. If you're sure there are no old backends still running, remove the shared memory block with ipcrm(1), or just delete "/u3/pgsql/7.3.2/data/postmaster.pid". 2003-09-04 09:24:51 [1873] LOG: database system was interrupted at 2003-09-04 08:45:59 CDT 2003-09-04 09:24:51 [1873] LOG: checkpoint record is at 0/B31378B4 2003-09-04 09:24:51 [1873] LOG: redo record is at 0/B3129C68; undo record is at 0/0; shutdown FALSE 2003-09-04 09:24:51 [1873] LOG: next transaction id: 2675704; next oid: 3607454 2003-09-04 09:24:51 [1873] LOG: database system was not properly shut down; automatic recovery in progress 2003-09-04 09:24:51 [1873] LOG: redo starts at 0/B3129C68 2003-09-04 09:24:51 [1873] PANIC: Invalid page header in block 2696 of 329110 2003-09-04 09:24:51 [1870] LOG: startup process (pid 1873) was terminated by signal 6 2003-09-04 09:24:51 [1870] LOG: aborting startup due to startup process failure 2003-09-04 09:25:50 [1934] LOG: database system was interrupted being in recovery at 2003-09-04 09:24:51 CDT This probably means that some data blocks are corrupted and you will have to use the last backup for recovery. Question: is there any way to force consistency? This is a development database so the main things we need are the schemas which were not changing at time of the crash. The data can be recovered from System Test scripts. We're looking to do something quicker than a recovery from a backup.=20=20 Any input would be appreciated. Marc Mitchell - Senior Application Architect Enterprise Information Solutions, Inc. Donwers Grove, IL 60515 marcm@eisolution.com -----Original Message----- From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Rodrigo De la Pe=F1a Sent: Thursday, September 04, 2003 7:45 AM To: pgsql-admin@postgresql.org Subject: [ADMIN] unsubscrib [ADMIN] unsubscrib please remove me from the list _________________________________________________________ Do You Yahoo!? Informaci=F3n de Estados Unidos y Am=E9rica Latina, en Yahoo! Noticias. Vis=EDtanos en http://noticias.espanol.yahoo.com ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend