[ZODB-Dev] Recovering Corrupt Database part2
tomasz
tomasz@pucky.ods.org
Sun, 3 Nov 2002 19:23:18 +0000 (UTC)
This is a follow up email that was sent out a week ago by my partner Cody
Smith. it can be found at.
http://lists.zope.org/pipermail/zodb-dev/2002-October/003476.html
After multiple suggestions to upgrade to Zope-2.6 from Zope-2.3.2 we did
so. We retrieved our backups and ran them through the fsrecover script
with a "-p" and without it.
When the script runs it throws multiple Version lock error.
ZODB.POSException.VersionLockError:
("'\\x00\\x00\\x00\\x00\\x00\\x00\\x01\\x83'", 'content_cntrl')
__main__.ErrorFound: invalid status, , at 7401342
__main__.ErrorFound: invalid status, , at 7401667
ZODB.POSException.VersionLockError:
("'\\x00\\x00\\x00\\x00\\x00\\x00\\x13\\xe7'", 'content_cntrl')
ZODB.POSException.VersionLockError:
("'\\x00\\x00\\x00\\x00\\x00\\x00\\x01\\x83'", 'content_cntrl')
__main__.ErrorFound: invalid status, , at 7439032
The Data.fs file goes from 380 megs down to 233M but produces the
following when we try and run it.
2002-11-03T18:21:44 INFO(0) zdaemon Started subprocess: pid 24441
------
2002-11-03T18:21:51 INFO(0) ZODB Opening database for mounting:
'144941200_10363
76511.661932'
------
2002-11-03T18:21:51 INFO(0) ZODB Mounted database
'144941200_1036376511.661932'
at /temp_folder
------
2002-11-03T18:21:51 PANIC(300) z2 Startup exception
Traceback (innermost last):
Module __main__, line 580, in ?
Module <string>, line 1, in ?
Module Zope, line 75, in ?
Module OFS.Application, line 278, in initialize
Module ZODB.Transaction, line 222, in commit
Module ZODB.Transaction, line 195, in commit
Module ZODB.Transaction, line 256, in _commit_objects
Module ZODB.Connection, line 389, in commit
- __traceback_info__: (('OFS.Application', 'Application'),
'\x00\x00\x00\x00\
x00\x00\x00\x02', '')
Module ZODB.FileStorage, line 698, in store
VersionLockError: ("'\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x02'",
'content_cntrl'
)
looking up the class definition i find that this is defined as
"An attempt has been made to modify an object that has been modified by a
version other than the current version. "
I know that ive read that the Data.fs file is portable through different
versions of zope so i dont really understand why it would be complaining
about this. Any help is greatly appreciated. thank you
--tomasz