From: Chris Browne <cbbrowne@acm.org>
To: pgsql-admin@postgresql.org
Subject: Re: Database port changing issue
Date: Fri, 09 Jun 2006 10:22:40 -0400
Message-ID: <60d5diwgr3.fsf@dba2.int.libertyrms.com> (raw)
References: <20060609133051.51979.qmail@web31010.mail.mud.yahoo.com>
<f7f6b4c70606090639r4048f8av5cf26eaf1d2e836c@mail.gmail.com>
gbarosio@gmail.com ("Guido Barosio") writes:
> That's because your listen_addresses parameter points to localhost,
> and that means that your will listen for connections through unix
> sockets instead of via TCP/IP.
>
> In order to change this, you'll need to replace the string localhost
> with the proper value. (A bad habit, to replace the 'localhost' with a
> '*').
>
> Read the man page :)
>
> # - Connection Settings -
> listen_addresses = 'localhost' # what IP address(es) to listen on;
>
> # Would be something like:
> listen_addresses = '*'
We found that listen_addresses='*' turned out fairly badly on AIX
5.3...
When we did so, the stats collector wouldn't start up, and there would
be complaints about trying to open port 5432 multiple times.
This appeared to relate to IPv6; evidently, PostgreSQL would try to
open up a socket on both the IPv4 and IPv6 addresses, and this somehow
conflicted.
Interestingly, 'localhost' would also fall prey to this; evidently
that can be multiply interpreted in both IPv4 and IPv6. '
We had no difficulties when we set up a list of specific IPv4
addresses...
--
select 'cbbrowne' || '@' || 'cbbrowne.com';
http://cbbrowne.com/info/internet.html
When ever in doubt consult a song. --JT Fletcher
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: cbbrowne@acm.org
Subject: Re: Database port changing issue
In-Reply-To: <60d5diwgr3.fsf@dba2.int.libertyrms.com>
References: <20060609133051.51979.qmail@web31010.mail.mud.yahoo.com> <f7f6b4c70606090639r4048f8av5cf26eaf1d2e836c@mail.gmail.com> <60d5diwgr3.fsf@dba2.int.libertyrms.com>
* 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