R: [Zope] Corrupted data.fs

trashMan trashman at httconsulting.com
Tue Feb 22 06:24:15 EST 2005


Ciao marco,

 there is a command-line utility in lib/python/ZODB/fsrecover.py that will
repair damaged Data.fs files. 

First back up your Data.fs then 

>python lib/python/ZODB/fsrecover.py var/Data.fs


If the problem persist, you can try
http://www.zope.org/Members/tsarna/Tranalyzer 

Regards.

Massimiliano

---------------------------------------------------------------------------
HT&T Consulting
---------------------------------------------------------------------------
NOTICE: This e-mail message and all attachments transmitted with it may 
contain legally privileged and confidential information intended solely 
for the use of the addressee. If the reader of this message is not the 
intended recipient, you are hereby notified that any reading, 
dissemination, distribution, copying, or other use of this message or 
its attachments, hyperlinks, or any other files of any kind is strictly 
prohibited. If you have received this message in error, please notify 
the sender immediately by telephone (+39 587 757360) or by a reply to this 
electronic mail message and delete this message and all copies and 
backups thereof. 
---------------------------------------------------------------------------


-----Messaggio originale-----
Da: zope-bounces at zope.org [mailto:zope-bounces at zope.org] Per conto di Marco
Bizzarri
Inviato: martedì 22 febbraio 2005 9.56
A: Zope Mailing List
Oggetto: [Zope] Corrupted data.fs

Hi all.

We're experiencing nightly corruption of a Data.fs in an intranet
application.

We've removed all the packing/backup stuff, we've moved from zope 2.6.4 to
zope 2.7.4, but we still have data corruption in the morning.

Here is the error from the event log:


2005-02-22T09:21:51 ERROR(200) ZODB Couldn't load state for 0x3b3939
Traceback (most recent call last):
   File "/home/zope/zope-2.7.4/lib/python/ZODB/Connection.py", line 597, in
setstate
     p, serial = self._storage.load(oid, self._version)
   File "/home/zope/zope-2.7.4/lib/python/ZODB/FileStorage.py", line 689, in
load
     return self._load(oid, version, self._index, self._file)
   File "/home/zope/zope-2.7.4/lib/python/ZODB/FileStorage.py", line 663, in
_load
     doid, serial, prev, tloc, vlen, plen = unpack(DATA_HDR, h)
error: unpack str size does not match format
------
2005-02-22T09:22:07 ERROR(200) ZODB Couldn't load state for 0x3214dc
Traceback (most recent call last):
   File "/home/zope/zope-2.7.4/lib/python/ZODB/Connection.py", line 597, in
setstate
     p, serial = self._storage.load(oid, self._version)
   File "/home/zope/zope-2.7.4/lib/python/ZODB/FileStorage.py", line 689, in
load
     return self._load(oid, version, self._index, self._file)
   File "/home/zope/zope-2.7.4/lib/python/ZODB/FileStorage.py", line 663, in
_load
     doid, serial, prev, tloc, vlen, plen = unpack(DATA_HDR, h)
error: unpack str size does not match format
------
2005-02-22T09:23:01 ERROR(200) ZODB Couldn't load state for 0x0eed Traceback
(most recent call last):
   File "/home/zope/zope-2.7.4/lib/python/ZODB/Connection.py", line 597, in
setstate
     p, serial = self._storage.load(oid, self._version)
   File "/home/zope/zope-2.7.4/lib/python/ZODB/FileStorage.py", line 689, in
load
     return self._load(oid, version, self._index, self._file)
   File "/home/zope/zope-2.7.4/lib/python/ZODB/FileStorage.py", line 665, in
_load
     raise CorruptedDataError, h
CorruptedDataError: 
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@

I'm quite confident the problem is outside of Zope, but I would like to have
some pointer on where to investigate in order to undestand the problem.

Regards
Marco

_______________________________________________
Zope maillist  -  Zope at zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )



More information about the Zope mailing list