Windows 7... Unable to 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

Windows 7... Unable to connect

Postby kgpoker » Thu Mar 11, 2010 7:21 am

I recently installed windows 7 and receiving this message when attempting to open pt3:

"Unable to create PostgreSQL database: PT3_2010_03_11_060613
Reason: Unable to login to database (template1). Reason: could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "???" and accepting TCP/IP connections on port 5432? "

help please so confused.
kgpoker
 
Posts: 4
Joined: Wed Sep 30, 2009 7:21 pm

Re: Windows 7... Unable to connect

Postby kraada » Thu Mar 11, 2010 9:55 am

Was PostgreSQL installed when you installed PT3? That message indicates that the PostgreSQL server is not running.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Windows 7... Unable to connect

Postby kgpoker » Thu Mar 11, 2010 5:10 pm

well i followed the instructions to manually uninstall and reinstall postgres. I successfully uninstalled postgres, however, i get an error when i try to launch the postgresSQL-8.3.msi installer:

"This installation package could not be opened. Verify that the package exists and that you can access it, or contact application vendor to verify that this is a valid Windows Installer package."

wtf is going on here.
kgpoker
 
Posts: 4
Joined: Wed Sep 30, 2009 7:21 pm

Re: Windows 7... Unable to connect

Postby kraada » Thu Mar 11, 2010 5:44 pm

You have to drag the files out of that folder to unzip them - you can't run the installer while it's still in the zip.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Windows 7... Unable to connect

Postby kgpoker » Fri Mar 12, 2010 3:57 am

Ok im getting closer...
during the setup at the 'Initialize database cluster' screen, i click next and receive the message:

"The 'Secondary Logon' service is not running. This service is required for the installer to initialize the database. Please start this service and try again."

I am logged into the windows administrator's account, and deleted the previous postgres service account using the cmd prompt.

what am I doing wrong this time?
kgpoker
 
Posts: 4
Joined: Wed Sep 30, 2009 7:21 pm

Re: Windows 7... Unable to connect

Postby kraada » Fri Mar 12, 2010 9:47 am

Click Start, type services.msc and hit enter. At the box that comes up, find the Secondary Logon service on the box on the right, right click it and click Properties. Change it from Manual to Automatic (in the drop down box) and click the Start button.

Then re-run the installer and it should complete for you.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests