Re: PostgreSQL fails to bind IPv6 socket at startup on AIX platform

From: Steve Singer <ssinger(at)ca(dot)afilias(dot)info>
To: CS DBA <cs_dba(at)consistentstate(dot)com>
Cc: PG Admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: PostgreSQL fails to bind IPv6 socket at startup on AIX platform
Date: 2011-08-11 20:08:03
Message-ID: 4E4436A3.2090109@ca.afilias.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Greg Smith 2011-08-11 21:37:44 Re: replication from Oracle to PostgreSQL?
Previous Message Lonni J Friedman 2011-08-11 20:03:14 streaming replication questions