PostgreSQL Won't Connect

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

PostgreSQL Won't Connect

Postby cbe2869 » Fri Jul 10, 2009 9:37 pm

Followed all instructions to install 8.3 with UAC turned off. Everything installed correctly but will not connect. I keep getting

Server doesn't listen.

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

I've tried stopping and restarting the service. Nothing. Please help. Very frustrated. Thanks.
cbe2869
 
Posts: 6
Joined: Thu Aug 28, 2008 1:52 am

Re: PostgreSQL Won't Connect

Postby WhiteRider » Sat Jul 11, 2009 4:14 am

What firewall are you using? Some of them can prevent the postgres service from starting or working correctly.
Try disabling your firewall temporarily while you start PT3.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: PostgreSQL Won't Connect

Postby cbe2869 » Sat Jul 11, 2009 4:46 am

Just Windows firewall. I turn it off and nothing. When I start PT it just says

Unable to connect to the database.

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?
cbe2869
 
Posts: 6
Joined: Thu Aug 28, 2008 1:52 am

Re: PostgreSQL Won't Connect

Postby WhiteRider » Sat Jul 11, 2009 4:53 am

Do you have any postgres processes in Task Manager > Processes?
If not, go to Start > Programs > Postgres > Start Service.
Do you see any now?

If not, then something is preventing postgres from starting.
Please select the last few files in C:\Program Files\PostgreSQL\8.3\data\pg_log (they're dated so just pick the recent ones), right-click and choose 'Send To Compressed/zipped Folder', then attach the zip file to a ticket on the Support system, and link to this thread in the reference field of the ticket so that we can investigate.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: PostgreSQL Won't Connect

Postby cbe2869 » Sat Jul 11, 2009 5:35 am

Nothing running under processes. When I try to start the service a prompt window opems for a split second, then closes, and still nothing running under processes. I'll send the files in a support ticket.
cbe2869
 
Posts: 6
Joined: Thu Aug 28, 2008 1:52 am

Re: PostgreSQL Won't Connect

Postby cbe2869 » Sat Jul 11, 2009 5:50 am

It won't even let me open the individual pg_log files. It says access denied. The last file is from 6-4-09.
cbe2869
 
Posts: 6
Joined: Thu Aug 28, 2008 1:52 am

Re: PostgreSQL Won't Connect

Postby WhiteRider » Sat Jul 11, 2009 6:00 am

That really sounds like a permissions issue - are you sure you had UAC disabled when you re-installed, and that you're running postgres as administrator?

Please schedule a remote assistance session where someone can logon to your computer with you and directly troubleshoot/resolve the issue.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: PostgreSQL Won't Connect

Postby cbe2869 » Sat Jul 11, 2009 6:59 am

Had UAC turned off the whole time. I'm trying uninstalling everything and reinstalling one more time. When reinstalling now though I'm getting something that when it says activating procedural languages it says

Error
Failed to connect to the database. Procedural languages files are installed but are not activated in any databases.
cbe2869
 
Posts: 6
Joined: Thu Aug 28, 2008 1:52 am

Re: PostgreSQL Won't Connect

Postby WhiteRider » Sat Jul 11, 2009 7:49 am

I'm not an expert in this - did you follow the directions in this post? How to reinstall Postgres
Are you installing the English version of postgres?
If you request a remote session one of our postgres experts will help you out.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

JHH Re: PostgreSQL Won't Connect

Postby SugarHooves » Sun Jul 26, 2009 10:13 pm

Hi,

I have PT2 version v2.17.03b.

Getting same error message of:

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?

but different background, i.e.: there is no pg_log more current than 7/12/09. Why? Because ...

Have had all my poker related software apps/data installed on secondary drive, called 'F Fran' for 5 years plus. Make incremental backups daily of everything on this 'F Fran' hard drive. The 'F Fran' hard drive crashed. Minor sweat I thought, because of full backup. Great opp to get better hard rive.

Got new hard drive. Copied everything over from backup to new hard drive with same name. Everything appears the same but ...

After Start Postgres service and then start PokerTracker v2 continue to get the same error message as shown above.

I have gone manually to 'services.msc' and Postgre service was set to Manual. Even after I 'Start' it, no change, same error message in PT2.

Ideas? Suggestions?

Thanks.

John
SugarHooves
 
Posts: 38
Joined: Sun Mar 09, 2008 12:23 am

Next

Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 43 guests

cron