PDA

View Full Version : Can't instal/uninstal postgresql



Oks
10-09-2012, 12:21 PM
I tried many times instal postgres to run HM 1
1) I delete Postgresql by Revo uninstaller
2) In cmd i written: net user postgres /delete and i had message that user is succesfull deleted
3) i deleted register HLM/Software/Postgresql
4) I found (windows + f) all files with 'postgres' and deleted it (i marked find system and unvisible files)

After that i reboted system, run hm installer, marked install postgresql (near it still was: already installed !), unmarked instal hm, and while instaling had error:


Output folder: D:\Program Files\PSQLINSTALL
top level install dir -->D:\Program Files
Is admin account
fs=NTFS
.NET found
Extract: TestFirewall.exe... 100%
Extract: TestFirewall.exe.config... 100%
Antivirus Installed: True
test antivirus returned 1
antivirus installed
security center error status: 0
security center status: 4
disabling security center
security center error status: 0
security center status: 1
disabled security center
seclogon error status: 0
seclogon status: 4
firewall enabled: 1
firewall port 5432 enabled: 1
port 5432 already enabled
postgresql error status: 0
postgresql status: 1
starting pgsql-8.3
postgresql error status: 0
postgresql status: 1
postgresql error status: 0
postgresql status: 1
starting postgresql-8.4
postgresql error status: 0
postgresql status: 1
postgres installdir: D:\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
no existing install dir
wrote testfile
Delete file: D:\Program Files\testfile
Extract: postgresql-8.4.7-1-windows.exe... 100%
Execute: "D:\Program Files\PSQLINSTALL\postgresql-8.4.7-1-windows.exe" --mode unattended --superpassword postgrespass
postgres installdir: D:\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


I cant play Poker without HM, what can i do to fix it?

Patvs
10-09-2012, 02:18 PM
Turn on the secondary Logon. 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.




Try: http://ftp.postgresql.org/pub/binary/v8.2.22/win32/postgresql-8.2.22-1.zip


Read: http://faq.holdemmanager.com/questions/91/Can%27tConnect%7B47%7DFailedToStartPostgreSQL , and http://faq.holdemmanager.com/questions/70/ReinstallPostgreSQL

Oks
10-09-2012, 04:26 PM
It was turned on. Doesnt work :(
I have windows xp, and dont have any firewalls etc

Oks
10-09-2012, 05:58 PM
Now when i install from another source i see comunicate Service PostgreSQL ... filed to start. Verify that you have sufficent privilages to start system services.
I am already on administrator account on windows xp

Patvs
10-09-2012, 06:38 PM
Is XP updated to Service Pack 3?


Read: http://holdemmanager.net/forum/showthread.php?t=8182
and check your hosts file.

Turn on Windows Firewall, and set exceptions to postgres.exe, pg_ctl.exe and port 5432 (or whichever port PostgreSQL wants to use)

Oks
10-09-2012, 06:50 PM
All work.
The problem was with my instalation version. When i downloaded new with -1 surfix all work.
Thanks all. I spent with my issue more than 10 hours, it was only problem with my instalation version.
Thanks!