PDA

View Full Version : Failed to establish connection



bobbydavro
03-12-2009, 02:34 PM
Sorry I didn't know which forum to post this in, there doesn't seem to be a general support forum?

Anyway HEM been working fine for couple of months and now suddenly on start I get.

Failed to establish connection to 127.0.0.1

I click ok and it says your running vista and need to disable UAC (which I don't have enabled), I click ok and it gos to the connect to DB ctrl panel.

I click connect and it says a connection cannot be made, would you like HEM to start the service.

I click YES and it says sorry unable to start.

then it says HEM has started the service please try again.

I click connect again and I'm stuck in a loop.

Help I've changed nothing on my pc and now HEM don't work :(

nicbab
03-12-2009, 02:37 PM
Same thing here. It was worked yesterday ...
(maybe vista's update ?)

(obviously : user account disable and run as admin activated everywhere)

thx in advance

Nicbab

yobox
03-12-2009, 03:53 PM
i also have the same bug. everything was ok yesterday and i didnt change anything to my config.
the postgres service is well started because my pokertracker 3 works fine and it's connected to the same postgres database with the same parameters.

thx

morny
03-12-2009, 08:54 PM
We have the fix:

Hi, Microsoft released a patch last night that has caused some issues with
the postgresql service for some people on Vista. The following steps seem to
get around this problem:

1: Go to "C:\Windows\system32\drivers\etc" and open the "hosts" file with
notepad

It might look something like this:
**************************************************
# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

::1 localhost
************************************************** ****

2: Enter "127.0.0.1 localhost" (without the quotes) at the bottom of the
file
4: Save the file
5: Restart PostgreSQL service by clicking on Start Menu - Programs -
Postgresql - Start Service

Thanks,

Roy




Anyone having issues can you please do the following and let me know what the error is:

Try and start the postgreSQL service:
Go to Control Panel > Administrative Tools > Services > Then scroll To PostgreSQL Database Server and make sure it’s started and if not Right click PostgreSQL Database Server and choose start

Most likely this will give an error like:
The postgreSQL Database service started then stopped, Some services stop automatically if they have no work to do...

When you get the error do the following:
Go to Control Panel > Admin Tools > Event Viewer > Windows Logs > Applications and in there for the time corresponding to the time you got the error starting the service you should see a postgreSQL error, copy and paste the details of the error into this thread

Lastly you do not need to delete all the text in that file, its fine if you do but you dont need to but make sure the following lines are in it:

127.0.0.1 localhost
::1 localhost

Kongo
03-13-2009, 05:59 AM
I had the same bug so I tried to do the fix...
But when I tried to save i got an error:

The file C:\Windows\System32\drivers\etx\hosts could not be created.

Check that the filename and path are correct....

So it couldnt be saved...

Any suggestions?

Appreciate it!

morny
03-13-2009, 11:57 AM
Disable UAC and try again http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=73

Shadowed
03-14-2009, 09:36 AM
Same problem here, but I even dont have etc folder and I cant find my hosts file to use the fix. What should I do?

PS: You should make some hotfix program to solve this issue, because tons of people can't play poker for now=(

morny
03-15-2009, 02:48 PM
You definetely should have a C:\Windows\System32\drivers\etc folder do you want to double check and post a screenshot of the drivers folder if you cant find it