Ok the lol is on me. Didn't thought of running pg_createcluster :) got
the cluster working but thanks for all the answers.
2010/9/28 Andrej <andrej.groups@gmail.com>:
> On 28 September 2010 18:03, Lukasz Brodziak <lukasz.brodziak@gmail.com> wrote:
>> 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"?
>
> In addition to Kasia's response: check the postgresql.conf to see
> which interfaces your instance is configured to use.
>
>
> Cheers,
> Andrej
>
--
Łukasz Brodziak
II MU Bioinformatyka