Re: Problems with fatal errors on startup of postmaster.

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Eric Naujock " <naujocke@abacusii.com>
Cc: pgsql-novice@postgresql.org
Date: 2000-06-30T16:54:11Z
Lists: pgsql-novice
"Eric Naujock " <naujocke@abacusii.com> writes:
> How do I fix this.

> [postgres@aries bin]$ ./postmaster -i
> DEBUG:  Data Base System is starting up at Fri Jun 30 11:06:24 2000
> FATAL 2:  Control file context is broken
> FATAL 2:  Control file context is broken
> Startup failed - abort
> [postgres@aries bin]$

Hmm.  Your pg_control file is messed up, apparently.  Not sure how it
could have gotten that way; this is the first report of such a failure
that I can recall hearing about.

Probably your best bet for fixing this is to initdb a fresh database
directory and then use pg_upgrade to move your existing user data into
the new database.  Read the pg_upgrade directions *carefully* --- it's
a little bit tricky to use correctly.

			regards, tom lane