Re: Problem with the 9.1 one-click installer Windows7 64bit

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: Thomas Kellerer <spam_eater(at)gmx(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with the 9.1 one-click installer Windows7 64bit
Date: 2011-09-12 19:28:48
Message-ID: CAHyXU0yYrwPb-Z+rm6DfFMtTqJ=gikv5yRx97vumquGvdgB-cQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

On Mon, Sep 12, 2011 at 10:12 AM, Thomas Kellerer <spam_eater(at)gmx(dot)net> wrote:
> Hi,
>
> I tried to install 9.1 on a Windows7 64bit machine but the installation
> hangs during the initdb process.
>
> Looking at the taskmanager I could see that the installer script was waiting
> for icacls.exe to complete setting the approriate permissions on the data
> directory.
>
> As I know that problems during initdb are usually a sign of some permission
> problems, I pre-created the data directory and manually changed the owner of
> that directory to be the one of the postgres service account (which is a
> *local* user, not a domain user)
>
> With the second attempt, the installer again hang during initdb. Checking
> the state using ProcessExplorer I could see that the installer script was
> waiting for icacls.exe to set permissions for the user currently running the
> installer. It was running [icacls.exe "thomas"] instead of [icacls.exe
> "mydomain\thomas"] - although I have to admit that I don't know if that
> would make a difference.
>
> So I killed the iacls.exe and the script proceeded, just to hang at the next
> call to icacls.exe when it tried to set the privileges on the directory for
> the postgres user despite the fact that that user already was the owner and
> had full control over it. So I killed icacls.exe again and then the script
> finally finished without problems. The service was registered and
> successully started.
>
> UAC is turned off on my computer.
>
> Btw: is there a way to run the one-click installer *without* the
> automatically running initdb?
>
> I did not have these problems on the same computer with the 9.0 installer -
> the only difference is that I installed the 32bit version of 9.0, while I
> know decided to use the 64bit version. Could that make a difference?

hm, why is icacls hanging? does it do that if you run it from the command line?

merlin

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2011-09-13 03:13:57 Re: Re: [BUGS] BUG #6189: libpq: sslmode=require verifies server certificate if root.crt is present
Previous Message David Fetter 2011-09-12 18:20:20 Re: Re: [BUGS] BUG #6189: libpq: sslmode=require verifies server certificate if root.crt is present

Browse pgsql-general by date

  From Date Subject
Next Message Aleksey Tsalolikhin 2011-09-12 20:01:52 Re: Has Pg 9.1.0 been released today?
Previous Message Andy Colson 2011-09-12 18:20:36 Re: Index Corruption