| From: | "Daniel J(dot) Summers" <daniel(dot)lists(at)djs-consulting(dot)com> |
|---|---|
| To: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: Ubuntu 10.04 - Cannot Create TCP/IP Sockets |
| Date: | 2010-05-05 03:11:09 |
| Message-ID: | 4BE0E1CD.4090600@djs-consulting.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | raha sadeghi | 2010-05-05 07:31:03 | help me on creation cube |
| Previous Message | Tom Lane | 2010-05-04 20:09:12 | Re: Statistics collector port / unix dom. socket? |