Page 1 of 2
PT3 not starting

Posted:
Sun Apr 15, 2012 2:07 pm
by markotm
When trying to open PT3 the oval is visible for a long time and then I get this "error connecting to the default database". It asks me to choose one of the two databases but they are both grey / not available for choosing. Please advice - I have not changed anything since my last use of PT3.
Re: PT3 not starting

Posted:
Mon Apr 16, 2012 3:19 am
by WhiteRider
Is the PostgreSQL service running?
Click Start and type services.msc.
Do you see PostgreSQL in the list?
Is it started, or can you start it?
Re: PT3 not starting

Posted:
Mon Apr 16, 2012 4:16 am
by markotm
It seems to me that the PostgreSQL is not running, no idea why not. When I try to start it I get this error message (I relly don´t know how this would be in english, I try to translate it as straight as possible)
"Service postgresql-x64-9.0 - PostgreSQL Server 9.0 at local computer could not be started
Error 3: Can´t find the path determined"
Re: PT3 not starting

Posted:
Mon Apr 16, 2012 8:44 am
by kraada
Click Start, type Event Viewer and click on it when it appears. In the top left expand the options and in the Applications section look for errors relating to PostgreSQL - what is the error text in the bottom center panel? It should be a bit more specific.
Re: PT3 not starting

Posted:
Mon Apr 16, 2012 9:43 am
by markotm
There seems to be two different errors during the last day when I have tried to open PT3, here are the texts I could find:
- pg_ctl: PID file "C:/Program Files/PostgreSQL/9.0/data/postmaster.pid" does not exist
- Is server running?
Re: PT3 not starting

Posted:
Mon Apr 16, 2012 9:49 am
by markotm
I was also adviced - on another forum - to try to start PostgreSQL with PgAdmin. When I tried to do that, here is what I got:
Server doesn't listen
The server doesn't accept connections: the connection library reports
could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" and accepting TCP/IP connections on port 5432?
If you encounter this message, please check if the server you're trying to contact is actually running PostgreSQL on the given port. Test if you have network connectivity from your client to the server host using ping or equivalent tools. Is your network / VPN / SSH tunnel / firewall configured correctly?
For security reasons, PostgreSQL does not listen on all available IP addresses on the server machine initially. In order to access the server over the network, you need to enable listening on the address first.
For PostgreSQL servers starting with version 8.0, this is controlled using the "listen_addresses" parameter in the postgresql.conf file. Here, you can enter a list of IP addresses the server should listen on, or simply use '*' to listen on all available IP addresses. For earlier servers (Version 7.3 or 7.4), you'll need to set the "tcpip_socket" parameter to 'true'.
You can use the postgresql.conf editor that is built into pgAdmin III to edit the postgresql.conf configuration file. After changing this file, you need to restart the server process to make the setting effective.
If you double-checked your configuration but still get this error message, it's still unlikely that you encounter a fatal PostgreSQL misbehaviour. You probably have some low level network connectivity problems (e.g. firewall configuration). Please check this thoroughly before reporting a bug to the PostgreSQL community.
All I had guts to do was to look into that postgresql.conf and there was listen_addresses"*"
Re: PT3 not starting

Posted:
Mon Apr 16, 2012 12:23 pm
by kraada
That file should be being created when PostgreSQL is started. Click Start --> My Computer and go to C:\Program Files (x86)\PostgreSQL\9.0\data\ if you can - do you see that directory? Do you see any postmaster files in it?
Re: PT3 not starting

Posted:
Mon Apr 16, 2012 1:56 pm
by markotm
kraada wrote:That file should be being created when PostgreSQL is started. Click Start --> My Computer and go to C:\Program Files (x86)\PostgreSQL\9.0\data\ if you can - do you see that directory? Do you see any postmaster files in it?
If I follow the path You wrote, in C:\Program Files (x86)\PostgreSQL\ I find only a folder called "EnterpriseDB-TuningWizard
If I go without the (x86) to C:\Program Files\PostgreSQL\9.0\data\ I find a file called postmaster.opts
Re: PT3 not starting

Posted:
Mon Apr 16, 2012 2:10 pm
by kraada
Ok, no postmaster.pid though?
Re: PT3 not starting

Posted:
Mon Apr 16, 2012 2:17 pm
by markotm
kraada wrote:Ok, no postmaster.pid though?
Nope, postmaster.opts was the only one I could find