PDA

View Full Version : sorry, could not install postgreSQL



omahaking
03-22-2011, 04:49 AM
hi, I am trying to install HM on a new computer, and I have tried everything now, but i always get the same message when holdem manager is running the steup for postgresql: sorry, could not install postgreSQL. I get this message after the postgres has tried to connect to server.
1.Windows 7 ultimate, 32-bit
2. I have turned of UAC
3. I have removed/uninstalled firewall(zonealarm) and antivirus(AVG)
4. I have turned of windows firewall
5. I have tried to use postgres 8.3.0v1.0.7, but this program never get installed(it stops in the data section of the installation)

And here is the message:

postgres installdir: C:\Program Files\PSQLINSTALL
==================== running PsqlTestClient
try userid: postgres
try pass: postgrespass
try pass: postgrespass
Connection to database failed: -->could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?
<--error
1
testclient return status: 1
testclient return from file: 1
==================== finished PsqlTestClient
granting write permission on top level postgres directory
found dir
try rename C:\Program Files\PostgreSQL\8.4 --> C:\Program Files\PostgreSQL\8.4-prev-2011-04-Mar-17-06-23
Create folder: C:\Program Files\PostgreSQL\8.4-prev-2011-04-Mar-17-06-23
Moving files: C:\Program Files\PostgreSQL\8.4\*.* to C:\Program Files\PostgreSQL\8.4-prev-2011-04-Mar-17-06-23\
Remove folder: C:\Program Files\PostgreSQL\8.4\
renamed dir
wrote testfile
Delete file: C:\Program Files\PostgreSQL\testfile
Extract: postgresql-8.4.1-1-windows.exe... 100%
Execute: "C:\Program Files\PSQLINSTALL\postgresql-8.4.1-1-windows.exe" --mode unattended --superpassword postgrespass
postgres installdir: C:\Program Files\PSQLINSTALL
==================== running PsqlTestClient
try userid: postgres
try pass: postgrespass
try pass: postgrespass
Connection to database failed: -->could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?
<--error
1
testclient return status: 1
testclient return from file: 1
==================== finished PsqlTestClient

Can I get some remote help over teamviewer?

netsrak
03-22-2011, 04:56 AM
Seems to be a permission problem. Do you have administrator rights?

Which firewall / virusscanner are you using?

Please try to download and install postgresql 8.4 from PostgreSQL: The world's most advanced open source database (http://www.postgresql.org).
If you still have problems try to install it to a different folder or partition like c:\postgres or d:\postgres.

If that fails too please try postgresql version 8.2.20 from PostgreSQL: The world's most advanced open source database (http://www.postgresql.org).

omahaking
03-22-2011, 05:19 AM
1. yes,i have adm rights
2. I have deleted all firewalls
3. I have tried to install the postgresql from that site, but it is always asking for password etc, do you have a link to what I should do at each stage when i install postgresql?

netsrak
03-22-2011, 09:41 AM
The default password hm uses is postgrespass

http://faq.holdemmanager.com/categories/Frequently+Asked+Questions/Installation+%26+Setup/PostgreSQL/

omahaking
03-22-2011, 10:52 AM
I just tried to run postgresql 8.3.14.1, and I get this message:".. Failed to start the database server." I tried to install it on a different hard drive and I tried in a different folder, but I got the same message every time.

Why will postgresQL not allow me to connect to the server?

I tried to run the process with a VPN also to see if there was a block on the site in my country, however I got the same result with VPN.

And I ran the program as administrator.

Patvs
03-22-2011, 12:40 PM
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)

omahaking
03-22-2011, 02:15 PM
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)

should I check or uncheck the "install as a service" box? I tried with unchecking it and holdem manager "was unable to start the service" then.

I am tired of wasting time on this postgresql stuff now. Can I get help over teamviewer or something?

omahaking
03-22-2011, 02:31 PM
using the 8.2.20 i am able to finish the installation by using the this manual: http://faq.holdemmanager.com/questions/71/Reinstall+PostgreSQL+Preserving+Old+Database

but still i get holdem manager "was unable to start the service"

Patvs
03-22-2011, 09:28 PM
Check if your secondary login service is running.

The secondary logon service is a standard windows service which is available on every windows computer. In the latest versions it is not started automatically. You need to start it via control panel > administrative tools > services. Starting it once should insure it works in the future also.

omahaking
03-22-2011, 09:35 PM
Check if your secondary login service is running.

The secondary logon service is a standard windows service which is available on every windows computer. In the latest versions it is not started automatically. You need to start it via control panel > administrative tools > services. Starting it once should insure it works in the future also.

it was already enabled/started and it is on automatic startup type.

Patvs
03-22-2011, 10:59 PM
PM sent