Re: pg_ctl restart - behaviour based on wrong instance

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: pg_ctl restart - behaviour based on wrong instance
Дата
Msg-id AANLkTikDFj+2kWNPJ+v38HWv9q_J1RXaN_QPf4vghx7M@mail.gmail.com
обсуждение исходный текст
Ответ на pg_ctl restart - behaviour based on wrong instance  ("Erik Rijkers" <er@xs4all.nl>)
Ответы Re: pg_ctl restart - behaviour based on wrong instance  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
On Fri, Mar 18, 2011 at 1:19 PM, Erik Rijkers <er@xs4all.nl> wrote:
> This is OK and expected.  But then it continues (in the logfile) with:
>
> FATAL:  lock file "postmaster.pid" already exists
> HINT:  Is another postmaster (PID 20519) running in data directory
> "/var/data1/pg_stuff/pg_installations/pgsql.vanilla_1/data"?
>
> So, complaints about the *other* instance.  It doesn't happen once a successful start (with pg_ctl
> start) has happened.

I'm guessing that leftover postmaster.pid contents might be
responsible for this?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Efficient transaction-controlled synchronous replication.
Следующее
От: Robert Haas
Дата:
Сообщение: Re: pg_last_xact_replay_timestamp meaning