issue in installing postgresql 9.3.4 on Windows server 2003 x64

Posted by randydom on Server Fault See other posts from Server Fault or by randydom
Published on 2014-05-03T17:21:29Z Indexed on 2014/08/21 10:22 UTC
Read the original article Hit count: 285

Filed under:

Hello i really did all what i know to install the PostgreSQL 9.3.4 on my windows 2003 server x64, but i'm always stopped with this error :

please see the error : http://oi57.tinypic.com/s4tb8i.jpg

I really don't know what to do , if i click OK then when i go to the windows services list i don't find the PostgreSQL service so i can't Start the service .

can any one please help me to install it correctly .

PS: i've followed all steps in the : wiki.postgresql.org/wiki/Troubleshooting_Installation

many thanks .

here's the installer log * where i get " Failed to initialise the database cluster with 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

© Server Fault or respective owner

Related posts about postgresql