Re: urgent: another postmaster

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: urgent: another postmaster
Дата
Msg-id 1116879267.31821.224.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на urgent: another postmaster  (Scott Frankel <leknarf@pacbell.net>)
Ответы Re: urgent: another postmaster  (Scott Frankel <leknarf@pacbell.net>)
Список pgsql-general
On Mon, 2005-05-23 at 14:58, Scott Frankel wrote:
> After a server crash forced a reboot, `pg_ctl start` fails with a FATAL
> error.  Log output says that the lock file, postmaster.pid, already
> exists.
>
> Can I just su to root and delete the .pid file to relaunch?  Or will
> this have nasty

Just check first to make sure there really are no postmasters running
and you should be safe

ps aex|grep post

and if there's no output, delete the pid file.  If there really are
other postmasters or postgreses running, then kill them first.

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

Предыдущее
От: Scott Frankel
Дата:
Сообщение: urgent: another postmaster
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: pg_dump in a production environment