PDA

View Full Version : Connection to database failed: -->could not connect to server:



Lynx
09-06-2010, 10:46 PM
Hi, my holdem suddenly stopped working, i unistalled it and tried to install the new version can't seem to do it, it goes well until the part of the psqinstall, the install report is this:


Output folder: C:\Program Files\PSQLINSTALL
top level install dir -->C:\Program Files
Is admin account
fs=NTFS
.NET found
Extract: TestFirewall.exe... 100%
Extract: TestFirewall.exe.config... 100%
Antivirus Installed: False
test antivirus returned 0
seclogon error status: 0
seclogon status: 4
firewall enabled: 0
firewall not enabled
postgresql error status: 1060
postgresql status: 0
starting pgsql-8.3
postgresql error status: 1060
postgresql status: 0
postgresql error status: 1060
postgresql status: 0
starting postgresql-8.4
postgresql error status: 1060
postgresql status: 0
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-2010-11-Aug-15-37-44
Create folder: C:\Program Files\PostgreSQL\8.4-prev-2010-11-Aug-15-37-44
Moving files: C:\Program Files\PostgreSQL\8.4\*.* to C:\Program Files\PostgreSQL\8.4-prev-2010-11-Aug-15-37-44\
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


All the sollution i've seen so far don't work...

Any help?

netsrak
09-07-2010, 01:26 PM
Usually there is no need to reinstall everything when you can't connect to the database.
Did you uninstall Postgresql too?
If not there is a good chance that it is still working and you can connect to the database when starting Holdemmanager.

Please try the following:

1. Reboot your computer
2. If that doesn't help look for the hidden system file postmaster.pid in the postgresql data folder, delete it and reboot your computer again.
3. Click on start and look for 'Services' (= the windows services) and click on it.
Right click on 'PostgreSQL Server' -> properties.
Click on the tab 'Log On' and select 'Local System account
Restart the service
4. Check our FAQ: FAQ - Hold'em Manager Poker Tracking Software :: Can't Connect / Failed to Start PostgreSQL (http://faq.holdemmanager.com/questions/91/Can%27t+Connect+%7B47%7D+Failed+to+Start+PostgreSQ L+)

Lynx
09-07-2010, 04:24 PM
Yes, i uninstalled the Postgresql, and know I can't seem to install it back.

That error appears.

What can I do to solve this?

Thank you for the help.

blackrain17
09-07-2010, 09:33 PM
I'm currently having connection issues with the server...

netsrak
09-08-2010, 03:58 AM
@Lynx: Please schedule a remote support session with our support. Email support@holdemmanager.net, with a link to this thread and your forum name, so we can setup a <a href="http://www.holdemmanager.net/teamviewer" target="_blank">Teamviewer</a> session.<br />
<br />
@blackrain: try the things i posted earlier