pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jayati.biswas@cmcltd.com <jayati.biswas@cmcltd.com>
To: pgsql-admin@postgresql.org
Subject: recovery problem
Date: 19 Apr 2006 01:51:59 -0700
Message-ID: <1145436719.720424.141380@i39g2000cwa.googlegroups.com> (raw)

hello,

I am trying to setup a "hot standby" on a second machine.
 I have created a "recovery.conf" file and started a restore with logs
 from the primary machine. everything was OK.

now a have new transaction logs generated by the primary machine and I
 want to "play" them on the secondary one. I have stopped postgres,
 recreated "recovery.conf", started postgres and I get the following
error:

----------------------------------------------------------------
 LOG:  database system was shut down at 2005-05-23 05:19:34 PDT
 LOG:  starting archive recovery
 LOG:  restore_command = "/usr/cbmp/core/bin/restore_pg_tlog %f %p"
 LOG:  restored log file "0000000100000008000000C4" from archive
 LOG:  invalid resource manager ID 53 at 8/C4FFFEF8
 LOG:  invalid primary checkpoint record
 LOG:  restored log file "0000000100000008000000C4" from archive
 LOG:  invalid resource manager ID 52 at 8/C4FFFEBC
 LOG:  invalid secondary checkpoint record
 PANIC:  could not locate a valid checkpoint record
 LOG:  startup process (PID 18297) was terminated by signal 6
 LOG:  aborting startup due to startup process failure
 LOG:  logger shutting down
 ----------------------------------------------------------------

what is the procedure for creating a "hot standby" (continuously
feeding
 a series of WAL files created by the primary machine into the
secondary 
 one) ?




view thread (2+ messages)  latest in thread

Message-ID: <1145436719.720424.141380@i39g2000cwa.googlegroups.com>
Permalink:  ../1145436719.720424.141380@i39g2000cwa.googlegroups.com/
Also on:    postgresql.org/message-id/1145436719.720424.141380@i39g2000cwa.googlegroups.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jayati.biswas@cmcltd.com
  Subject: Re: recovery problem
  In-Reply-To: <1145436719.720424.141380@i39g2000cwa.googlegroups.com>
  References: <1145436719.720424.141380@i39g2000cwa.googlegroups.com>

* 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