Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 4A5ED9FA19B for ; Sun, 10 Dec 2006 18:00:12 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 38945-02 for ; Sun, 10 Dec 2006 18:00:05 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nz-out-0102.google.com (nz-out-0506.google.com [64.233.162.231]) by postgresql.org (Postfix) with ESMTP id 3969A9F9F46 for ; Sun, 10 Dec 2006 18:00:04 -0400 (AST) Received: by nz-out-0102.google.com with SMTP id i11so678750nzh for ; Sun, 10 Dec 2006 14:00:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=oPtnbGhdGAJbNnMmcZ93+CwzPujnVZ7YbDfy5voQ8sscEOXdYSg4qVfTePlSACdxAwX/5Hva4shDAdq+kQ8n8YRuFbUKpJGVXbFeIqJH6QFcykBox3PgxTko6lZcLoIVkXM1Nr4qqEd945nbEp2COnslVeWRI85NIlhEd58kqtI= Received: by 10.65.193.16 with SMTP id v16mr9726968qbp.1165788003701; Sun, 10 Dec 2006 14:00:03 -0800 (PST) Received: by 10.65.206.18 with HTTP; Sun, 10 Dec 2006 14:00:03 -0800 (PST) Message-ID: Date: Mon, 11 Dec 2006 03:00:03 +0500 From: "Shoaib Mir" To: "Abu Mushayeed" Subject: Re: Database crashed - novice error Cc: pgsql-admin@postgresql.org In-Reply-To: <626081.50734.qm@web57101.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_52947_27252533.1165788003658" References: <626081.50734.qm@web57101.mail.re3.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/142 X-Sequence-Number: 23934 ------=_Part_52947_27252533.1165788003658 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline >>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 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. > > ------=_Part_52947_27252533.1165788003658 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline >>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.


------=_Part_52947_27252533.1165788003658--