From: | Marcin Giedz <marcin(dot)giedz(at)eulerhermes(dot)pl> |
---|---|
To: | Marek Dabrowski <marek(dot)dabrowski(at)infor(dot)pl> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Lock file |
Date: | 2005-04-19 05:36:23 |
Message-ID: | 426498D7.5020802@eulerhermes.pl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Użytkownik Marek Dabrowski napisał:
> Hello
>
> I've server with two addresses IP on one net interface. I would like
> start on it two instances postgresql, eg: 192.168.1.2:5432 (7.4.6) and
> 192.168.1.3:5432 (8.0.2). But when try to start second one, postmaster
> write error that /tmp/.s.PGSQL.5432.lock alredy exist. How to avoid
> this problem?
>
Hi,
You have to change port parameter in postgresql.conf - default is 5432
so leave 5432 for first instance and change to 5433 for the second one.
That's all.
BR,
Marcin
> Regards
> Marek
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-04-19 06:09:01 | Re: Lock file |
Previous Message | Marek Dabrowski | 2005-04-19 05:28:57 | Lock file |