PDA

View Full Version : "Sorry, could not install PostgreSQL"



lolerskates
03-19-2011, 03:42 AM
Tried installing on my new HP laptop. Windows 7 Professional 32-bit. "Sorry, could not install PostgreSQL" comes up in the combo installer. I have turned off firewall/anti-virus and tried installing Postgres byitself, which also fails.

netsrak
03-19-2011, 06:00 AM
Please download and install postgresql from PostgreSQL: The world's most advanced open source database (http://www.postgresql.org).
First try the 8.4 version and please try to install it in a different folder or partition like c:\postgres or d:\postgres.

If that fails try a 8.2 version.

effuno
03-21-2011, 12:42 AM
I uninstalled Holdem manager and postgre and tried reinstalling. I end up with the same error while installing postgre that comes with the bundle pack.

' connection to database failed : -> could not connect to server : Connection refused (... is server running on host 127.0.0.1" and accepting TCP/IP connections on port 5432 ?
<- error

[ I'm using windows 7 home premium 64bit SP1 ]

1. There are no firewalls running

2 I did this (http://forums.holdemmanager.com/manager-general/8182-fix-postgresql-cannot-start-error-127-0-0-1-a.html). The hosts file already had lines '127.0.0.1 localhost' and '::1 localhost', but had '#' before them. I removed the '#' from both lines.

3. Secondary logon service is running

4. User accout is 'administrator' and UAC is set to 'never notify' .

5. I've run the installer by right clicking and selecting 'run as administrator'

6. Finally, I tried to download and install postgre 8.4.7-1. But it asks me for password and upon entering a password it tells me to enter the correct password for windows postgre account (which i don't know). Earlier I used to have a postgre accout shown under 'user profiles', but now it does not exist (account unknown, default profile and myname-pc/myname are the 3 accounts that exists now).


I did not add exceptions to firewall or uninstall the 3rd party firewall (Trend titanium), both of which are turned off.

Thank you.

edit: I did disable some services following along this (http://www.ocztechnologyforum.com/forum/showthread.php?63273-*-Windows-7-Ultimate-Tweaks-amp-Utilities-*)thread (OCZforums). Is anyone them relevant to this issue ?

netsrak
03-21-2011, 04:53 AM
The newer Postgresql versions sometimes have problems on 64 bit systems.

Please try 8.2.20: PostgreSQL: Choose a Mirror (http://wwwmaster.postgresql.org/download/mirrors-ftp/binary/v8.2.20/win32/postgresql-8.2.20-1.zip)

and try a different folder or partition like c:\postgres or d:\postgres

effuno
03-22-2011, 10:01 PM
thank you. that seemed to have worked.

I also had to follow instructions in this (http://forums.holdemmanager.com/manager-general/22048-database-control-panel-problem.html)thread to get holdem manager working, in case someone finds it helpful.