From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-general@postgresql.org
Subject: Problem with the 9.1 one-click installer Windows7 64bit
Date: Mon, 12 Sep 2011 17:12:16 +0200
Message-ID: <j4l7fc$oan$1@dough.gmane.org> (raw)
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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: spam_eater@gmx.net, pgsql-general@postgresql.org
Subject: Re: Problem with the 9.1 one-click installer Windows7 64bit
In-Reply-To: <j4l7fc$oan$1@dough.gmane.org>
References: <j4l7fc$oan$1@dough.gmane.org>
* 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