I have attempted to install PostgreSQL 9.4 and 8.4 multiple times and it is failing no matter what I have tried. I am attempting to install on Windows 7 SP1 x64. After each failed install I have uninstalled and deleted the installation folder to start fresh.
Each time I attempt the install I get an error pop up near the end of installation that says: "failed to load sql modules into the database cluster".
Then another error pop up displays immediately after that says: "Error running post install step. Installation may not complete correctly. Error reading C:/Program Files/PostgreSQL/9.4/postgresql.conf"
I have attempted installation with the following actions:
- Always installed as administrator
- Turned off all virus protection and windows firewall
- Changed the installation directory to something other than the Program Files directory.
- Changed the data directory to something other than the installation directory of postgres
None of the actions above have helped and I always receive the error. Any help that someone can provide would be greatly appreciated!
[20:49:14] Installing the adminpack module in the postgres database... Executing C:/Program Files/PostgreSQL/9.4\bin\psql.exe -c "CREATE EXTENSION adminpack" -d postgres Script exit code: 2 Script output: Script stderr: psql: could not connwind could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? Failed to load SQL modules into the database cluster.
– Jeff G Aug 3 '15 at 22:45