pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel J. Summers <daniel.lists@djs-consulting.com>
To: pgsql-admin@postgresql.org
Subject: Re: Ubuntu 10.04 - Cannot Create TCP/IP Sockets
Date: Wed, 05 May 2010 03:11:09 +0000
Message-ID: <4BE0E1CD.4090600@djs-consulting.com> (raw)
In-Reply-To: <11068.1272983067@sss.pgh.pa.us>
References: <4BDE46F4.4070401@djs-consulting.com>
	<1CA7FF980DA3824F9A5C31532B7A40DCCDCE01FD@LCXCLMB01.LCDS.LOC.GOV>
	<4BDEC707.1090403@gmail.com>
	<14337.1272894755@sss.pgh.pa.us>
	<4BDED7E2.5060304@djs-consulting.com>
	<15098.1272896449@sss.pgh.pa.us>
	<4BDFA003.2080706@djs-consulting.com>
	<11068.1272983067@sss.pgh.pa.us>

On 05/04/2010 02:24 PM, Tom Lane wrote:
>
> We might be able to learn something if you strace the postmaster
> while it's trying to start up with "localhost" as the setting.
> There will be a lot of output, so send it to a file.  Look for
> the bind() calls --- on my Linux box the relevant part of the
> trace looks like this:
>    

I did an "strace -o strace.txt /etc/init.d/postgresql-8.4 start" *, but 
the only "socket" that was in it was in the error message.  I modified 
/usr/share/postgresql-common/init.d-functions to add strace to the 
pg_ctlcluster call **, and there are lots of references to "socket", but 
it doesn't look like it's having much success.

* Output is at http://djs-consulting.com/strace.txt
** Output is at http://djs-consulting.com/pg_trace.txt


Daniel



view thread (13+ messages)  latest in thread

Message-ID: <4BE0E1CD.4090600@djs-consulting.com>
Permalink:  ../4BE0E1CD.4090600@djs-consulting.com/
Also on:    postgresql.org/message-id/4BE0E1CD.4090600@djs-consulting.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: daniel.lists@djs-consulting.com
  Subject: Re: Ubuntu 10.04 - Cannot Create TCP/IP Sockets
  In-Reply-To: <4BE0E1CD.4090600@djs-consulting.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