Thread: Re: [GENERAL] postgresql-9.3.1-1-windows-x64.exe does not install correctly for me
Re: [GENERAL] postgresql-9.3.1-1-windows-x64.exe does not install correctly for me
From
Dann Corbit
Date:
The PostgreSQL installer for Windows 64 appears to be broken for Microsoft Windows Server 2012 Standard. Even after uninstalling, removing the entire postgresql directory structure, and running the installer as administrator,I get this error: "fixing permissions on existing directory C:/Program Files/PostgreSQL/9.3/data ... initdb: could not change permissions ofdirectory "C:/Program Files/PostgreSQL/9.3/data": Permission denied" I was able to get it to install by giving permissions to the postgresql folder to applications and services, but I am notreally sure what allowed it to complete. However, that sort of installation would be unsafe for regular users. I only use it for testing, so it does not really matter much in my case (though I would like it much better if I did nothave to munge around to make the install work). -----Original Message----- From: Adrian Klaver [mailto:adrian.klaver@gmail.com] Sent: Thursday, October 31, 2013 5:03 PM To: Dann Corbit; 'pgsql-general@postgresql.org' Subject: Re: [GENERAL] postgresql-9.3.1-1-windows-x64.exe does not install correctly for me On 10/31/2013 11:53 AM, Dann Corbit wrote: > postgresql-9.3.1-1-windows-x64.exe > > Problem running post-install step. Installation may not complete > correctly > > The database cluster initialization failed. > > Is there an installation log I can examine to determine the problem > more completely? > http://www.enterprisedb.com/resources-community/pginst-guide#troubleshooting -- Adrian Klaver adrian.klaver@gmail.com
Re: [GENERAL] postgresql-9.3.1-1-windows-x64.exe does not install correctly for me
From
Christian Ullrich
Date:
* Dann Corbit wrote: > The PostgreSQL installer for Windows 64 appears to be broken for Microsoft Windows Server 2012 Standard. > > Even after uninstalling, removing the entire postgresql directory structure, and running the installer as administrator,I get this error: > > "fixing permissions on existing directory C:/Program Files/PostgreSQL/9.3/data ... initdb: could not change permissionsof directory "C:/Program Files/PostgreSQL/9.3/data": Permission denied" On earlier Windows versions, I have always had a similar issue. That was usually fixable by running the installation as a local Administrator, rather than a domain account. I'm not sure if that still applies to 2012, though. -- Christian