From: | "Mark Steben" <msteben(at)autorevenue(dot)com> |
---|---|
To: | <pgsql-admin(at)postgresql(dot)org> |
Subject: | transaction status error |
Date: | 2008-06-03 19:37:43 |
Message-ID: | 002401c8c5b1$4b188300$14010a0a@dei26g028575 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Hi, I'm running 7.4.5 on a secondary remote database (running 8.2.5
everywhere else)
This morning I was vacuuming template1 and the other databases on this
machine.
The postgres logs indicated that it removed a substantial number of commit
logs,
Presumably because they were obsolete: The message was:
LOG: removing file "/var/lib/pgsql/data/pg_clog/07E7"
Jun 3 09:37:59 supra postgres[19928]: [242-1] LOG: removing file
"/var/lib/pgsql/data/pg_clog/0802"
Jun 3 09:37:59 supra postgres[19928]: [243-1] LOG: removing file
"/var/lib/pgsql/data/pg_clog/07E1"
Jun 3 09:37:59 supra postgres[19928]: [244-1] LOG: removing file
"/var/lib/pgsql/data/pg_clog/07B7"
It removed some 100 of these logs.
A little later when I attempted to vacuum template0 I get the following
error:
ERROR: could not access status of transaction 2065424697
] DETAIL: could not open file "/var/lib/pgsql/data/pg_clog/07B1": No such
file or directory
Pointing to a commit log that had indeed been removed.
The end result: As far as I can tell, I have access to all the databases,
including template1, which I can copy from successfully in creating
New databases. But The template0 database seems to be hosed. I can do a
CREATE DATABASE from template0 but the new database
Gets the same access status error.
We are ok unless we access template0. And yes, we plan to upgrade to 8.x
sometime next month. In the meantime, any ideas on how
To fix this?
Thank you,
Mark Steben
Senior Database Administrator
@utoRevenueT
A Dominion Enterprises Company
480 Pleasant Street
Suite B200
Lee, MA 01238
413-243-4800 Home Office
413-243-4809 Corporate Fax
msteben <blocked::mailto:name(at)autorevenue(dot)com> @autorevenue.com
Visit our new website at
<blocked::http://www.autorevenue.com/> www.autorevenue.com
IMPORTANT: The information contained in this e-mail message is confidential
and is intended only for the named addressee(s). If the reader of this
e-mail message is not the intended recipient (or the individual responsible
for the delivery of this e-mail message to the intended recipient), please
be advised that any re-use, dissemination, distribution or copying of this
e-mail message is prohibited. If you have received this e-mail message in
error, please reply to the sender that you have received this e-mail message
in error and then delete it. Thank you.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-06-04 04:02:46 | Re: transaction status error |
Previous Message | Hyatt, Gordon | 2008-06-03 13:55:57 | Re: UUID generation functions |