From: Tom Lane <tgl@sss.pgh.pa.us>
To: C GG <cgg0007@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: PANIC: could not open critical system index 2662
Date: Sat, 04 Aug 2018 11:13:31 -0400
Message-ID: <22584.1533395611@sss.pgh.pa.us> (raw)
In-Reply-To: <CAJXW-z8kkC2=WepG8Jf2c0WZyUma4BThLofG2v=Oji6+z2H89w@mail.gmail.com>
References: <CAJXW-z8kkC2=WepG8Jf2c0WZyUma4BThLofG2v=Oji6+z2H89w@mail.gmail.com>
C GG <cgg0007@gmail.com> writes:
> When trying to restart the PostgreSQL 9.2 database for our JIRA
> installation, we're getting
> "PANIC: could not open critical system index 2662" ... I've tried various
> things like turning on zero_damaged_pages but postmaster still crashes on
> connect when attempting to pg_dump.
2662 is pg_class_oid_index :-(
Try starting a single-user backend with the ignore-system-indexes flag,
and doing "REINDEX INDEX pg_class_oid_index". If that works, I'd try
reindexing the rest of the system just to see how bad things are.
If that doesn't work, it's time to hire professional help --- there are
several companies that specialize in PG data recovery.
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, cgg0007@gmail.com
Subject: Re: PANIC: could not open critical system index 2662
In-Reply-To: <22584.1533395611@sss.pgh.pa.us>
References: <CAJXW-z8kkC2=WepG8Jf2c0WZyUma4BThLofG2v=Oji6+z2H89w@mail.gmail.com> <22584.1533395611@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