Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 164DEB5DC0A for ; Tue, 28 Jun 2011 18:03:26 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 09507-01 for ; Tue, 28 Jun 2011 21:03:19 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from morework.geizhals.at (morework.geizhals.at [78.142.138.3]) by mail.postgresql.org (Postfix) with ESMTP id 19426B5DC6F for ; Tue, 28 Jun 2011 18:03:09 -0300 (ADT) Received: from localhost (morework [127.0.0.1]) by morework.geizhals.at (Postfix) with ESMTP id 7927A124827A; Tue, 28 Jun 2011 23:02:41 +0200 (CEST) X-Virus-Scanned: amavisd-new at geizhals.at Received: from morework.geizhals.at ([127.0.0.1]) by localhost (morework.geizhals.at [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hqikssCPS-zP; Tue, 28 Jun 2011 23:02:37 +0200 (CEST) Received: from klump-pc.ghoffice (mjyrouter [213.235.209.145]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mjy) by morework.geizhals.at (Postfix) with ESMTPSA; Tue, 28 Jun 2011 23:02:37 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "Tom Lane" , "Marinos Yannikos" Cc: "PostgreSQL Bugs" Subject: Re: Ident authentication fails due to bind error on server (8.4.8) References: <17691.1308325281@sss.pgh.pa.us> <20339.1308333119@sss.pgh.pa.us> Date: Tue, 28 Jun 2011 23:02:58 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Marinos Yannikos" Organization: Preisvergleich Internet Services AG Message-ID: In-Reply-To: User-Agent: Opera Mail/11.11 (Win32) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201106/211 X-Sequence-Number: 30590 On Sat, 18 Jun 2011 04:55:59 +0200, Marinos Yannikos wrote: > sysctl -w net.ipv4.tcp_tw_reuse=1 This fixed the issue apparently, so bind() seems to choose ports in TIME_WAIT state for some reason with sin_port=0 and that caused it. Regards, Marinos