Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 73FF3B5DBD6 for ; Thu, 11 Aug 2011 17:08:18 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 99794-10 for ; Thu, 11 Aug 2011 20:08:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outbound.afilias.info (outbound.afilias.info [69.46.124.26]) by mail.postgresql.org (Postfix) with ESMTP id 70E83B5D91F for ; Thu, 11 Aug 2011 17:08:12 -0300 (ADT) Received: from ms6.yyz2.afilias-ops.info ([10.50.129.112] helo=smtp.afilias.info) by outbound.afilias.info with esmtp (Exim 4.69) (envelope-from ) id 1QrbY1-0007Pe-3t for pgsql-admin@postgresql.org; Thu, 11 Aug 2011 20:08:09 +0000 Received: from mail-qy0-f171.google.com ([209.85.216.171]) by smtp.afilias.info with esmtps (TLSv1:RC4-SHA:128) (Exim 4.72) (envelope-from ) id 1QrbY1-0004V6-6W for pgsql-admin@postgresql.org; Thu, 11 Aug 2011 20:08:09 +0000 Received: by qyk36 with SMTP id 36so3475571qyk.9 for ; Thu, 11 Aug 2011 13:08:08 -0700 (PDT) Received: by 10.224.185.195 with SMTP id cp3mr50054qab.175.1313093288379; Thu, 11 Aug 2011 13:08:08 -0700 (PDT) Received: from [192.168.1.5] ([64.231.26.81]) by mx.google.com with ESMTPS id m7sm1791234qct.41.2011.08.11.13.08.05 (version=SSLv3 cipher=OTHER); Thu, 11 Aug 2011 13:08:05 -0700 (PDT) Message-ID: <4E4436A3.2090109@ca.afilias.info> Date: Thu, 11 Aug 2011 16:08:03 -0400 From: Steve Singer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 MIME-Version: 1.0 To: CS DBA CC: PG Admin Subject: Re: PostgreSQL fails to bind IPv6 socket at startup on AIX platform References: <4E441E5B.60004@consistentstate.com> In-Reply-To: <4E441E5B.60004@consistentstate.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.711 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.811 X-Spam-Level: X-Archive-Number: 201108/111 X-Sequence-Number: 38098 On 11-08-11 02:24 PM, CS DBA wrote: > Hi All; > > we're trying to get PostgreSQL configured on an AIX box (AIX version 5). > > After some digging & adding various paths to LD_LIBRARY_PATH (Thanks > to help from Tom Lane) we were able to complete the source based build. > However, when we try and start the db we get the following: > > > $ pg_ctl start > server starting > $ LOG: could not bind IPv6 socket: The socket name is already in use. > HINT: Is another postmaster already running on port 3116? If not, > wait a few seconds and retry. > > Have you tried a different port? Something else (other than postgresql) could be using port 3116. Failing that have you tried setting listen_address to only bind to an ipv4 address to see if it makes a difference? (I don't think I've ever tried ipv6 with postgresql on our AIX machines) > I've verified via 'ps' that there are no postgres processes running, > also there is no postmaster.pid file present in the $PGDATA dir > > Thoughts? > > Thanks in advance > >