Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 79773 invoked from network); 6 Oct 2006 16:19:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Oct 2006 16:19:02 -0000 Received: (qmail 36281 invoked by uid 500); 6 Oct 2006 16:19:01 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 36252 invoked by uid 500); 6 Oct 2006 16:19:00 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 36241 invoked by uid 99); 6 Oct 2006 16:19:00 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Oct 2006 09:19:00 -0700 X-ASF-Spam-Status: No, hits=1.9 required=5.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST Received: from [32.97.182.141] ([32.97.182.141:41511] helo=e1.ny.us.ibm.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id B9/45-24193-EE186254 for ; Fri, 06 Oct 2006 09:18:55 -0700 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e1.ny.us.ibm.com (8.13.8/8.12.11) with ESMTP id k96GIkn1001346 for ; Fri, 6 Oct 2006 12:18:46 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay04.pok.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id k96GIk9T142148 for ; Fri, 6 Oct 2006 12:18:46 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k96GIkF9021597 for ; Fri, 6 Oct 2006 12:18:46 -0400 Received: from [127.0.0.1] (sig-9-65-18-23.mts.ibm.com [9.65.18.23]) by d01av03.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k96GIiJW021383 for ; Fri, 6 Oct 2006 12:18:45 -0400 Message-ID: <452681E1.4080206@sbcglobal.net> Date: Fri, 06 Oct 2006 09:18:41 -0700 From: Mike Matrigali Reply-To: mikem_app@sbcglobal.net User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Discussion Subject: Re: SQLSTATE: XSDG0Page Page(7,Container(0, 848)) could not be read from disk. References: <45259FBC.8040200@nuix.com.au> In-Reply-To: <45259FBC.8040200@nuix.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N There may or may not be more information in the derby.log. Are you getting any disk errors, does the file seg0/c350.dat exist and have reasonable permissions. My guess (but there really is not enough info here) is that recovery is trying to access page 7 of container 848 (seg0/c350.dat), and for some reason it can't. Those reasons could be that the file does not exist/bad permission, disk error reading that sector, file is not that long. What derby version are you using? David Sitsky wrote: > Hi, > > we have a client using a derby database, sometimes accessed in networked > mode, and sometimes as an embedded database. It can no longer be opened > successfully, as Derby is now returning the following messages when the > database is being opened: > > DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ040, SQLERRMC: Failed to start > database '...', see the next exception for details. > > SQLSTATE: XSDG0Page Page(7,Container(0, 848)) could not be read from disk. > > Is this a sign that the database has been corrupted, or is there another > issue here? Is there anything which can be done about this? >