pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PostgreSQL fails to bind IPv6 socket at startup on AIX platform
2+ messages / 2 participants
[nested] [flat]

* PostgreSQL fails to bind IPv6 socket at startup on AIX platform
@ 2011-08-11 18:24  CS DBA <cs_dba@consistentstate.com>
  0 siblings, 1 reply; 2+ messages in thread

From: CS DBA @ 2011-08-11 18:24 UTC (permalink / raw)
  To: pgsql-admin

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.


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


-- 
---------------------------------------------
Kevin Kempter       -       Constent State
A PostgreSQL Professional Services Company
           www.consistentstate.com
---------------------------------------------




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: PostgreSQL fails to bind IPv6 socket at startup on AIX platform
@ 2011-08-11 20:08  Steve Singer <ssinger@ca.afilias.info>
  parent: CS DBA <cs_dba@consistentstate.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Steve Singer @ 2011-08-11 20:08 UTC (permalink / raw)
  To: CS DBA <cs_dba@consistentstate.com>; +Cc: 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
>
>




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2011-08-11 20:08 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-08-11 18:24 PostgreSQL fails to bind IPv6 socket at startup on AIX platform CS DBA <cs_dba@consistentstate.com>
2011-08-11 20:08 ` Steve Singer <ssinger@ca.afilias.info>

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