Re: postgreslog - panic message

Поиск
Список
Период
Сортировка
От Volkan YAZICI
Тема Re: postgreslog - panic message
Дата
Msg-id 20060525130948.GA188@alamut
обсуждение исходный текст
Ответ на Re: postgreslog - panic message  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
On May 25 11:04, Richard Huxton wrote:
> surabhi.ahuja wrote:
> >hi,
> >i am getting the following error messages:
> >
> ><2006-05-24 15:28:08 CDT%>LOG:  could not bind IPv4 socket: Address
> >already in use
> ><2006-05-24 15:28:08 CDT%>HINT:  Is another postmaster already running on
> >port 5432? If not, wait a few seconds and retry.
> ><2006-05-24 15:28:08 CDT%>WARNING:  could not create listen socket for
> >"localhost"
> ><2006-05-24 15:28:08 CDT%>LOG:  database system was shut down at
> >2006-05-24 15:28:08 CDT
>
> This is what it says. You've either got:
> 1. another version of PostgreSQL running on port 5432
> 2. Something else on port 5432
> 3. The operating-system hasn't recycled the port after a shutdown (it
> can take a few seconds sometimes).

Just for curiosity, shouldn't SO_REUSEADDR (in
backend/libpq/pqcomm.c:342) handle the 3rd possibility in the above
list? Or isn't this behaviour guaranteed by SO_REUSEADDR on every
platform?


Regards.

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

Предыдущее
От: CG
Дата:
Сообщение: Postmaster crashes after upgrade to 8.1.4!
Следующее
От: Tom Lane
Дата:
Сообщение: Re: postgreslog - panic message