PDA

View Full Version : Failed to establish a connection to 127.0.0.1



wrapitup
01-13-2011, 11:46 AM
This error prevents HEM from opening, and I've never seen this before I installed 1.11.05e (from .05d).

PostgreSQL 8.4

mrrightotime
01-13-2011, 06:52 PM
Had the same error too. After i tried to get Postgres running in my LAN.

i uninstalled HeM AND postgres COMPLETE, looked in every folder to find any files the uninstallprocess has left behind. But there were none. Just in the registy i think were some f***** words that made my reinstallation failing every time. Well the installation worked fine but i always encountered the same error as itried to start Hem. In the end i gave up and reinstalled win7 64 (its not that complicated anymore since this usb/dvd tool - about 1 or 2 hours). Now HeM works.

But i wonder why i got this message. :confused: I'm really curious about it.

greets

netsrak
01-14-2011, 04:23 AM
The message just means that the postgresql service is not running at the moment. This is usually caused by windows updates or other updates.
Please don't remove or uninstall anything as first try.

Solutions:
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. Check the postgresql service in the windows services (control panel->administration). Sometimes it helps to change the Logon As.. to "local system account"
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+)

mrrightotime
01-14-2011, 04:31 AM
goddamn :eek: i had to reimport my hands cause i had no clue about how to get this to work. It took me 3 days. Me is a dumb. :D:D:D

Thanks for help. Next time i think/ask before i act...

EDIT:

hehe... netsrak irgendwoher kenn ich dich^^

Pureman
01-14-2011, 09:10 AM
I'm getting the same error: "Failed to establish a connection to 127.0.0.1" after installing 1.11.05e. I didn't change anything else and did not have the problem before. For som reason I can't even find the postmaster.pid file in the data folder, even tho I can see hidden files.

Pureman
01-14-2011, 10:06 AM
apparently I'm unable to start my postgres service all of the sudden. So weird

netsrak
01-14-2011, 10:35 AM
If you can't figure it out with the steps i posted above 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 Teamviewer (http://www.holdemmanager.net/teamviewer) session.

Pureman
01-14-2011, 06:21 PM
ty netsrak. Out of nowhere HEM works again.

So no real fix but it is working now. Thx for the support.:D

davenhem
01-14-2011, 10:48 PM
apparently I'm unable to start my postgres service all of the sudden. So weird
me too, today. Strange stuff.

Sarek
01-15-2011, 04:59 AM
Go to Start > Programs (or all programs) > PostgreSQL 8.x > choose Stop Service

Start > Programs (or all programs) > PostgreSQL 8.x and choose Start Service. This may take some time and a black dos window may appear while it’s starting. If it fails to start delete the C:\Program Files\postgresql\8.x\data\postmaster.pid file, if you see it. Do not delete any other files

Sptfr
01-15-2011, 07:27 AM
rebooting my pc always works for me

netsrak
01-15-2011, 11:43 AM
Yep, either that or restarting the postgresql service should always be the 1st try.

davenhem
01-16-2011, 03:52 AM
.pid file fix worked - thanks heaps!

outofmoney
01-16-2011, 11:22 PM
none of these have worked for me. The trial worked fine then worked 1 day after purchasing it, after that I get the same error no mater what I do. Failed to establish a connection to 127.0.0.1

please help. I'm using windows 7

adore
01-17-2011, 02:25 PM
where is the .pid file on a Mac? Everythink was working in the morning and now im unable to connect :/

Sarek
01-17-2011, 02:27 PM
if you have Postgres installed under Windows emulator - it is in Postgresql\data folder

adore
01-17-2011, 02:30 PM
Postgres is running on Mac OS & HoldemManager under the Windows emulator.. I did not even update to the 1.11.05e still using 05d and changed nothing

netsrak
01-19-2011, 12:43 PM
Can you connect to the postgresql server via pgadmin under the mac and under Windows? pgAdmin: PostgreSQL administration and management tools (http://www.pgadmin.org)

netsrak
01-19-2011, 12:43 PM
Can you connect to the postgresql server via pgadmin under the mac and under Windows? pgAdmin: PostgreSQL administration and management tools (http://www.pgadmin.org)

adore
01-20-2011, 05:47 AM
i can connect to the postgresql servervia pgadmin under mac, but not under windows
my windows VM ip is 10.211.55.3
so i added "host all all 10.211.55.3/32 md5" to my pg_hba.conf

adore
01-20-2011, 06:00 AM
found the mistake, holdemmanager wanted to connect to 127.0.0.1 but my host ip is 10.211.55.2.. thank you for your help & sorry :)

TrumpinJoe
03-13-2011, 02:46 PM
The message just means that the postgresql service is not running at the moment. This is usually caused by windows updates or other updates.
Please don't remove or uninstall anything as first try.

Solutions:
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. Check the postgresql service in the windows services (control panel->administration). Sometimes it helps to change the Logon As.. to "local system account"
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+)
After upgrading from Vista-64bit to Win7-64bit I get the "Failed to establish a connection to 127.0.0.1" error message. Multiple reboots did not solve the problem, neither did turning off UAC. There is no hidden file postmaster.pid in the data subdir. Also postgresql is not listed under services.

What else could be happening? Is there something to try before doing a combo reinstall?

Patvs
03-14-2011, 04:01 AM
Reinstall PostgreSQL using the installer from PostgreSQL: The world's most advanced open source database (http://www.postgresql.org)
Try both 8.4.7 and 9.0.3. If either won't install try 8.2.x

TrumpinJoe
03-14-2011, 11:51 AM
Reinstall PostgreSQL using the installer from PostgreSQL: The world's most advanced open source database (http://www.postgresql.org)
Try both 8.4.7 and 9.0.3. If either won't install try 8.2.x
Tried 8.4.7 and I get a bad password error during install. I checked my records and the password I used in correct.

Could the password have been corrupted during the upgrade to Win7? Can the password be recovered or reset somehow?

Patvs
03-14-2011, 12:21 PM
click on Start and go to Programs -> Accessories -> Command Prompt

* If you are on Vista, rightclick and choose "Run as Administrator".


A black box should appear. Type 'net user postgres /delete' (without the quotes) and press enter.

The postgres user is now deleted and you can (re)install PostgreSQL. And it will accept ANY password. Use: postgrespass