EPrints Technical Mailing List Archive

Message: #05878


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] corrupt xapian DB


Dear list,

we actually run in problems with our xapian DB. xapian-check from http://rpm.eprints.org/xapian/6/x86_64/ runs into a "DatabaseCorruptError":

$ /usr/bin/xapian-check /usr/local/eprints/archives/_reponame_/var/xapian/
record:
baseA blocksize=8K items=243669 lastblock=996 revision=20062 levels=2 root=883
/usr/bin/xapian-check: DatabaseCorruptError: Db block overwritten - are there multiple writers?
$

To fix this, https://xapian.org/docs/admin_notes.html#fixing-corrupted-databases recommends a

 xapian-check /path/to/database F

but the rpm from eprints is not that 'up to date' - and there is no "F" Option.

I found a hint in a Mailinglist: "Very recent versions of xapian-check (1.3 +?) have an option F to attempt to repair the database." I think ours is 1.2x.

What do you suggest, how to fix it? Any other 'tricks' to save and repair the DB? Or rebuild the DB and how?

Any help is welcome.
Kind Regards
Jens


--
Jens Vieler
Zentrale Informatik
Universität Zürich
Stampfenbachstrasse 73
CH-8006 Zürich

mail:  jens.vieler@id.uzh.ch
phone: +41 44 63 56777
http://www.id.uzh.ch