UNABLE TO CONNECT TO DATABASE?

Hold'em or Poker Tracker Hold'em related posts go here

UNABLE TO CONNECT TO DATABASE?

Postby noobham » Sat Jul 12, 2008 2:24 am

Hello. I start PT tonight and get this message:

101 - SQLSTATE = 08001
could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?


what does this mean? how can i repair it? I get the same exact message with PokerAce HUD, it's a bit unsettling.

Thanks for the help
noobham
 
Posts: 5
Joined: Sat Jul 12, 2008 2:02 am

Re: UNABLE TO CONNECT TO DATABASE?

Postby ptrack mike » Sat Jul 12, 2008 6:55 am

It doesn't mean you need to repair, it means you can't connect to the PostgreSQL server. Restart your computer and try again.

If it still gives the same error, go to the Start > Settings > Control Panel > Administrative Tools > Services window.
Find PostreSQL 8.x in the list. Does it say it's started? If not, try to start it. Does it give an error when you do this?
ptrack mike
 
Posts: 1731
Joined: Thu Feb 21, 2008 5:48 pm

Re: UNABLE TO CONNECT TO DATABASE?

Postby noobham » Sat Jul 12, 2008 11:52 am

OK, did that, PostgreSQL was not started, so I clicked Start Service, and it says:

'The PostgreSQL 8.2 Server started and then stopped. Some services stop automatically if they have no work to do.'

I then tried running PT and still, it would not start. Every time I try to start it, it stops after 1 second...
noobham
 
Posts: 5
Joined: Sat Jul 12, 2008 2:02 am

Re: UNABLE TO CONNECT TO DATABASE?

Postby ptrack mike » Sat Jul 12, 2008 11:53 am

Does it give an error?
ptrack mike
 
Posts: 1731
Joined: Thu Feb 21, 2008 5:48 pm

Re: UNABLE TO CONNECT TO DATABASE?

Postby noobham » Sat Jul 12, 2008 11:57 am

it does not specify an error, no.
noobham
 
Posts: 5
Joined: Sat Jul 12, 2008 2:02 am

Re: UNABLE TO CONNECT TO DATABASE?

Postby noobham » Sat Jul 12, 2008 12:00 pm

and, this is after multiple restarts and trying again.... I'm seeing what happens if I import using an Access database, if there are any problems.
noobham
 
Posts: 5
Joined: Sat Jul 12, 2008 2:02 am

Re: UNABLE TO CONNECT TO DATABASE?

Postby noobham » Sat Jul 12, 2008 12:04 pm

no problems importing using an Access database as of yet
noobham
 
Posts: 5
Joined: Sat Jul 12, 2008 2:02 am

Re: UNABLE TO CONNECT TO DATABASE?

Postby ptrack pat » Sat Jul 12, 2008 3:34 pm

The problem is the PostgreSQL service isn't staying started. What have you been doing to this computer? Have you updated Windows or installed any anti-virus or firewall software?

When was the last time you backed up the db?

Go to the c:\program files\postgresql\8.2\data folder and if there is a file called postmaster.pid there, delete it and restart the computer and then see if you can start the service without error.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm


Return to PokerTracker Holdem

Who is online

Users browsing this forum: No registered users and 0 guests