Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id E5B8A1337C03 for ; Wed, 4 May 2011 16:45:10 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 18465-02-8 for ; Wed, 4 May 2011 19:45:04 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id 0EF071337B82 for ; Wed, 4 May 2011 16:15:22 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Wed, 04 May 2011 14:15:22 -0500 Message-Id: <4DC15F73020000250003D2A0@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Wed, 04 May 2011 14:15:15 -0500 From: "Kevin Grittner" To: "Tomasz Chmielewski" Cc: Subject: Re: 'SGT DETAIL: Could not open file "pg_clog/05DC": No such file or directory' - what to do now? References: <4DC0F063.70306@wpkg.org> <4DC15137020000250003D295@gw.wicourts.gov> <4DC19CD1.7070600@wpkg.org> In-Reply-To: <4DC19CD1.7070600@wpkg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201105/50 X-Sequence-Number: 37487 Tomasz Chmielewski wrote: > This repeated many times: > > /var/log/postgresql/postgresql_log.1:May 3 18:24:49 db10 > postgres[21363]: [26999-1] 2011-05-03 18:24:49 SGT ERROR: could > not access status of transaction 1573786613 > /var/log/postgresql/postgresql_log.1-May 3 18:24:49 db10 < postgres[21363]: [26999-2] 2011-05-03 18:24:49 SGT DETAIL: Could > not open file "pg_clog/05DC": No such file or directory. > /var/log/postgresql/postgresql_log.1-May 3 18:24:49 db10 > postgres[21363]: [26999-3] 2011-05-03 18:24:49 SGT STATEMENT: > SELECT 1 FROM core_wot_seq FOR UPDATE > > > Today I have this: > > /var/log/postgresql/postgresql_log:May 4 22:43:44 db10 > postgres[15773]: [555-1] 2011-05-04 22:43:44 SGT ERROR: could not > access status of transaction 1612337841 > /var/log/postgresql/postgresql_log-May 4 22:43:44 db10 > postgres[15773]: [555-2] 2011-05-04 22:43:44 SGT DETAIL: Could > not open file "pg_clog/0601": No such file or directory. > /var/log/postgresql/postgresql_log-May 4 22:43:44 db10 > postgres[15773]: [555-3] 2011-05-04 22:43:44 SGT STATEMENT: > SELECT 1 FROM core_wbl_seq FOR UPDATE > > Only such two (different) occurrences; repeated 10-20 times; two > different tables. > how should I best recover from this? If you hadn't already said you were running on 8.3.14 I would have wondered whether you had used pg_migrator/pg_upgrade. As it is, I'm going to admit I'm out of my depth and hope someone else jumps in here. -Kevin