Problem with the 9.1 one-click installer Windows7 64bit

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Problem with the 9.1 one-click installer Windows7 64bit
Date: 2011-09-12 15:12:16
Message-ID: j4l7fc$oan$1@dough.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

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?

Regards
Thomas

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David Fetter 2011-09-12 17:21:26 Re: [BUGS] BUG #6189: libpq: sslmode=require verifies server certificate if root.crt is present
Previous Message Jerome Schulteis 2011-09-12 15:02:16 Re: BUG #6201: Windows User Log Off Causes Backend Exception 0xC0000142

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Hannon 2011-09-12 15:52:37 Two 9.1 Questions
Previous Message pasman pasmański 2011-09-12 14:50:59 Re: Index Corruption