Re: how to use pg_resetxlog

From: "Johnson, Shaunn" <SJohnson6(at)bcbsm(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: how to use pg_resetxlog
Date: 2003-10-21 06:44:50
Message-ID: 73309C2FDD95D11192E60008C7B1D5BB05FEDACC@snt452.corp.bcbsm.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

--Thanks to all that replied

--I did the pg_resetxlog -f $PGDATA and
--it generated a new log, but when I try to
--restart the database, it fails. I look in the
--logs and I see:

[snip]
Oct 21 01:32:13 localsvr postgres[2598]: [1] FATAL 2:
control file context is broken
Oct 21 01:32:14 localsvr postgresql: Starting postgresql
service: failed
[/snip]

--There doesn't seem to be much info in groups.google.com
--about this message. What does this mean and how can
--I fix the DB (so I can dump it into a new version)?

--Thanks!

[snip from past email]
This past weekend, the RAID array took a hit and crashed
the database. I get a few errors like:
[snip]
DEBUG: invalid secondary checkpoint record
FATAL 2: unable to locate a valid checkpoint record
DEBUG: proc_exit(2)
DEBUG: shmem_exit(2)
DEBUG: exit(2)
DEBUG: reaping dead processes
DEBUG: startup process (pid 23543) exited with exit code 2
DEBUG: aborting startup due to startup process failure
[/snip]

[/snip from past email]

-X

Responses

Browse pgsql-general by date

  From Date Subject
Next Message tmaus 2003-10-21 07:13:17 jboss postgresql pk generation
Previous Message Shridhar Daithankar 2003-10-21 06:08:05 Re: Recomended FS