Re: Database crashed - novice error - Mailing list pgsql-admin

From Shoaib Mir
Subject Re: Database crashed - novice error
Date
Msg-id bf54be870612101400y79a7f589m4dbbf2d56888fb9c@mail.gmail.com
Whole thread Raw
In response to Database crashed - novice error  (Abu Mushayeed <abumushayeed@yahoo.com>)
List 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@yahoo.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.


pgsql-admin by date:

Previous
From: imad
Date:
Subject: Re: Database crashed - novice error
Next
From: yogesh@banasdairy.coop
Date:
Subject: take a file system backup from /data folder