Re: Problems with fatal errors on startup of postmaster. - Mailing list pgsql-novice

From Tom Lane
Subject Re: Problems with fatal errors on startup of postmaster.
Date
Msg-id 19419.962384051@sss.pgh.pa.us
Whole thread Raw
In response to Problems with fatal errors on startup of postmaster.  ("Eric Naujock " <naujocke@abacusii.com>)
List 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

pgsql-novice by date:

Previous
From: "Eric Naujock "
Date:
Subject: Problems with fatal errors on startup of postmaster.
Next
From: bill@wadley.org
Date:
Subject: joining separate databases