Re: Cannot connect remotely to postgresql

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Willem Buitendyk <willem(at)pcfish(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Cannot connect remotely to postgresql
Date: 2012-01-19 20:52:00
Message-ID: 4F188270.9060405@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 19/01/2012 20:40, Willem Buitendyk wrote:
> I tried manually starting without the service automatically running
> using pg_ctl start -D "c:\program files (x86)\etc etc" which
> reported back that i might have another postmaster running. I then
> did pg_ctl reload -D "c:\program files (x86)\etc etc" and it sent a
> signal and voila it worked. I have since put everything back to
> having the postgresql service start automatically upon machine
> startup and its back to not working. In fact, when I run pg_ctl
> status from a fresh boot with the postgresql service automatically
> starting I get the return message of: pg_ctl: no server running.

So are you saying that the PostgreSQL service isn't starting up
automatically on system boot, even though it's set to? If so, you need
to check the Windows event log and the Postgres logs to find the reason.

The fact that it works for you when logged in, but not at system boot,
smells to me like a permissions problem... but I'm not an expert.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Johnston 2012-01-19 22:56:00 Re: How to improve my slow query for table have list of child table?
Previous Message Willem Buitendyk 2012-01-19 20:40:33 Re: Cannot connect remotely to postgresql