Re: Problem with the 9.1 one-click installer Windows7 64bit
| От | Merlin Moncure |
|---|---|
| Тема | Re: Problem with the 9.1 one-click installer Windows7 64bit |
| Дата | |
| Msg-id | CAHyXU0yYrwPb-Z+rm6DfFMtTqJ=gikv5yRx97vumquGvdgB-cQ@mail.gmail.com обсуждение исходный текст |
| Ответ на | Problem with the 9.1 one-click installer Windows7 64bit (Thomas Kellerer <spam_eater@gmx.net>) |
| Ответы |
Re: Problem with the 9.1 one-click installer Windows7 64bit
|
| Список | pgsql-general |
On Mon, Sep 12, 2011 at 10:12 AM, Thomas Kellerer <spam_eater@gmx.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
В списке pgsql-general по дате отправления: