Re: initdb fails at initializing pg_shadow
От | Joerg Brandt |
---|---|
Тема | Re: initdb fails at initializing pg_shadow |
Дата | |
Msg-id | 200105111412.f4BECPo12819@zeus.math.uni-bremen.de обсуждение исходный текст |
Ответ на | initdb fails at initializing pg_shadow (Joerg Brandt <jbrandt@math.uni-bremen.de>) |
Ответы |
Re: initdb fails at initializing pg_shadow
(Tom Lane <tgl@sss.pgh.pa.us>)
|
Список | pgsql-admin |
> 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! ========================================================================
В списке pgsql-admin по дате отправления: