Re: Lock file - Mailing list pgsql-admin

From Tom Lane
Subject Re: Lock file
Date
Msg-id 17984.1113890941@sss.pgh.pa.us
Whole thread Raw
In response to Lock file  (Marek Dabrowski <marek.dabrowski@infor.pl>)
List pgsql-admin
Marek Dabrowski <marek.dabrowski@infor.pl> writes:
> 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?

Use two different port numbers.

            regards, tom lane

pgsql-admin by date:

Previous
From: Marcin Giedz
Date:
Subject: Re: Lock file
Next
From: Bruno Wolff III
Date:
Subject: Re: brute force attacking the password