pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
unable to locate a valid checkpoint
4+ messages / 2 participants
[nested] [flat]

* unable to locate a valid checkpoint
@ 2002-03-22 17:26 Auri Mason <amason@syntrex.com>
  2002-03-22 18:15 ` Re: unable to locate a valid checkpoint Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Auri Mason @ 2002-03-22 17:26 UTC (permalink / raw)
  To: pgsql-admin

Hi to all,

I'm quite new for this list, but I've already a big problem.
After a shutdown, the postmaster doesn't restart due to a checkpoint 
error.
The data of the DB is ... ehm important... so, how can I recover my 
installation?

message:
##########################################

FindExec: found "/usr/bin/postmaster" using argv[0]
2002-03-22 13:42:46 [6002]   DEBUG:  database system was shut down at 
2002-03-22 11:46:11 CET
2002-03-22 13:42:46 [6002]   DEBUG:  ReadRecord: invalid resource manager 
id 157 at (0, 561372168)
2002-03-22 13:42:46 [6002]   DEBUG:  Invalid primary checkPoint record
2002-03-22 13:42:46 [6002]   DEBUG:  Invalid RMID in secondary checkPoint 
record
2002-03-22 13:42:46 [6002]   FATAL 2:  Unable to locate a valid CheckPoint 
record
2002-03-22 13:42:46 [6002]   DEBUG:  proc_exit(2)
2002-03-22 13:42:46 [6002]   DEBUG:  shmem_exit(2)
2002-03-22 13:42:46 [6002]   DEBUG:  exit(2)
/usr/bin/postmaster: reaping dead processes...
/usr/bin/postmaster: Startup proc 6002 exited wit
##############################

TIA, Auri 




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: unable to locate a valid checkpoint
  2002-03-22 17:26 unable to locate a valid checkpoint Auri Mason <amason@syntrex.com>
@ 2002-03-22 18:15 ` Tom Lane <tgl@sss.pgh.pa.us>
  2002-03-25 08:23   ` Re: unable to locate a valid checkpoint Auri Mason <amason@syntrex.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Tom Lane @ 2002-03-22 18:15 UTC (permalink / raw)
  To: Auri Mason <amason@syntrex.com>; +Cc: pgsql-admin

Auri Mason <amason@syntrex.com> writes:
> I'm quite new for this list, but I've already a big problem.
> After a shutdown, the postmaster doesn't restart due to a checkpoint 
> error.

"Shutdown"?  Exactly what happened there?  It certainly doesn't look
like you had a clean shutdown.

At this point I think your only hope is contrib/pg_resetxlog, but that's
a very blunt instrument.  It'd be nice to understand what went wrong.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: unable to locate a valid checkpoint
  2002-03-22 17:26 unable to locate a valid checkpoint Auri Mason <amason@syntrex.com>
  2002-03-22 18:15 ` Re: unable to locate a valid checkpoint Tom Lane <tgl@sss.pgh.pa.us>
@ 2002-03-25 08:23   ` Auri Mason <amason@syntrex.com>
  2002-03-25 09:07     ` Re: unable to locate a valid checkpoint Auri Mason <amason@syntrex.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Auri Mason @ 2002-03-25 08:23 UTC (permalink / raw)
  To: pgsql-admin

Hi Tom & pg_list,

> "Shutdown"?  Exactly what happened there?  It certainly doesn't look
> like you had a clean shutdown.

mmm, yes the postmaster was running in foregroud and was interrupted by a 
CTRL+C....

What's the correct way to shutdown? kill -15 I think...

> At this point I think your only hope is contrib/pg_resetxlog, but that's
> a very blunt instrument.  It'd be nice to understand what went wrong.

pg_resetxlog.... mmm I've to read something about this command! U think 
this is the solution?

TIA, Auri





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: unable to locate a valid checkpoint
  2002-03-22 17:26 unable to locate a valid checkpoint Auri Mason <amason@syntrex.com>
  2002-03-22 18:15 ` Re: unable to locate a valid checkpoint Tom Lane <tgl@sss.pgh.pa.us>
  2002-03-25 08:23   ` Re: unable to locate a valid checkpoint Auri Mason <amason@syntrex.com>
@ 2002-03-25 09:07     ` Auri Mason <amason@syntrex.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Auri Mason @ 2002-03-25 09:07 UTC (permalink / raw)
  To: pgsql-admin

Always me... ;P

I've just recover my installation by using pg_resetxlog.

But, what is the operation made by this command? I believe it performs a 
reset to the previous checkpoint, so some data could be lost..



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2002-03-25 09:07 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-03-22 17:26 unable to locate a valid checkpoint Auri Mason <amason@syntrex.com>
2002-03-22 18:15 ` Tom Lane <tgl@sss.pgh.pa.us>
2002-03-25 08:23   ` Auri Mason <amason@syntrex.com>
2002-03-25 09:07     ` Auri Mason <amason@syntrex.com>

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