Re: Can't restart postmaster!

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Can't restart postmaster!
Дата
Msg-id 3383.991416267@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Can't restart postmaster!  (Steve Wampler <swampler@noao.edu>)
Список pgsql-general
Steve Wampler <swampler@noao.edu> writes:
> FATAL 2:  ZeroFill(/var/lib/pgsql/data/pg_xlog/xlogtemp.16747) failed: No such file or directory

The error message is bogus --- almost certainly, the real problem is not
enough free space to create another 16-MB WAL segment.  (I have a TODO
item about making sure that this case doesn't return a misleading error
code...)

As for recovery, if you can't free any space elsewhere, try removing the
oldest (lowest-numbered) WAL segment file.  If the thing refuses to
start after you do that, you might have to resort to applying
contrib/pg_resetxlog, but don't do that unless you have to.

BTW, if you have WAL_FILES set higher than zero, set it back to zero
untill you're out of the woods.

            regards, tom lane

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

Предыдущее
От: Doug McNaught
Дата:
Сообщение: Re: Databases compared at zend.com
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Can't restart postmaster!