Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: pg_hba.conf not right



On Tue, 25 Sep 2007, Devrim GÜNDÜZ wrote:

You need to enable IPV6 in pg_hba.conf:

host  drupal drupal  ::1/128 trust

I thought it was something like that... Now that's I've taken a second look, it seems the yum update did this to /etc/hosts:
  [phillips(at)poweredge2400 ~]$ cat /etc/hosts
  # Do not remove the following line, or various programs
  # that require network functionality will fail.
  127.0.0.1               poweredge2400 localhost.localdomain localhost
  ::1             poweredge2400 localhost.localdomain localhost

So localhost resolved according to the last line to the IPv6 address, instead of the IPv4 address.

Thanks :)
~p

--
Phillip Smith
phillips(at)fukawi2(dot)homelinux(dot)net


Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group