在Windows Server 2003 x64上安装postgresql 9.3.4的问题

你好,我真的做了所有我知道的在我的Windows 2003服务器x64上安装PostgreSQL 9.3.4,但我总是停下来这个错误:

请查看错误: http : //oi57.tinypic.com/s4tb8i.jpg

我真的不知道该怎么做,如果我点击确定,然后当我去的Windows服务列表我找不到PostgreSQL服务,所以我不能启动服务。

任何人都可以帮助我正确地安装它。

PS:我已经完成了: wiki.postgresql.org/wiki/Troubleshooting_Installation中的所有步骤

非常感谢 。

这里的安装程序日志*我得到“无法初始化数据库集群与initdb”:

Called IsVistaOrNewer()... 'winmgmts' object initialized... Version:5.2 MajorVersion:5 Ensuring we can write to the data directory (using cacls): Executing batch file 'rad22ADE.bat'... processed dir: C:\Program Files\PostgreSQL\9.2\data Executing batch file 'rad22ADE.bat'... The files belonging to this database system will be owned by user "Administrator". This user must also own the server process. The database cluster will be initialized with locale "English_United States.1252". The default text search configuration will be set to "english". fixing permissions on existing directory C:/Program Files/PostgreSQL/9.2/data ... initdb: could not change permissions of directory "C:/Program Files/PostgreSQL/9.2/data": Permission denied Called Die(Failed to initialise the database cluster with initdb)... Failed to initialise the database cluster with initdb Script stderr: Program ended with an error exit code Error running cscript //NoLogo "C:\Program Files\PostgreSQL\9.2/installer/server/initcluster.vbs" "NT AUTHORITY\NetworkService" "postgres" "****" "C:\Program Files\PostgreSQL\9.2" "C:\Program Files\PostgreSQL\9.2\data" 5432 "DEFAULT" 0 : Program ended with an error exit code Problem running post-install step. Installation may not complete correctly The database cluster initialisation failed. Creating Uninstaller Creating uninstaller 25% Creating uninstaller 50% Creating uninstaller 75% Creating uninstaller 100% Installation completed Log finished 05/02/2014 at 04:04:04 

我在32位2003服务器上有完全相同的问题。

出于某种原因,它似乎在同一部分,数据目录的权限设置失败。

我以为这是失败的,因为我只有Service Pack 1,这不包含icalcs.exe(它是在SP2中引入的),但即使升级到SP2后仍保持失败。

在重新运行安装程序之前,通过将所有人的完全控制权限设置为数据来临时修复它。 我仍在调查原因并寻找永久性修复。

我build议你尝试使用它们提供的二进制文件手动安装它: 这里