From bbullard@friendlymatrix.com Mon May 5 04:20:53 2003 X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 661B1475FC8 for ; Mon, 5 May 2003 00:20:53 -0400 (EDT) Received: from 100m.mpr200-2.esr.lvcm.net (100m.mpr200-2.esr.lvcm.net [24.234.0.81]) by postgresql.org (Postfix) with ESMTP id AA70F4758F1 for ; Mon, 5 May 2003 00:20:52 -0400 (EDT) Received: from win2k (wsip-24-120-207-54.lv.lv.cox.net [24.120.207.54]) by 100m.mpr200-2.esr.lvcm.net (Mirapoint Messaging Server MOS 2.9.3.5) with SMTP id AVL11527; Sun, 4 May 2003 21:20:57 -0700 (PDT) Message-ID: <020001c2fa6a$04349ef0$6581a8c0@win2k> Reply-To: "Bryan Bullard" From: "Bryan Bullard" To: Subject: IndexSupportInitialize Error Date: Thu, 3 Apr 2003 21:21:15 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01FD_01C2FA26.F5D148B0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Status: No, hits=-0.1 required=5.0 tests=BAYES_30,DATE_IN_PAST_96_XX,HTML_30_40 version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/44 X-Sequence-Number: 8606 This is a multi-part message in MIME format. ------=_NextPart_000_01FD_01C2FA26.F5D148B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Everyone. Last week our server's system disk broke causing the server to die a hard d= eath. We run Postgres on another disk and the binaries and associated clus= ter seemed to have survived. However when I try to connect (psql, dumpdb, = dumpall) to any of the databases I get the following error: FATAL 1: IndexSupportInitialize: bogus pg_index tuple We are running RH 7.3, Postgres 7.2.1 (We were in the process of upgrading = our databases - this was the last). A quick search of the archives doesn't= uncover much in regard to this problem. Any ideas our there? Unfortunate= ly we don't have a usable backup for the database in question so any assist= ance with this would be great. Thanks -bryan --------------------------------------------------------------------- "Are you still wasting your time with spam?... There is a solution!" Protected by GIANT Company's Spam Inspector The most powerful anti-spam software available. http://mail.spaminspector.com ------=_NextPart_000_01FD_01C2FA26.F5D148B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Everyone.
 
Last week our server's system disk broke c= ausing=20 the server to die a hard death.  We run Postgres on another disk and t= he=20 binaries and associated cluster seemed to have survived.  However when= I=20 try to connect (psql, dumpdb, dumpall) to any of the databases I get the=20 following error:
 
        FATA= L=20 1:  IndexSupportInitialize: bogus pg_index tuple
 
We are running RH 7.3, Postgres 7.2.1 (We = were in=20 the process of upgrading our databases - this was the last).  A quick= =20 search of the archives doesn't uncover much in regard to this problem. = ; Any=20 ideas our there?  Unfortunately we don't have a usable backup for the= =20 database in question so any assistance with this would be great.
 
Thanks
 
-bryan
 
 
 
------------------------------------------------------------------= ---
"Are=20 you still wasting your time with spam?...
There is a solution!"
 
Protected by GIANT Company's Spam Inspecto= r
The=20 most powerful anti-spam software available.
http://mail.spaminspector.com
 
 
------=_NextPart_000_01FD_01C2FA26.F5D148B0-- From tgl@sss.pgh.pa.us Mon May 5 13:58:20 2003 X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7006B476262 for ; Mon, 5 May 2003 09:58:20 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id AAA7F474E42 for ; Mon, 5 May 2003 09:58:19 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h45DwMU6027482; Mon, 5 May 2003 09:58:22 -0400 (EDT) To: "Bryan Bullard" Cc: pgsql-admin@postgresql.org Subject: Re: IndexSupportInitialize Error In-reply-to: <020001c2fa6a$04349ef0$6581a8c0@win2k> References: <020001c2fa6a$04349ef0$6581a8c0@win2k> Comments: In-reply-to "Bryan Bullard" message dated "Thu, 03 Apr 2003 21:21:15 -0800" Date: Mon, 05 May 2003 09:58:22 -0400 Message-ID: <27481.1052143102@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-32.5 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/47 X-Sequence-Number: 8609 "Bryan Bullard" writes: > Last week our server's system disk broke causing the server to die a hard d= > eath. We run Postgres on another disk and the binaries and associated clus= > ter seemed to have survived. However when I try to connect (psql, dumpdb, = > dumpall) to any of the databases I get the following error: > FATAL 1: IndexSupportInitialize: bogus pg_index tuple > We are running RH 7.3, Postgres 7.2.1 (We were in the process of upgrading = > our databases - this was the last). A quick search of the archives doesn't= > uncover much in regard to this problem. Any ideas our there? *Any* of the databases? Since pg_index isn't shared it's difficult to imagine a failure scenario that would wipe out all the databases in an installation in this same way. The error itself suggests that you've got a zeroed-out row in pg_index. You could possibly recover by manually dropping the index in question, if it's not a critical index. What I'd try doing is starting a standalone backend with the -P switch (ignore system indexes); if that will let you in, then you'd be able to look through pg_index to try to determine what's clobbered. regards, tom lane