[Zope] Data.fs corruption

Petter Enholm Petter Enholm" <pe@snapper.no
Mon, 10 Jun 2002 08:50:51 +0200


I had a problem with a corrupt data base some weeks ago, and ran the
fsrecover.py tool stored under
../lib/python/ZODB.

Of course back up all the Data.fs related files before running this tool.
I still had some problems after recovering my Data.fs file, this problem =
was
solved by removing all the Data.fs related files like Data.fs.index,
Data.fs.lock etc etc, except for Data.fs file, of course :-)

Good luck!

Best regards
Petter Enholm
Snapper as
www.snapper.no



----- Original Message -----
From: "Chris Herrnberger" <chris123@magma.ca>
To: <zope@zope.org>
Sent: Monday, June 10, 2002 7:54 AM
Subject: [Zope] Data.fs corruption


> Well it had to happen. Zope running with data and Im parusing the file
> structure. Not too smart. Restarting zope and of couse it tells me the
> data.fs is corrupt. Was wondering if there is any  way to restore it as
there
> is some rather important data there. Panic has not set in yet but by
> tomorrow....:(
>
> Any suggestions would be really helpfull at this point and very much
> appreciated.
>
> Chris H.
>
> Traceback (innermost last):
>   File /home/chris/zope251/lib/python/ZPublisher/Publish.py, line 150, =
in
> publish_module
>   File /home/chris/zope251/lib/python/ZPublisher/Publish.py, line 114, =
in
> publish
>   File /home/chris/zope251/lib/python/Zope/__init__.py, line 159, in
> zpublisher_exception_hook
>     (Object: Zope)
>   File /home/chris/zope251/lib/python/ZPublisher/Publish.py, line 89, i=
n
> publish
>   File /home/chris/zope251/lib/python/ZPublisher/BaseRequest.py, line 3=
88,
in
> traverse
>   File /home/chris/zope251/lib/python/AccessControl/User.py, line 628, =
in
> validate
>     (Object: acl_users)
>   File /home/chris/zope251/lib/python/AccessControl/User.py, line 580, =
in
> authenticate
>     (Object: acl_users)
>   File /home/chris/zope251/lib/python/ZODB/Connection.py, line 447, in
> setstate
>   File /home/chris/zope251/lib/python/ZODB/FileStorage.py, line 582, in
load
>     (Object: /home/chris/zope251/var/Data.fs)
>   File /home/chris/zope251/lib/python/ZODB/FileStorage.py, line 562, in
_load
>     (Object: /home/chris/zope251/var/Data.fs)
> CorruptedDataError: Qus.       7 EB=C6 Z[=DD             ! v
>
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>