[Zope] Help! Data.fs corrupted

zope@meadowbase.com zope@meadowbase.com
Fri, 16 Nov 2001 16:57:18 -0800


Hi everyone,

I'm an experienced Zope user/developer and have never seen anything like
this. It appears data.fs is corrupted. Here's the message I get when
attempting to start Zope (it's version 2.4.0 on solaris):

------
2001-11-17T00:51:59 PROBLEM(100) ZODB FS FS21  warn:
/local/home/a1142/zope/Zope-2.4.0/var/Data.fs time-stamp reduction at
4995254

------
2001-11-17T00:51:59 PROBLEM(100) ZODB FS FS21  warn:
/local/home/a1142/zope/Zope-2.4.0/var/Data.fs has invalid status, , at
4995254

------
2001-11-17T00:51:59 PANIC(300) ZODB FS FS21 ERROR:
/local/home/a1142/zope/Zope-2.4.0/var/Data.fs has invalid transaction
header at 4995254

------
2001-11-17T00:51:59 PANIC(300) z2 Startup exception
Traceback (innermost last):
  File /local/home/a1142/zope/Zope-2.4.0/z2.py, line 564, in ?
  File <string>, line 1, in ?
  File /local/home/a1142/zope/Zope-2.4.0/lib/python/Zope/__init__.py,
line 110, in ?
  File /local/home/a1142/zope/Zope-2.4.0/lib/python/ZODB/FileStorage.py,
line 306, in __init__
    (Object: /local/home/a1142/zope/Zope-2.4.0/var/Data.fs)
  File /local/home/a1142/zope/Zope-2.4.0/lib/python/ZODB/FileStorage.py,
line 1819, in read_index
  File /local/home/a1142/zope/Zope-2.4.0/lib/python/ZODB/FileStorage.py,
line 222, in panic
CorruptedTransactionError: /local/home/a1142/zope/Zope-2.4.0/var/Data.fs
has invalid transaction header at 4995254

------

Here's the story. I use WebDAV to edit ZPT documents, but had never done
so on this particular installation. I changed the start file to open a
WebDAV port, and it seemed to work. I was able to browse, edit, and save
ZPT's into the database via WebDAV. Meanwhile I had a browser open,
operating in a Version. I was curious to see if there's anyway to work
in a Version via WebDAV (meaning a Zope Version). Doesn't seem like
there is.

After the WebDAV save I started getting cryptic traceback/error messages
in the browser. (Sorry I didn't record the messages, they were errors
about type conversion. One of them was about trying to convert a
longint, and another one made specific references to dates.) Those
errors appeared whenever I hit the "Undo" tab on any object in the
database.

So I stopped Zope and this error comes up when I try to restart.

Has anyone experienced this problem?

How can I prevent it in the future?

Is there any way to recover the data in Data.fs?

Thanks!

--- Francis Potter