Unablet to login to database?

Experiencing technical difficulties? Think you've found a problem with PokerTracker 3? Report it here.

Moderator: Moderators

Unablet to login to database?

Postby willygorton » Fri Jan 23, 2009 1:19 am

Getting the following error message:

Unable to login to database (PT3 DB). Reason: could not connect to server: Connection refused (0x0000274D/10061) Is the server running on the host "local host".

Anyone ever see this / know how to rectify?

Thanks in advance,
Bill
willygorton
 
Posts: 8
Joined: Tue Jul 15, 2008 10:02 am

Re: Unablet to login to database?

Postby WhiteRider » Fri Jan 23, 2009 7:19 am

This means that postgres isn't running.
Please try starting the postgres service: Start -> Programs -> PostgreSQL -> Start Service.
If that, and a reboot doesn't work, try stopping the service (Start -> Programs -> Postgres -> Stop Service), running a search on your computer for postmaster.pid and then deleting that file, then restarting the service and see if that helps.
Note that you may need to turn on 'View hidden files and folders', and the file seems to be in the folder './Program Files/postgresql/[version]/data'.

If you update to Beta 24 (Download and install PT3) PT3 should handle this for you.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Unablet to login to database?

Postby willygorton » Fri Jan 23, 2009 11:02 am

Tried - no dice.

The only thing I found similar to postmaster.pid was postmaster.opts? Is that the one I am supposed to delete?

That said, if downloading another version will prevent this make everything run fine, I would rather just do that. which PT3 should I download - with or w/o postgreSQL? I think with, but want to make sure.

Thanks,
Bill
willygorton
 
Posts: 8
Joined: Tue Jul 15, 2008 10:02 am

Re: Unablet to login to database?

Postby kraada » Fri Jan 23, 2009 11:21 am

Bill,

Deleting the postmaster.opts file won't help you; that file just saves the commands used to start up PostgreSQL the last time it started.

The difference between the with and without downloads of PT3 are that one comes with the PostgreSQL installer and the other lacks that installer. If you already have PostgreSQL installed on your system, you don't need to reinstall it each time you upgrade PT3. If you want to reinstall PostgreSQL, you should follow this tutorial.

Please try downloading and installing Beta 24 without PostgreSQL and see if that fixes things for you; Beta 24 is supposed to restart PostgreSQL if need be in a better fashion so it might fix the problems for you entirely. If that doesn't work, try reinstalling PostgreSQL from the linked tutorial above.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Unablet to login to database?

Postby willygorton » Fri Jan 23, 2009 12:53 pm

Thank you for your help, but this is extremely frustrating.

Unfortunately none of the fixes worked. I finally got this up and running for the first time the other day, used it once, and last night when I tried to use it again all this happend. I am trying to delete everything and start over, but this takes quite some time.
willygorton
 
Posts: 8
Joined: Tue Jul 15, 2008 10:02 am

Re: Unablet to login to database?

Postby kraada » Fri Jan 23, 2009 2:26 pm

I understand this is frustrating. Are you using firewall software? If so, please check to make sure that it allows PostgreSQL to use port 5432 both incoming and outgoing. Some firewalls can be overzealous and block PostgreSQL from functioning.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Unablet to login to database?

Postby willygorton » Fri Jan 23, 2009 6:21 pm

Do I need this Windows Vista Service Pack 1?
willygorton
 
Posts: 8
Joined: Tue Jul 15, 2008 10:02 am

Re: Unablet to login to database?

Postby kraada » Fri Jan 23, 2009 6:25 pm

I believe so, yes.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Unablet to login to database?

Postby willygorton » Fri Jan 23, 2009 7:04 pm

I just tried that, no dice.

I get to the same point and the following error message comes up

"User 'postgres' could not be created. The password is too short or not complex enough."

Honestly i have deleted everything pokertracker related from my computer.

Lets pretend I just showed up - what is the first thing I am supposed to do in order to get this going? There are 4 downloads, which one (1-4) do I download? If there is something before that, please let me know.

Thanks.
willygorton
 
Posts: 8
Joined: Tue Jul 15, 2008 10:02 am

Re: Unablet to login to database?

Postby kraada » Sat Jan 24, 2009 9:51 am

That error message isn't one that should stop you from installing, but you can create a password that's at least 10 characters long, with one capital letter, one lowercase letter, one number and one symbol. Once your password meets these requirements, it will be accepted.

If you were to start completely from scratch on a new computer, I'd recommend downloading Beta 24 with PostgreSQL. For all upgrades thereafter you'd download the newer version without PostgreSQL. (The with version comes with the PostgreSQL installer and you only need to install PostgreSQL once, not each time you upgrade PT3.)
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests