pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
DB Structure Recovery
4+ messages / 3 participants
[nested] [flat]

* DB Structure Recovery
@ 2008-03-19 14:56 veejar <veejar.net@gmail.com>
  2008-03-19 14:59 ` Re: DB Structure Recovery Achilleas Mantzios <achill@matrix.gatewaynet.com>
  2008-03-21 08:48 ` Re: DB Structure Recovery Simon Riggs <simon@2ndquadrant.com>
  0 siblings, 2 replies; 4+ messages in thread

From: veejar @ 2008-03-19 14:56 UTC (permalink / raw)
  To: pgsql-admin

Hello!

My filesystem (UFS-FreeBSD) was crashed and I have lost files from
PGSQL DATA DIR FOLDER after fsck-utility.

I have lost files from directory "pg_xlog"
I reset my pg_xlog.

And now have such error by starting pgsql-server:

LOG:  database system was interrupted at 2008-03-18 22:29:48 EET
LOG:  checkpoint record is at 3E/6C000020
LOG:  redo record is at 3E/6C000020; undo record is at 3E/6C000020;
shutdown TRUE
LOG:  next transaction ID: 0/1624775486; next OID: 9528514
LOG:  next MultiXactId: 6643; next MultiXactOffset: 13690
LOG:  database system was not properly shut down; automatic recovery in progress
LOG:  record with zero length at 3E/6C000068
LOG:  redo is not required
FATAL:  could not access status of transaction 6643
DETAIL:  Could not read from file "pg_multixact/offsets/0000" at
offset 24576: Success.
LOG:  startup process (PID 6267) exited with exit code 1
LOG:  aborting startup due to startup process failure
LOG:  logger shutting down

Is it possible to lose this problem?
HELP!!!



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

* Re: DB Structure Recovery
  2008-03-19 14:56 DB Structure Recovery veejar <veejar.net@gmail.com>
@ 2008-03-19 14:59 ` Achilleas Mantzios <achill@matrix.gatewaynet.com>
  2008-03-20 15:07   ` Re: DB Structure Recovery veejar <veejar.net@gmail.com>
  1 sibling, 1 reply; 4+ messages in thread

From: Achilleas Mantzios @ 2008-03-19 14:59 UTC (permalink / raw)
  To: pgsql-admin; +Cc: veejar <veejar.net@gmail.com>

Στις Wednesday 19 March 2008 16:56:19 ο/η veejar έγραψε:
> Hello!
> 
> My filesystem (UFS-FreeBSD) was crashed and I have lost files from
> PGSQL DATA DIR FOLDER after fsck-utility.
> 
> I have lost files from directory "pg_xlog"
> I reset my pg_xlog.
> 
> And now have such error by starting pgsql-server:
> 
> LOG:  database system was interrupted at 2008-03-18 22:29:48 EET
> LOG:  checkpoint record is at 3E/6C000020
> LOG:  redo record is at 3E/6C000020; undo record is at 3E/6C000020;
> shutdown TRUE
> LOG:  next transaction ID: 0/1624775486; next OID: 9528514
> LOG:  next MultiXactId: 6643; next MultiXactOffset: 13690
> LOG:  database system was not properly shut down; automatic recovery in progress
> LOG:  record with zero length at 3E/6C000068
> LOG:  redo is not required
> FATAL:  could not access status of transaction 6643
> DETAIL:  Could not read from file "pg_multixact/offsets/0000" at
> offset 24576: Success.
> LOG:  startup process (PID 6267) exited with exit code 1
> LOG:  aborting startup due to startup process failure
> LOG:  logger shutting down
> 
> Is it possible to lose this problem?
> HELP!!!
> 

maybe take a look at your lost_found dir under the fs in question.

-- 
Achilleas Mantzios

KOSOVO IS SERBIA FOR EVER



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

* Re: DB Structure Recovery
  2008-03-19 14:56 DB Structure Recovery veejar <veejar.net@gmail.com>
  2008-03-19 14:59 ` Re: DB Structure Recovery Achilleas Mantzios <achill@matrix.gatewaynet.com>
@ 2008-03-20 15:07   ` veejar <veejar.net@gmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: veejar @ 2008-03-20 15:07 UTC (permalink / raw)
  To: pgsql-admin

