From: Marcin Giedz <marcin.giedz@eulerhermes.pl>
To: Marek Dabrowski <marek.dabrowski@infor.pl>
Cc: pgsql-admin@postgresql.org
Subject: Re: Lock file
Date: Tue, 19 Apr 2005 07:36:23 +0200
Message-ID: <426498D7.5020802@eulerhermes.pl> (raw)
In-Reply-To: <42649719.2040005@infor.pl>
References: <42649719.2040005@infor.pl>
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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: marcin.giedz@eulerhermes.pl, marek.dabrowski@infor.pl
Subject: Re: Lock file
In-Reply-To: <426498D7.5020802@eulerhermes.pl>
References: <42649719.2040005@infor.pl> <426498D7.5020802@eulerhermes.pl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox