pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pginfo <pginfo@t1.unisoftbg.com>
To: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: URGENT: where to find info about the pg structure
Date: Thu, 29 May 2003 16:06:05 +0200
Message-ID: <3ED613CD.83533B0E@t1.unisoftbg.com> (raw)

Hi all,
I posted today message about pg globals directory corruption.

I am using pg 7.3 on linux with reiserfs.

My problem is where to find more info about the pg structure.

To this moment I created one new db with the same structure as my
original.
I was able to finf the filename of one from my tables into the new db.
Also I have this file from the corrupted system.

I stoped the db and make copy over the new file.

After bd start I am not able to any data in pg.
Pg report:
LOG:  database system is shut down
LOG:  database system was shut down at 2003-05-29 17:46:10 EEST
LOG:  checkpoint record is at 25/2B043768
LOG:  redo record is at 25/2B043768; undo record is at 0/0; shutdown
TRUE
LOG:  next transaction id: 4607583; next oid: 52623925
LOG:  database system is ready
PANIC:  read of clog file 4, offset 196608 failed: Success
LOG:  statement: vacuum full analyze verbose a_nomen;
LOG:  server process (pid 1455) was terminated by signal 6
LOG:  terminating any other active server processes
LOG:  all server processes terminated; reinitializing shared memory and
semaphores
LOG:  database system was interrupted at 2003-05-29 17:49:18 EEST
LOG:  checkpoint record is at 25/2B043768
LOG:  redo record is at 25/2B043768; undo record is at 0/0; shutdown
TRUE
LOG:  next transaction id: 4607583; next oid: 52623925
LOG:  database system was not properly shut down; automatic recovery in
progress
FATAL:  The database system is starting up
LOG:  ReadRecord: record with zero length at 25/2B0437A8
LOG:  redo is not required
LOG:  database system is ready
LOG:  smart shutdown request
LOG:  shutting down
LOG:  database system is shut down
LOG:  database system was shut down at 2003-05-29 17:49:58 EEST
LOG:  checkpoint record is at 25/2B0437E8
LOG:  redo record is at 25/2B0437E8; undo record is at 0/0; shutdown
TRUE
LOG:  next transaction id: 4607583; next oid: 52623925
LOG:  database system is ready


Is it possible to replace the files with my "old" files and if yes how?
Any idea will help.
regards,
ivan.




Message-ID: <3ED613CD.83533B0E@t1.unisoftbg.com>
Permalink:  ../3ED613CD.83533B0E@t1.unisoftbg.com/
Also on:    postgresql.org/message-id/3ED613CD.83533B0E@t1.unisoftbg.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: pginfo@t1.unisoftbg.com
  Subject: Re: URGENT: where to find info about the pg structure
  In-Reply-To: <3ED613CD.83533B0E@t1.unisoftbg.com>
  References: <3ED613CD.83533B0E@t1.unisoftbg.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