From: Balaji Kasthurirangan <kasthurirangan.balaji@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: could not bind IPv4 socket
Date: Fri, 2 May 2008 09:53:27 +0530
Message-ID: <92db61c20805012123h42c7706fn4a197b681961c75b@mail.gmail.com> (raw)
In-Reply-To: <3541.1209490935@sss.pgh.pa.us>
References: <92db61c20804290653x1a6eef5u4ee33fa9bfa01de9@mail.gmail.com>
<3541.1209490935@sss.pgh.pa.us>
Hi Tom,
Excellent. My system network configuration has some problem. Thanks for your
response.
The issue is now solved and the steps taken
1)uncommented ip and port from the postgresql conf file in the data
directory and gave
valid values of 127.0.0.1 and 5432(default)
2)did run ifconfig lo0 localhost.(setting loopback)
Though the network problem still persists(for which i shall take assistance
from freebsd group), the postgresql server started and i was able to create
database and connect to the server using psql.
Thanks once again for your response.
Thanks,
Balaji.
On 4/29/08, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> "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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: kasthurirangan.balaji@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: could not bind IPv4 socket
In-Reply-To: <92db61c20805012123h42c7706fn4a197b681961c75b@mail.gmail.com>
References: <92db61c20804290653x1a6eef5u4ee33fa9bfa01de9@mail.gmail.com> <3541.1209490935@sss.pgh.pa.us> <92db61c20805012123h42c7706fn4a197b681961c75b@mail.gmail.com>
* 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