Re: Database crashed - novice error

From: "Shoaib Mir" <shoaibmir(at)gmail(dot)com>
To: "Abu Mushayeed" <abumushayeed(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Database crashed - novice error
Date: 2006-12-10 22:00:03
Message-ID: bf54be870612101400y79a7f589m4dbbf2d56888fb9c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

>>2006-12-10 13:01:24 PSTHINT: This probably means that some data is
corrupted and you will have to >>use the last backup for recovery.

Were you using PITR backup there? If you have the backup WAL archives still
available try recovering again ....

In future avoid using the immediate shutdown using '-mi' switch but instead
use '-mf' (fast shutdown) as immediate shutdown can corrupt the recovery and
backup process.

Thanks,
---------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 12/11/06, Abu Mushayeed <abumushayeed(at)yahoo(dot)com> wrote:
>
> Hello,
>
> Please I need help. My database was recovering and I had done a immediate
> shutdown. Now when I started the the DB it says the following:
>
> 2006-12-10 13:01:24 PSTLOG: database system was interrupted while in
> recovery at 2006-12-10 12:15:59 PST
> 2006-12-10 13:01:24 PSTHINT: This probably means that some data is
> corrupted and you will have to use the last bac
> kup for recovery.
> 2006-12-10 13:01:24 PSTLOG: checkpoint record is at 6CA/E3ABE478
> 2006-12-10 13:01:24 PSTLOG: redo record is at 6CA/E3A1B418; undo record
> is at 0/0; shutdown FALSE
> 2006-12-10 13:01:24 PSTLOG: next transaction ID: 66457863; next OID:
> 296050688
> 2006-12-10 13:01:24 PSTLOG: next MultiXactId: 1; next MultiXactOffset: 0
> 2006-12-10 13:01:24 PSTLOG: database system was not properly shut down;
> automatic recovery in progress
> 2006-12-10 13:01:24 PSTLOG: redo starts at 6CA/E3A1B418
> 2006-12-10 13:01:42 PSTphatcherbdc_oz[local]FATAL: the database system is
> starting up
> 2006-12-10 13:01:42 PSTphatcherbdc_oz[local]FATAL: the database system is
> starting up
> 2006-12-10 13:01:42 PSTphatcherbdc_oz[local]FATAL: the database system is
> starting up
> 2006-12-10 13:01:42 PSTphatcherbdc_oz[local]FATAL: the database system is
> starting up
> 2006-12-10 13:01:43 PSTphatcherbdc_oz[local]FATAL: the database system is
> starting up
> 2006-12-10 13:03:02 PSTLOG: record with zero length at 6CA/EFB82244
> 2006-12-10 13:03:02 PSTLOG: redo done at 6CA/EFB82208
> 2006-12-10 13:03:10 PSTLOG: database system is ready
> 2006-12-10 13:03:10 PSTLOG: transaction ID wrap limit is 1139621728,
> limited by database "bdc_oz"
>
> Please help me, with this.
>
> Thanks
> Abu Mushayeed
>
> ------------------------------
> Access over 1 million songs - Yahoo! Music Unlimited.<http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/>
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message yogesh 2006-12-11 08:35:53 take a file system backup from /data folder
Previous Message imad 2006-12-10 21:26:16 Re: Database crashed - novice error