HELP !! URGENT: POSKeyError
Hi, On my production server I get POSKeyError when I try to access the management screens, the Control_Panel etc. Some parts of my site are available, but most parts gives this error. The traceback shows: 2002-05-27T13:52:38 ERROR(200) ZODB Couldn't load state for '\x00\x00\x00\x00\x00\x04A\xf6' Traceback (innermost last): File /usr/local/Zope-2.5.1b1-src/lib/python/ZODB/Connection.py, line 447, in setstate File /usr/local/Zope-2.5.1b1-src/lib/python/ZODB/FileStorage.py, line 581, in load (Object: /usr/local/zope-prod/var/Data.fs) File /usr/local/Zope-2.5.1b1-src/lib/python/ZODB/FileStorage.py, line 557, in _load (Object: /usr/local/zope-prod/var/Data.fs) POSKeyError: 00000000000441f6 It seems to me that the Data.fs file is currupted. Is there some way to repair it? The fstest.py tools gives this message: 15570990L object serialno 0x034421cb33bd68f7 does not matchtransaction id 0x034421e30cd63455 Is there some way to solve this problem ? Best regards Petter Enholm Snapper as
Hi, Found the lib/python/ZODB/fsrecover.py scripts which solved the problem - some data lost though. Is this stuff that I should write a how-to about or how can we make it easier for users to find the solution to this problem. I suggest that the how-to on recovering ZODB should include situations where the fsrecover tools will help. CC is sent to Itamar who wrote this how-to. BTW: it is already made available as these mails are indexed and searchable now :-) Best regards Petter Enholm Snapper, Norway ----- Original Message ----- From: "Petter Enholm" <pe@snapper.no> To: "Zope user list" <zope@zope.org> Sent: Monday, May 27, 2002 3:47 PM Subject: [Zope] HELP !! URGENT: POSKeyError
Hi,
On my production server I get POSKeyError when I try to access the management screens, the Control_Panel etc.
Some parts of my site are available, but most parts gives this error.
The traceback shows:
2002-05-27T13:52:38 ERROR(200) ZODB Couldn't load state for '\x00\x00\x00\x00\x00\x04A\xf6' Traceback (innermost last): File /usr/local/Zope-2.5.1b1-src/lib/python/ZODB/Connection.py, line 447, in setstate File /usr/local/Zope-2.5.1b1-src/lib/python/ZODB/FileStorage.py, line 581, in load (Object: /usr/local/zope-prod/var/Data.fs) File /usr/local/Zope-2.5.1b1-src/lib/python/ZODB/FileStorage.py, line 557, in _load (Object: /usr/local/zope-prod/var/Data.fs) POSKeyError: 00000000000441f6
It seems to me that the Data.fs file is currupted. Is there some way to repair it? The fstest.py tools gives this message:
15570990L object serialno 0x034421cb33bd68f7 does not matchtransaction id 0x034421e30cd63455
Is there some way to solve this problem ?
Best regards Petter Enholm Snapper as
_______________________________________________ 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 )
On Monday 27 May 2002 4:18 pm, Petter Enholm wrote:
It seems to me that the Data.fs file is currupted. Is there some way to repair it? The fstest.py tools gives this message:
15570990L object serialno 0x034421cb33bd68f7 does not matchtransaction id 0x034421e30cd63455
If the fstest.py tool is correct in this diagnosis (I have no reason to think it is not, but Ive never used that tool) then this is a failure that 'should not happen'. I suspect any data after this point may also be corrupt. Can you afford to truncate data.fs at this byte offset, and throw away all subsequent transactions?
Hi , Thank you for your reply ! The POSKeyError was solved using the fsrecover.py tool. Zope started, but I was not able to add any kind of information. After som hair pulling, general swearing etc I simply removed all Data.fs related files like Data.fs.lock, Data.fs.in and Data.fs.index and voila: Zope was up and running again. Best regards Petter Enholm ----- Original Message ----- From: "Toby Dickenson" <tdickenson@geminidataloggers.com> To: "Petter Enholm" <pe@snapper.no>; "Zope user list" <zope@zope.org> Sent: Tuesday, May 28, 2002 11:09 AM Subject: Re: [Zope] HELP !! URGENT: POSKeyError
On Monday 27 May 2002 4:18 pm, Petter Enholm wrote:
It seems to me that the Data.fs file is currupted. Is there some way to repair it? The fstest.py tools gives this message:
15570990L object serialno 0x034421cb33bd68f7 does not matchtransaction id 0x034421e30cd63455
If the fstest.py tool is correct in this diagnosis (I have no reason to think it is not, but Ive never used that tool) then this is a failure that 'should not happen'.
I suspect any data after this point may also be corrupt. Can you afford to truncate data.fs at this byte offset, and throw away all subsequent transactions?
_______________________________________________ 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 )
participants (2)
-
Petter Enholm -
Toby Dickenson