Re: could not bind IPv4 socket

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Balaji Kasthurirangan" <kasthurirangan(dot)balaji(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: could not bind IPv4 socket
Date: 2008-04-29 17:42:15
Message-ID: 3541.1209490935@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Balaji Kasthurirangan" <kasthurirangan(dot)balaji(at)gmail(dot)com> writes:
> when i try to start the server i get the following error message

> LOG: could not bind IPv4 socket: Can't assign requested address
> HINT: Is another postmaster already running on port 5432? If not, wait a few
> seconds and retry
> WARNING: could not create listen socket for "localhost"
> FATAL: could not create any TCP/IP sockets

I'm thinking you have a networking or DNS configuration problem.
If you do "nslookup localhost" does it come back with "127.0.0.1"?

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2008-04-29 18:52:41 Re: server crash, need to restore DB functionality
Previous Message e t 2008-04-29 17:18:22 server crash, need to restore DB functionality