2008/3/19, Achilleas Mantzios <achill@matrix.gatewaynet.com>:
> Óôéò Wednesday 19 March 2008 16:56:19 ï/ç veejar Ýãñáøå:
>
> > Hello!
>  >
>  > My filesystem (UFS-FreeBSD) was crashed and I have lost files from
>  > PGSQL DATA DIR FOLDER after fsck-utility.
>  >
>  > I have lost files from directory "pg_xlog"
>  > I reset my pg_xlog.
>  >
>  > And now have such error by starting pgsql-server:
>  >
>  > LOG:  database system was interrupted at 2008-03-18 22:29:48 EET
>  > LOG:  checkpoint record is at 3E/6C000020
>  > LOG:  redo record is at 3E/6C000020; undo record is at 3E/6C000020;
>  > shutdown TRUE
>  > LOG:  next transaction ID: 0/1624775486; next OID: 9528514
>  > LOG:  next MultiXactId: 6643; next MultiXactOffset: 13690
>  > LOG:  database system was not properly shut down; automatic recovery in progress
>  > LOG:  record with zero length at 3E/6C000068
>  > LOG:  redo is not required
>  > FATAL:  could not access status of transaction 6643
>  > DETAIL:  Could not read from file "pg_multixact/offsets/0000" at
>  > offset 24576: Success.
>  > LOG:  startup process (PID 6267) exited with exit code 1
>  > LOG:  aborting startup due to startup process failure
>  > LOG:  logger shutting down
>  >
>  > Is it possible to lose this problem?
>  > HELP!!!
>  >
>
>
> maybe take a look at your lost_found dir under the fs in question.
>
>
>  --
>  Achilleas Mantzios
>
>  KOSOVO IS SERBIA FOR EVER
>

I had error about no space in lost+found folder. That's why I cant
found losed files in this folder.


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

* Re: DB Structure Recovery
  2008-03-19 14:56 DB Structure Recovery veejar <veejar.net@gmail.com>
@ 2008-03-21 08:48 ` Simon Riggs <simon@2ndquadrant.com>
  1 sibling, 0 replies; 4+ messages in thread

From: Simon Riggs @ 2008-03-21 08:48 UTC (permalink / raw)
  To: veejar <veejar.net@gmail.com>; +Cc: pgsql-admin

On Wed, 2008-03-19 at 16:56 +0200, veejar wrote:

> My filesystem (UFS-FreeBSD) was crashed and I have lost files from
> PGSQL DATA DIR FOLDER after fsck-utility.
> 
> I have lost files from directory "pg_xlog"
> I reset my pg_xlog.
> 
> And now have such error by starting pgsql-server:
> 
> LOG:  database system was interrupted at 2008-03-18 22:29:48 EET
> LOG:  checkpoint record is at 3E/6C000020
> LOG:  redo record is at 3E/6C000020; undo record is at 3E/6C000020;
> shutdown TRUE
> LOG:  next transaction ID: 0/1624775486; next OID: 9528514
> LOG:  next MultiXactId: 6643; next MultiXactOffset: 13690
> LOG:  database system was not properly shut down; automatic recovery in progress
> LOG:  record with zero length at 3E/6C000068
> LOG:  redo is not required
> FATAL:  could not access status of transaction 6643
> DETAIL:  Could not read from file "pg_multixact/offsets/0000" at
> offset 24576: Success.
> LOG:  startup process (PID 6267) exited with exit code 1
> LOG:  aborting startup due to startup process failure
> LOG:  logger shutting down
> 
> Is it possible to lose this problem?
> HELP!!!

It is possible to recover some data in most situations, but it can take
anywhere from a day or two. My company offers database recovery
services, if you're willing to pay.

-- 
  Simon Riggs
  2ndQuadrant  http://www.2ndQuadrant.com 

  PostgreSQL UK 2008 Conference: http://www.postgresql.org.uk




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


end of thread, other threads:[~2008-03-21 08:48 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-03-19 14:56 DB Structure Recovery veejar <veejar.net@gmail.com>
2008-03-19 14:59 ` Achilleas Mantzios <achill@matrix.gatewaynet.com>
2008-03-20 15:07   ` veejar <veejar.net@gmail.com>
2008-03-21 08:48 ` Simon Riggs <simon@2ndquadrant.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