[Zope] Data.fs corruption.. NEED HELP

M. Adam Kendall mak@kha0s.org
Thu, 17 Feb 2000 13:37:57 -0500 (EST)


Yikes have I got problems. 

Our server went down this morning, so I went to restart Zope
after rebooting the machine.  Only, the Data.fs seems to be
corrupt.

 Traceback (innermost last):
  File "z2.py", line 436, in ?
    exec "import "+MODULE in {}
  File "<string>", line 1, in ?
  File "/home/httpd/Zope-2.1.2-linux2-x86/lib/python/Zope/__init__.py", line
109, in ?
    DB=ZODB.FileStorage.FileStorage(Globals.BobobaseName)
  File "/home/httpd/Zope-2.1.2-linux2-x86/lib/python/ZODB/FileStorage.py", line
301, in __init__
    self._pos, self._oid, tid = read_index(
  File "/home/httpd/Zope-2.1.2-linux2-x86/lib/python/ZODB/FileStorage.py", line
1359, in read_index
    name, pos)
  File "/home/httpd/Zope-2.1.2-linux2-x86/lib/python/ZODB/FileStorage.py", line
218, in panic
    raise CorruptedTransactionError, message
ZODB.FileStorage.CorruptedTransactionError: /home/httpd/Zope/var/Data.fs
redundant transaction length check failed at 7683968

Now, I have truncated the Data.fs as seen in a previous Zope post by Jim Fulton,
but unfortunately, I can't do this.. the Zope Data.fs as it is is right around
11.8M, and cutting off the file at 7.6M is not an option at this point.
Is there any way to recover?  ANY help at this point would be appreciated..

Adam
-- 
M. Adam Kendall         |  
mak@kha0s.org           |  "There's never enough time to do
http://kha0s.org        |  all the nothing you want."
                        |   --Bill Watterson (Calvin and Hobbes)