From: Tom Lane <tgl@sss.pgh.pa.us>
To: Balaji Kasthurirangan <kasthurirangan.balaji@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: could not bind IPv4 socket
Date: Tue, 29 Apr 2008 13:42:15 -0400
Message-ID: <3541.1209490935@sss.pgh.pa.us> (raw)
In-Reply-To: <92db61c20804290653x1a6eef5u4ee33fa9bfa01de9@mail.gmail.com>
References: <92db61c20804290653x1a6eef5u4ee33fa9bfa01de9@mail.gmail.com>
"Balaji Kasthurirangan" <kasthurirangan.balaji@gmail.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, kasthurirangan.balaji@gmail.com
Subject: Re: could not bind IPv4 socket
In-Reply-To: <3541.1209490935@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox