pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ritu Khetan <RKhetan@crisil.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_hba.conf issue
Date: Mon, 02 Jul 2007 11:38:37 -0400
Message-ID: <12191.1183390717@sss.pgh.pa.us> (raw)
In-Reply-To: <OF88C2268C.E8C6A01A-ON6525730C.00476BC9-6525730C.00488BCB@crisinfac.com>
References: <OF88C2268C.E8C6A01A-ON6525730C.00476BC9-6525730C.00488BCB@crisinfac.com>

Ritu Khetan <RKhetan@crisil.com> writes:
> # IPv4 local connections:
> host    all         all         127.0.0.1/32          trust
> # IPv6 local connections:
> #host    all         all         ::1/128               trust
> #host    all         all         172.21.42.121/24               trust
> host    all         all         172.21.51.56/24               trust

> While this works at most of the locations, we have a peculiar error coming
> up at 2-3 locations. The error reads:

> no pg_hba.conf entry for host "::1" , user "crisil" , database "crisil" ,
> SSL off "

No surprise: you have the IPv6 line commented out.  Dunno why these
particular boxes are preferring IPv6 to IPv4, maybe something different
about the local DNS environment?  Anyway, there is no point in refusing
to serve ::1/128 if you're accepting 127.0.0.1.

			regards, tom lane



view thread (12+ messages)  latest in thread

Message-ID: <12191.1183390717@sss.pgh.pa.us>
Permalink:  ../12191.1183390717@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12191.1183390717@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, RKhetan@crisil.com
  Subject: Re: pg_hba.conf issue
  In-Reply-To: <12191.1183390717@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox