Re: I can't restart postgres - Mailing list pgsql-general

From Jose Quiroz
Subject Re: I can't restart postgres
Date
Msg-id 1AC884EF-3B62-46A5-AE77-E01A8AD09557@healtechnology.com.pe
Whole thread Raw
In response to Re: I can't restart postgres  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Thanks for the help.

I use the pg_resetxlog and the database start again.

Now I have other problem. I try to  view a table using the command
select and I have an  error and I can't view the table.

I wrote the following line in the terminal:

htpoweron=# select * from example_table;

(where example_table is one table of my database)


and I have the following message in the terminal:

ERROR: could not access status of transaction 1557774552
DETAIL: could not read from file  «pg_clog/05CD» at offset 155648:


What I can do to acces that table?

Best regards



On 01/02/2008, at 07:21 PM, Tom Lane wrote:

> Jose Quiroz <soporteinterno@healtechnology.com.pe> writes:
>> 2008-02-01 17:53:33 PET PANIC:  no se pudo leer el bloque 3788 de la
>> relación 1663/17977/18281: Conseguido
>
> Hmm, what PG version is that?  This looks a bit like the results of
> some
> bugs that were fixed awhile ago.
>
>> I use the pgfsck but doesn't work, How I can restart the systema
>> again?
>
> Well, if you don't have a recent backup to go back to, you can try
> pg_resetxlog, but it's anyone's guess how consistent the database
> will be afterwards.  A dump/initdb/restore sequence would be a good
> idea.  And if you aren't on the latest release in whatever branch
> you are using, now would be a good time to update.
>
>             regards, tom lane
>

Jose Quiroz
soporteinterno@healtechnology.com.pe




pgsql-general by date:

Previous
From: "Christopher Browne"
Date:
Subject: Re: postgresql book - practical or something newer?
Next
From: Csaba Nagy
Date:
Subject: Re: [pgsql-advocacy] PostgreSQL Certification