Search Postgresql Archives

Re: postgreslog - panic message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux