pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joerg Brandt <jbrandt@math.uni-bremen.de>
To: pgsql-admin@postgresql.org
Subject: Re: initdb fails at initializing pg_shadow
Date: Fri, 11 May 2001 16:12:24 +0200
Message-ID: <200105111412.f4BECPo12819@zeus.math.uni-bremen.de> (raw)

> Joerg Brandt <jbrandt@math.uni-bremen.de> writes:
> > Is the following a bug or my mistake -- any hints?
> 
> Looks like a problem all right ... which PG version is this exactly?
Sorry, i forgot. postgresql version is 7.1.1, configure options are:
--prefix=/opt/pgsql
--with-tcl
--with-openssl=/usr/lib/ssl
--with-CXX

> 
> >> Initializing pg_shadow.
> 
> > initdb failed.
> > Removing temp file /tmp/initdb.11243.
> 
> Unfortunately initdb shoves all the output from the later steps straight
> to /dev/null, so you can't see what went wrong here.  Look in the initdb
> script and remove the "-o /dev/null" from PGSQL_OPT and the >/dev/null
> from the commands that set up pg_shadow, so that we can get more info.
> 

Done. Now i get:
....
> Initializing pg_shadow.
DEBUG:  database system was shut down at 2001-05-11 10:17:52 MEST
DEBUG:  CheckPoint record at (0, 176)
DEBUG:  Redo record at (0, 176); Undo record at (0, 0); Shutdown TRUE
DEBUG:  NextTransactionId: 514; NextOid: 16385
DEBUG:  database system is in production state
FATAL 1:  cannot open pg_class: No such file or directory
DEBUG:  shutting down
DEBUG:  database system is shut down

initdb failed.
Removing temp file /tmp/initdb.17219.

There is no  pg_class file in my postgresql installation path.
Even in the sources i only found this:
$ find . -name '*pg_class*' -print
./src/include/catalog/pg_class.h

O yes, i did all the rtfm.

-- 
Mit freundl. Gruss --- Best Regards
------------------------------------------------------------------------
Joerg Brandt c/o University of Bremen        | Phone: (+49)-421-218-9006
Mathemathics and Computer Science Dept.      | Fax:   (+49)-421-218-4863
PO Box 330440  D-28334 Bremen  Germany       | Telex: 0245811 unibr d
Local: Building MZH  Room 2390
System and network administrator for domain math.uni-bremen.de
------------------------------------------------------------------------
My PGP 2.6 key 2048/49847939 is available searching a public keyserver.
Key fingerprint = C9 CF 41 10 65 AA 2C 9F  07 36 30 FB 89 69 6D 5A.
========================================================================
UNIX _is_ user friendly - it's just selective about who its friends are!
========================================================================





view thread (4+ messages)  latest in thread

Message-ID: <200105111412.f4BECPo12819@zeus.math.uni-bremen.de>
Permalink:  ../200105111412.f4BECPo12819@zeus.math.uni-bremen.de/
Also on:    postgresql.org/message-id/200105111412.f4BECPo12819@zeus.math.uni-bremen.de

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jbrandt@math.uni-bremen.de
  Subject: Re: initdb fails at initializing pg_shadow
  In-Reply-To: <200105111412.f4BECPo12819@zeus.math.uni-bremen.de>
  References: <200105111412.f4BECPo12819@zeus.math.uni-bremen.de>

* 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