Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id B122A633392 for ; Tue, 4 May 2010 01:18:39 -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 57881-07 for ; Tue, 4 May 2010 04:18:32 +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 3A2DC6332EB for ; Tue, 4 May 2010 01:18:31 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by tcms.us (Postfix) with ESMTP id 5265290A9E for ; Tue, 4 May 2010 04:18:29 +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 hMi1nWrt6qwa for ; Tue, 4 May 2010 04:18:15 +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 2B28E90A8F for ; Tue, 4 May 2010 04:18:12 +0000 (UTC) Message-ID: <4BDFA003.2080706@djs-consulting.com> Date: Tue, 04 May 2010 04:18:11 +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> <4BDED7E2.5060304@djs-consulting.com> <15098.1272896449@sss.pgh.pa.us> In-Reply-To: <15098.1272896449@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/37 X-Sequence-Number: 34510 On 05/03/2010 02:20 PM, Tom Lane wrote: > "Daniel J. Summers" writes: > >> On 05/03/2010 01:52 PM, Tom Lane wrote: >> >>> Does it work if you change listen_addresses to '*' or '127.0.0.1' ? >>> > >> Bingo - changing it to "*" got it started. :) >> > OK, what about 127.0.0.1? Given that "dig localhost" returns that, > it *should* behave the same, but obviously something here is not > behaving as expected. Also, after you start it with '*', does > "psql -h localhost" work? > Yes on both accounts. When I had 127.0.0.1 or *, it both started up, and psql -h localhost gave me a password prompt. > I'm guessing that there is something funny about the way your local > loopback is configured. It might be useful to look at "ifconfig lo". > On a Fedora machine I get > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:16436 Metric:1 > Mine's a carbon copy of that. It's strange. Let me know if there are any other commands you'd like for me to run. The original problem is solved, but I'd be happy to help find the disconnect (if there is one - and pardon the pun). :) Daniel