Re: Please help

Поиск
Список
Период
Сортировка
От ohp@pyrenet.fr
Тема Re: Please help
Дата
Msg-id Pine.UW2.4.53.0310302356360.500@server.pyrenet.fr
обсуждение исходный текст
Ответ на Re: Please help  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Thanks Tom,

The answer came too late and I could'nt wait. pg_resetlog did nearly the
trick, Only one database was really hurt. So I reloaded all but this one
from pg_dumpall then the last one from backup...

I'm cursedOn Thu, 30 Oct 2003, Tom Lane wrote:

> Date: Thu, 30 Oct 2003 17:25:02 -0500
> From: Tom Lane <tgl@sss.pgh.pa.us>
> To: ohp@pyrenet.fr
> Cc: pgsql-hackers list <pgsql-hackers@postgresql.org>
> Subject: Re: [HACKERS] Please help
>
> ohp@pyrenet.fr writes:
> > I've have a MAJOR crash an hour ago and postgresql doesn't start anymoe
> > (version 7.3.4).
>
> > Oct 30 17:16:21 server postgres[4135]: [7] PANIC:  Invalid page header in block 6157 of 29135442
> > Oct 30 17:16:21 server postgres[4132]: [1] LOG:  startup process (pid 4135) was terminated by signal 6
> > Oct 30 17:16:21 server postgres[4132]: [2] LOG:  aborting startup due to startup process failure
>
> > Is there anything I can do not to reload all backups?
>
> You could try turning on zero_damaged_pages in postgresql.conf.  If you
> are lucky, the page in question is going to be rewritten from WAL anyway.
>
>             regards, tom lane
>

-- 
Olivier PRENANT                    Tel: +33-5-61-50-97-00 (Work)
6, Chemin d'Harraud Turrou           +33-5-61-50-97-01 (Fax)
31190 AUTERIVE                       +33-6-07-63-80-64 (GSM)
FRANCE                          Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Deadlock problem
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Open items