[Zope] corrupted Data.fs
oliver
oliver@firstfloor.org
Thu, 6 Sep 2001 14:34:44 +0200 (CEST)
Hi,
I am running Zope 2.3.0 on Linux and after a power failure the db is
corrupted:
File "/home/ofrommel/Zope-2.3.0-src/lib/python/ZODB/FileStorage.py", line
218, in panic
raise CorruptedTransactionError, message
ZODB.FileStorage.CorruptedTransactionError:
/home/ofrommel/Zope/var/Data.fs data record exceeds transaction record at
35816171L
now when I try to fix it with fsrecover I get the following error message:
[root@m945 var]# python ../lib/python/ZODB/fsrecover.py Data.fs
Traceback (innermost last):
File "../lib/python/ZODB/fsrecover.py", line 94, in ?
FileStorage.recover(sys.argv[1])
File "/home/ofrommel/Zope-2.3.0-src/lib/python/ZODB/FileStorage.py",
line 1529, in recover
npos = shift_transactions_forward(
File "/home/ofrommel/Zope-2.3.0-src/lib/python/ZODB/FileStorage.py",
line 1455, in shift_transactions_forward
if plen: p=read(plen)
OverflowError: long int too long to convert
how can I fix the database now?
thanks for your help
-oliver