Skip to forum
Solution for: "fail...
 
Notifications
Clear all

Solution for: "failed to establish a connection to '127.0.0.1' "

128 Posts
107 Users
0 Reactions
85.4 K Views
nikujin
Joined: 07.10.2008

works grate, thanks!!!


Reply
Quote
nttflox
Joined: 25.10.2007

Thank you, thank you, thank you


Reply
Quote
kasse1982
Joined: 08.10.2009

I found this on web so I thought that can be helpfull.

Solution: ("postgrespass" is the common Password people forget)

You can't retrieve your username and password, but you can edit the pg_hba.conf file so any username and password will work.

To edit the pg_hba.conf file, do the following:

1. Go to C:\Program Files\PostgreSQL\8.x\data, move the pg_hba file to your Desktop and open it with notepad.

2. Scroll to the bottom and change all md5 references to trust. Save and close the file.

3. Move the file back to the data folder.

4. Restart the PostgreSQL service: Control Panel → Administrative Tools → Services

Enjoy!


Reply
Quote

Thanks!


Reply
Quote

Hello,
Your post is great, as it helps making Elephant work. But following your advice, I did something really stupid, and you may want to add a line in the first post to help others not repeat my mistake.

I had PokerTracker installed on my computer, and when I uninstalled and deleted Postgre and all it had, I lost all my hands and all my stats I had in poker tracker. I never checked, but when it will import the hands from hand history, it will delete them. Is really frustrating to lose all your stats.


Reply
Quote

Hello , I have a problem :

"The Secondary Logon service is not running . This service is required for the installer to initialize the database. "

Thanks !:)


Reply
Quote
tfsantos
Joined: 20.01.2010

.


Reply
Quote

I need some clarification here: What does this fix do? Do I end up with a different version of PostgreSQL or is the username you emphasized on the key to success?


Reply
Quote
rohit3887
Joined: 07.07.2009

thnx


Reply
Quote

Anyone with some input on my question?


Reply
Quote

Hi 1raindog1,

to what fix exactly are you referring to?

thx,
L


Reply
Quote

I meant this very first post in the tread...

Originally posted by batmanbg
I had the same problem when I tried to install PokerStrategy Elephant. Now i will show you how i fixed the problem.

First step: Uninstall PostgreSQL
.
.
.
Second step: Install PostgreSQL
.
.
.
Third step: Enter your new username

Does the secret lie in a different version of PostgreSQL or is it vitaly important which username I pick? I ask because so far I have not been able to get elephant to run, always hit a brick wall with this very error.


Reply
Quote

Anyone?


Reply
Quote

Originally posted by martisPS

Originally posted by doublepump1
i have a problem when i am installing postgre in section INITIALIZE DATABASE CLUSTER

i changed the location and wrote the pasword but when i click next i have an error
THE SELECTED ENCODING IS NOT VALID FOT THE CHOSEN LOCALE

same problem to mee help!!!

check out this link. http://www.geekscribes.net/blog/2009/04/22/postgresql-database-cluster-initialisation-failed-solution/

hope it works.


Reply
Quote

It worked! Thanks so much!


Reply
Quote

Hi 1raindog1,

Originally posted by 1raindog1
I meant this very first post in the tread...

Originally posted by batmanbg
I had the same problem when I tried to install PokerStrategy Elephant. Now i will show you how i fixed the problem.

First step: Uninstall PostgreSQL
.
.
.
Second step: Install PostgreSQL
.
.
.
Third step: Enter your new username

Does the secret lie in a different version of PostgreSQL or is it vitaly important which username I pick? I ask because so far I have not been able to get elephant to run, always hit a brick wall with this very error.

Sorry, I totally missed your post here! - Nevertheless following the instructions above in this thread should have allowed you to configure the Postgre SQL Database Service correctly.

The point is you need to now the correct Postgre Super-User credentials in order to configure the Postgre SQL Database Service correctly.

If you don't know the credentials of an already existing Postgre configuration you have to remove Postgre and the associated Super-User from the system in order to be able to re-configure Postgre and a new Super-User from the scratch.

Bye,
L

PS: Please open new threads for your issues in the future (new ones are much easier to find ;) )


Reply
Quote

batmanbg, thanks you so much!!! Worked 100% as you told!


Reply
Quote
jmaric7
Joined: 22.02.2008

thanks for your help :))

Elephant is working now:))))


Reply
Quote
jmaric7
Joined: 22.02.2008

Helllo!

I followed instructions and it was succsess. (first time) Elephant crushed 2 days ago, and happened same problem. Now i can NOT sucessfully reinstall postgresSQL and Elephant. It keeps displaying "failed to establish a connection to '127.0.0.1' "

Help please.

I am running vista 32bit


Reply
Quote
RMB
RMB
Joined: 29.03.2008

Originally posted by iulian73
Hello , I have a problem :

"The Secondary Logon service is not running . This service is required for the installer to initialize the database. "

Thanks !:)

This means you have disabled the service.

Go into run cmd:

1) Type services.msc ( a new window will pop up) Services.

2) Now find Secondary Logon service and right click properties, change the disabled/manual into automatic.


Reply
Quote