Re: Postgres on AIX5.3 and AIX6.1 - Mailing list pgsql-bugs

From Chris Browne
Subject Re: Postgres on AIX5.3 and AIX6.1
Date
Msg-id 87iq58fkps.fsf@cbbrowne-laptop.afilias-int.info
Whole thread Raw
In response to Postgres on AIX5.3 and AIX6.1  (Liang Giap Wee <weelg@sg.ibm.com>)
Responses Re: Postgres on AIX5.3 and AIX6.1  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-bugs
pierce@hogranch.com (John R Pierce) writes:
> On 06/23/10 6:02 PM, Chris Browne wrote:
>> There is already an FAQ on issues relating to AIX. It is, in recent
>> versions, part of the documentation tree:
>>
>> <http://www.postgresql.org/docs/9.0/static/installation-platform-notes.html>
>>
>
> can I take this opportunity to point out a problem on that page?
>
> In "5.8.1.3. Internet address issues", the bit about ..
>
>     # ifconfig lo0 inet6 ::1/0 delete
>
>
> In 6.1, localhost may fail to come up at all when you next reboot
> after you do that. I had to recreate the ipv6 localhost before it
> would work correctly.   I haven't investigated any farther.

Here's a patch that makes this more version-sensitive.

diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml
index cd3755b..55d7329 100644
--- a/doc/src/sgml/installation.sgml
+++ b/doc/src/sgml/installation.sgml
@@ -2257,7 +2257,7 @@ kill `cat /usr/local/pgsql/data/postmaster.pid`
      would <quote>mysteriously</quote> not come up successfully.  This
      appears to be the result of unexpected behavior in the IPv6
      implementation.  It looks like PostgreSQL and IPv6 do not play
-     very well together at this time on AIX.
+     very well together on AIX 5.3.
     </para>

     <para>
@@ -2291,6 +2291,14 @@ hosts=local4,bind4
       </listitem>
      </itemizedlist>
     </para>
+
+    <warning> <para> This seemed to work on AIX version 5.3, but is
+    not an elegant solution to the problem.  Others have reported that
+    this removal of IPv6 support caused problems on AIX 6.1,
+    specifically that this <quote>solution</quote> caused loss of
+    localhost. </para>
+    </warning>
+
    </sect3>

    <sect3>
--
(format nil "~S@~S" "cbbrowne" "acm.org")
http://www3.sympatico.ca/cbbrowne/unix.html
In case you weren't aware, "ad homineum" is not latin for "the user of
this technique is a fine debater." -- Thomas F. Burdick

pgsql-bugs by date:

Previous
From: John R Pierce
Date:
Subject: Re: Postgres on AIX5.3 and AIX6.1
Next
From: Robert Haas
Date:
Subject: Re: Postgres on AIX5.3 and AIX6.1