Re: initdb fails at initializing pg_shadow

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joerg Brandt <jbrandt(at)math(dot)uni-bremen(dot)de>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: initdb fails at initializing pg_shadow
Date: 2001-05-11 19:38:03
Message-ID: 6621.989609883@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Joerg Brandt <jbrandt(at)math(dot)uni-bremen(dot)de> writes:
> FATAL 1: cannot open pg_class: No such file or directory

Curious. Looking back at your previous trace, I realize that
the first invocation of postgres -boot (which should have created
pg_class) produced no debugging output except for the XLOG startup
messages. With -d, there should have been reams of output.

I wonder whether something funny happened to your template1.bki file.
There should be about 2600 lines of stuff in it --- what do you actually
see there? Also, you might want to go to pgsql/src/backend/catalog/ and
do "make clean; make template1.bki" to watch the creation of the file
more carefully; see if any error is reported. The .bki files are built
using sed, awk, and a few other tools that maybe you have nonstandard
versions of.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message benoit.le-dizes@voila.fr 2001-05-11 20:43:11 RE : Logs
Previous Message Lamar Owen 2001-05-11 16:32:02 Re: logs file