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 archives
  Advanced Search

Re: Problem editing pg_hba.conf on Vista


  • From: Rafael Domiciano <rafael(dot)domiciano(at)gmail(dot)com>
  • To: "Nagle, Gail A (US SSA)" <gail(dot)nagle(at)baesystems(dot)com>
  • Cc: pgsql-novice(at)postgresql(dot)org
  • Subject: Re: Problem editing pg_hba.conf on Vista
  • Date: Fri, 27 Mar 2009 20:56:54 -0300
  • Message-id: <3a0028490903271656j2f9ee9b6y1a4fe60254bf618c@mail.gmail.com> <text/plain>

Did you installed Postgres in a new user, like suggested in the Installation
Wizard?
I'm was having a problem like yours in Windows Server 2008, so I deleted and
created the user Postgres, put it into "Advanced Users" and worked fine.

Rafael


On Fri, Mar 27, 2009 at 8:38 PM, Nagle, Gail A (US SSA) <
gail(dot)nagle(at)baesystems(dot)com> wrote:

>  When installing 8.3 on Vista, we are having a problem when we change the
> pg_hba.conf file to allow trust authentication. This worked fine on Windows
> XP. However, after making the change and stopping/restarting the  service,
> we see an error in the Windows Event Viewer that says it no longer cannot
> open the pg_hba.conf file, permission denied.  Vista also seems to lock
> these config files in a way that prevents them from being removed even after
> uninstalling postgres. Has anyone encountered this problem and found a
> solution? Thank you.
>
>
>
> The relevant part of the file now looks like this:
>
> # TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
>
>
>
> # IPv4 local connections:
>
> #host    all         all         127.0.0.1/32          md5
>
> host    all         all         127.0.0.1/32          trust
>
> # IPv6 local connections:
>
> #host    all         all         ::1/128               md5
>
>
>


Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group