From: ms@it-infrastrukturen.org
To: pgsql-bugs@postgresql.org
Subject: BUG #6689: socket file name convention doesn't allow different IPs and the same port for different pgclusters
Date: Tue, 12 Jun 2012 18:45:04 +0000
Message-ID: <E1SeW5Q-0003up-3S@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 6689
Logged by: Mark
Email address: ms@it-infrastrukturen.org
PostgreSQL version: 9.1.3
Operating system: unbuntu-server 12.04 LTS
Description:
When using /var/run/postgresql/ as unix_socket_directory for "main" and
"second" pgcluster and different IP-interfaces (addresse) for every
pgcluster (but the same default port number), there are different pid file
names (like 9.1-main.pid and 9.1-secondpg.pid) *but* names of unix_sockek
files doesn't follow such name conventions.
It results in error when trying to run the second pgcluster with another IP
but the same (default port 5432):
Error: Port conflict: another instance is already running on on
/var/run/postgresql with port 5432
regards, Mark
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-bugs@postgresql.org
Cc: ms@it-infrastrukturen.org
Subject: Re: BUG #6689: socket file name convention doesn't allow different IPs and the same port for different pgclusters
In-Reply-To: <E1SeW5Q-0003up-3S@wrigleys.postgresql.org>
References: <E1SeW5Q-0003up-3S@wrigleys.postgresql.org>
* 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