I do not have an ubuntu environment so my answer is general rather than specific, but the error message you are asking about is the general message postgres gives you when you can not connect to it, I have seen it on windows and linux with all of the versions of postgres I have worked with, the reasons may vary, from pg_hba not altered (most often the case for me) to postgres running on a different port. You may look around for a more specific error message.
From: pgsql-novice-owner(at)postgresql(dot)org [mailto:pgsql-novice-owner(at)postgresql(dot)org] On Behalf Of Lukasz Brodziak
Sent: Monday, September 27, 2010 10:03 PM
Subject: [NOVICE] PostgreSQL 8.4 won't start
I have come accross a strange thing. I had to reinstall Ubuntu and
after I installed PostgreSQL (using apt-get install postgresql-8.4)
when I tried to configure the password I got "Cannot connect to
server. Is server running locally and accepting connections on Unix
port 5432"? I never had such problem with PG before (I had 8.4.4
installed before the reinstallation of the system) I admit I haven't
checked the logs or anything as it was very late at night and also I
thought that it's too strange to be a typical situation like
postmaster.pid issue (missing file or bogus data in postmaster.pid).
Have anyone had such problems with PostgreSQL 8.4?
Sent via pgsql-novice mailing list (pgsql-novice(at)postgresql(dot)org)
To make changes to your subscription:
In response to
pgsql-novice by date
|Next:||From: Andrej||Date: 2010-09-28 20:14:36|
|Subject: Re: PostgreSQL 8.4 won't start|
|Previous:||From: Josh Kupershmidt||Date: 2010-09-28 15:21:29|
|Subject: Re: Timestamp confusion|