From: David Wall <d.wall@computer.org>
To: pgsql-admin@postgresql.org
Subject: Re: WAL recovery, stop and resume recovery?
Date: Fri, 11 Jan 2008 12:28:17 -0800
Message-ID: <4787D161.9000000@computer.org> (raw)
In-Reply-To: <4787C7A7.3000503@computer.org>
References: <4787C7A7.3000503@computer.org>
> LOG: database system was shut down at 2008-01-11 11:40:05 PST
> LOG: starting archive recovery
> LOG: restore_command = "~/postgresql/bin/pg_standby -l -d -s 2 -k 20
> -t ~/postgresql/restoreWALs/STOP_RESTORE ~/postgresql/restoreWALs %f
> %p 2>> ~/pg_standby.log"
> *LOG: restored log file "00000001000000050000001D" from archive
> LOG: invalid record length at 5/1D000068
> LOG: invalid primary checkpoint record
> LOG: restored log file "00000001000000050000001D" from archive
> LOG: invalid resource manager ID in secondary checkpoint record
> PANIC: could not locate a valid checkpoint record*
> LOG: startup process (PID 9219) was terminated by signal 6
> LOG: aborting startup due to startup process failure
> LOG: logger shutting down
One more thing is that the error above about the 1D log file above
having an invalid record length, etc. is interesting in that if I
restore from the TAR backup created for this and start the backup
database in recover mode, it manages to process the 1D log file just
fine (along with all the previous log files of course).
David
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: d.wall@computer.org
Subject: Re: WAL recovery, stop and resume recovery?
In-Reply-To: <4787D161.9000000@computer.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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