Re: installation(pg_depend) problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: HS <mhossein(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: installation(pg_depend) problem
Date: 2005-11-16 15:02:44
Message-ID: 5739.1132153364@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

HS <mhossein(at)gmail(dot)com> writes:
> creating template1 database in /usr/local/Robust/pgsql/data/base/1 ... ok
> initializing pg_shadow ... ok
> enabling unlimited row size for system tables ... ok
> initializing pg_depend ... cannot connect : Connection refused
> child process exited with exit code 1

That's completely bizarre. There isn't anything the pg_depend step does
that's very different from stuff already done in the earlier steps.
Also, I can't find the string "cannot connect" anywhere in the PG source
code, so it's not apparent where the error is coming from ... somewhere
down in glibc maybe?

You might try running the initdb process under "strace -f -o logfile" to
see if you can get more info. The output will probably be voluminous,
so don't post it all; but the last few hundred lines might yield a clue
as to what the code is doing when it fails.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bill Moseley 2005-11-16 15:12:41 Re: Wrong rows selected with view
Previous Message Martijn van Oosterhout 2005-11-16 14:47:54 Re: shouldn't postgres know the numer of rows in a (sorted) result-set before returning the first row?