Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id 0A4A32E006F for ; Fri, 2 May 2008 01:23:48 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 32611-02-3 for ; Fri, 2 May 2008 01:23:42 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by developer.postgresql.org (Postfix) with ESMTP id 698F02E008E for ; Fri, 2 May 2008 01:23:31 -0300 (ADT) Received: by wf-out-1314.google.com with SMTP id 25so1083644wfc.28 for ; Thu, 01 May 2008 21:23:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=3O1GZatGP83ZT3S6VF7ELzjyG5I9KI1s9GJMS/e2270=; b=pHlq2b5z1yDJWKCilU9M4XgpJud2xvloJwpIXW/GYSyGCKY5AoI/asLmL2JSYxN4u/wU2V5IsSTwQsDHzw/5tFtKYyhPOA1qYWAOcdUOq1KS9QcuNmVySR/NeFajlgMOtsXvHMKcGDBw8Klj8WdN8Bv71Ov0/MUmZsmtDIMMlyQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=aK7duP0ERoRJDZsR1dVzZS5Z9YWidp+uAWPtd+tUsORVBRZpizY7b+9dvt2xyPwhkIAMcIJx+oLYg8gQpsra8sdVSP5k5bqMNrRKYh+dJ8G/WtSNe4jZ/cMMzVvJQGch08sLONFxeweSIn6zArntKCXV5r5xv2ARGm9Oz7cdGC8= Received: by 10.142.68.9 with SMTP id q9mr1080284wfa.270.1209702207567; Thu, 01 May 2008 21:23:27 -0700 (PDT) Received: by 10.142.169.14 with HTTP; Thu, 1 May 2008 21:23:27 -0700 (PDT) Message-ID: <92db61c20805012123h42c7706fn4a197b681961c75b@mail.gmail.com> Date: Fri, 2 May 2008 09:53:27 +0530 From: "Balaji Kasthurirangan" To: "Tom Lane" Subject: Re: could not bind IPv4 socket Cc: pgsql-admin@postgresql.org In-Reply-To: <3541.1209490935@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9049_12161936.1209702207527" References: <92db61c20804290653x1a6eef5u4ee33fa9bfa01de9@mail.gmail.com> <3541.1209490935@sss.pgh.pa.us> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.903 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, URIBL_RHS_DOB=0.901 X-Spam-Level: X-Archive-Number: 200805/26 X-Sequence-Number: 29110 ------=_Part_9049_12161936.1209702207527 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 wrote: > > "Balaji Kasthurirangan" 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 > ------=_Part_9049_12161936.1209702207527 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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

------=_Part_9049_12161936.1209702207527--