Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 5DC57633C8D for ; Mon, 3 May 2010 11:07:03 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 92278-10 for ; Mon, 3 May 2010 14:06:53 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tcms.us (tcms.us [174.143.154.125]) by mail.postgresql.org (Postfix) with ESMTP id 39DC463326A for ; Mon, 3 May 2010 11:06:55 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by tcms.us (Postfix) with ESMTP id 24BBF224644 for ; Mon, 3 May 2010 14:06:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at tcms.us Received: from tcms.us ([127.0.0.1]) by localhost (tcms.us [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LgCZyUHGJ4U6 for ; Mon, 3 May 2010 14:04:30 +0000 (UTC) Received: from [192.168.0.105] (c-68-35-134-229.hsd1.nm.comcast.net [68.35.134.229]) (Authenticated sender: daniel@summershome.org) by tcms.us (Postfix) with ESMTPA id 58B99224040 for ; Mon, 3 May 2010 14:04:26 +0000 (UTC) Message-ID: <4BDED7E2.5060304@djs-consulting.com> Date: Mon, 03 May 2010 14:04:18 +0000 From: "Daniel J. Summers" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Ubuntu 10.04 - Cannot Create TCP/IP Sockets References: <4BDE46F4.4070401@djs-consulting.com> <1CA7FF980DA3824F9A5C31532B7A40DCCDCE01FD@LCXCLMB01.LCDS.LOC.GOV> <4BDEC707.1090403@gmail.com> <14337.1272894755@sss.pgh.pa.us> In-Reply-To: <14337.1272894755@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201005/26 X-Sequence-Number: 34499 On 05/03/2010 01:52 PM, Tom Lane wrote: > Yeb Havinga writes: > >>> 2010-05-03 03:36:06 UTC LOG: could not bind IPv4 socket: Cannot assign >>> requested address >>> > Does it work if you change listen_addresses to '*' or '127.0.0.1' ? > Bingo - changing it to "*" got it started. :) > >>> ..and localhost is resolving... >>> root@coolnewserver:~# nslookup localhost >>> > nslookup isn't a terribly reliable way to check that. Try "dig". > Dig seemed to return "localhost" OK... me@coolnewserver:~$ dig localhost ; <<>> DiG 9.7.0-P1 <<>> localhost ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18467 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;localhost. IN A ;; ANSWER SECTION: localhost. 604800 IN A 127.0.0.1 ;; AUTHORITY SECTION: localhost. 604800 IN NS localhost. ;; ADDITIONAL SECTION: localhost. 604800 IN AAAA ::1 ;; Query time: 0 msec ;; SERVER: 173.203.4.8#53(173.203.4.8) ;; WHEN: Mon May 3 13:57:54 2010 ;; MSG SIZE rcvd: 85 Could this possibly be related to IPv6? I know with this version of Ubuntu (10.04), there's a known issue with LightTPD if you include the IPv6 library in the configuration file (which is on by default - heh); if you comment them out, it works just fine. Thanks for the help! Daniel