Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XjY63-0000aP-Aq for pgsql-admin@arkaria.postgresql.org; Wed, 29 Oct 2014 18:35:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XjY62-0005FG-IQ for pgsql-admin@arkaria.postgresql.org; Wed, 29 Oct 2014 18:35:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XjY61-0005F9-Ga for pgsql-admin@postgresql.org; Wed, 29 Oct 2014 18:35:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XjY5x-0003s7-MR for pgsql-admin@postgresql.org; Wed, 29 Oct 2014 18:35:47 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s9TIZdX5029189; Wed, 29 Oct 2014 14:35:40 -0400 From: Tom Lane To: John Scalia cc: Shreeyansh dba , "pgsql-admin@postgresql.org" Subject: Re: A local replication entry In-reply-to: <545126F0.2090704@gmail.com> References: <5450E937.2070408@gmail.com> <5450FB3D.7030008@gmail.com> <23872.1414595142@sss.pgh.pa.us> <54510950.90100@gmail.com> <25754.1414599609@sss.pgh.pa.us> <545126F0.2090704@gmail.com> Comments: In-reply-to John Scalia message dated "Wed, 29 Oct 2014 13:42:08 -0400" Date: Wed, 29 Oct 2014 14:35:39 -0400 Message-ID: <29188.1414607739@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org John Scalia writes: > ... So, it really is using the correct pg_hba.conf. Yeah, sure looks that way. > Allow me to note, in closing, that this particular VM: csgha2 has been a problem child since it was built, and many things have been broken on it. I don't know if this is another > one of the very hard-to-solve problems or not. I may try this on another of my sandbox systems. Still I need to know why this is failing. Interesting, though it doesn't offer any very clear theory for what's going on here. The only theory I've got at this point is that somehow the address matching code is failing to match the incoming connection to the spec "127.0.0.1/32", perhaps because the platform's libc is filling in the sockaddr struct weirdly. check_ip() and pg_range_sockaddr() would be the things to look at if you care to try to trace through the code. You could also experiment, for instance does 0.0.0.0/0 successfully match? regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin