Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 99789 invoked from network); 12 May 2009 19:23:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 May 2009 19:23:52 -0000 Received: (qmail 65659 invoked by uid 500); 12 May 2009 19:23:51 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 65607 invoked by uid 500); 12 May 2009 19:23:50 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 65597 invoked by uid 99); 12 May 2009 19:23:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 May 2009 19:23:50 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.68.5.17] (HELO relay03.pair.com) (209.68.5.17) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 12 May 2009 19:23:40 +0000 Received: (qmail 53786 invoked from network); 12 May 2009 19:23:18 -0000 Received: from 75.143.234.216 (HELO ?192.168.1.104?) (75.143.234.216) by relay03.pair.com with SMTP; 12 May 2009 19:23:18 -0000 X-pair-Authenticated: 75.143.234.216 Message-Id: <70CE5E98-5863-482E-82FD-3C38CECD70A5@apache.org> From: Damien Katz To: user@couchdb.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: corrupted database file Date: Tue, 12 May 2009 15:23:18 -0400 References: X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org It looks like the database file got truncated. Until we get tail- append headers, there is no way to recover the file contents when this happens. -Damien On May 12, 2009, at 1:25 PM, Peter Hsu wrote: > I get the following error when visiting futon: > > Database information could not be retrieved: > {{{badmatch,eof}, > [{couch_file,handle_call,3}, > {gen_server,handle_msg,5}, > {proc_lib,init_p_do_apply,3}]}, > {gen_server,call,[<0.82.0>, > {pread_bin,86816267188},infinity]}} > > This is in couch 0.9.0. > > The file system had run out of disk space previously. There is > sufficient disk space now, but the database file seems to be > corrupted. Is there any utility to try to repair the database? >