pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Control File Context is Broken 2+ messages / 2 participants [nested] [flat]
* Control File Context is Broken @ 2002-01-12 05:55 Andrew M. Danneffel <adanneffel@atomation.ca> 0 siblings, 1 reply; 2+ messages in thread From: Andrew M. Danneffel @ 2002-01-12 05:55 UTC (permalink / raw) To: pgsql-admin Hi there, I'm a newbie at PostgreSQL but as I'm administering a server that runs it I figured this would be the best list to send my question to. The server is a cobalt RaQ4 running Red Hat Linux. Here is the problem: The cobalt system stores critical data in a PostgreSQL database. Earlier today functions using PostgreSQL went offline and upon exploration I realized that the postgresql server could not initialize. When I try to start postgresql - via /etc/rc.d/init.d/postgresql start - I'm given an error message reading: "Setting up PostgreSQL: failed!" I checked the log files and there are a handful of the following errors in it: 020111.16:00:01.144 [7651] DEBUG: Data Base System is starting up at Fri Jan 11 16:00:01 2002 020111.16:00:01.144 [7651] FATAL 2: Control file context is broken 020111.16:00:01.144 [7651] FATAL 2: Control file context is broken Startup failed - abort 020111.16:06:44.496 [8391] DEBUG: Data Base System is starting up at Fri Jan 11 16:06:44 2002 020111.16:06:44.496 [8391] FATAL 2: Control file context is broken 020111.16:06:44.496 [8391] FATAL 2: Control file context is broken Startup failed - abort I figured I'd try and activate the postmaster, back up the DB, and try creating a new one. However, postmaster would not launch either, and I was prompted with the same error above. I'm not quite sure what I need to do to repair this problem. If someone could give me some direction it would be very much appreciated! Thanks, Andrew ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Control File Context is Broken @ 2002-01-12 06:56 Tom Lane <tgl@sss.pgh.pa.us> parent: Andrew M. Danneffel <adanneffel@atomation.ca> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2002-01-12 06:56 UTC (permalink / raw) To: Andrew M. Danneffel <adanneffel@atomation.ca>; +Cc: pgsql-admin "Andrew M. Danneffel" <adanneffel@atomation.ca> writes: > The server is a > cobalt RaQ4 running Red Hat Linux. A version number for Postgres would be the useful tidbit here. > 020111.16:00:01.144 [7651] FATAL 2: Control file context is broken This error indicates that one of three fields in pg_control has a bogus value. The only failures hereabouts that we've heard reported from the field involve a silly timestamp. Is it possible that the system clock was set to a silly value (ie, < 1970) last time you shut down? If so, you could recover by commenting out the relevant check in src/backend/access/transam/xlog.c. regards, tom lane ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-01-12 06:56 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2002-01-12 05:55 Control File Context is Broken Andrew M. Danneffel <adanneffel@atomation.ca> 2002-01-12 06:56 ` Tom Lane <tgl@sss.pgh.pa.us>
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