Corrupt database after packing with Zope 2.6.2
Hi, After our nightly pack of the Data.fs, the site complains about POSKeyErrors (a good old error) rendering the site unusable (can't load/save objects). Stopping the site, and running fsrecover.py on it, it says 'removed 0 bytes', but the resulting Data.fs cannot be used; when starting Zope again it just says: Problems importing module: rest Problems importing module: rest and exits. Any takers? Regards, -- Bjorn
Hi, I have the same problem. dbpack followed by POSKeyErrors. To solve the problem, I copied the data.fs.old back to data.fs, which made it work again, but unfortunately the next time I do a pack, I get the same error in the same object. The object that causes the error is a major object, so I can't delete it as per the cookbook entry of Dieter I found somewhere. Any better tips? Douwe Osinga http://douweosinga.com
-----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org]On Behalf Of Bjorn Stabell Sent: Thursday, October 16, 2003 4:17 AM To: zope@zope.org Subject: [Zope] Corrupt database after packing with Zope 2.6.2
Hi,
After our nightly pack of the Data.fs, the site complains about POSKeyErrors (a good old error) rendering the site unusable (can't load/save objects).
Stopping the site, and running fsrecover.py on it, it says 'removed 0 bytes', but the resulting Data.fs cannot be used; when starting Zope again it just says:
Problems importing module: rest Problems importing module: rest
and exits.
Any takers?
Regards, -- Bjorn
_______________________________________________ Zope maillist - Zope@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 )
Douwe Osinga wrote at 2003-10-16 09:06 +0200:
I have the same problem. dbpack followed by POSKeyErrors.
To solve the problem, I copied the data.fs.old back to data.fs, which made it work again, but unfortunately the next time I do a pack, I get the same error in the same object.
I am sure, the ZODB developers are very intersted in this "Data.fs.old". I am interested as well, provided it is small (less than about 500 kb when bzip2 compressed).
The object that causes the error is a major object, so I can't delete it as per the cookbook entry of Dieter I found somewhere.
Any better tips?
Try to copy your object, delete the old object and rename the copy (of course, you are working on a copy of "Data.fs"). Dieter
I am sure, the ZODB developers are very intersted in this "Data.fs.old".
I am interested as well, provided it is small (less than about 500 kb when bzip2 compressed). Well, it is +- 200Mb uncompressed, so 500 seems to be out of reach. How do I get it to the zopdb developers?
Douwe Osinga
Douwe Osinga wrote at 2003-10-20 13:15 +0200:
Well, it is +- 200Mb uncompressed, so 500 seems to be out of reach. How do I get it to the zopdb developers?
The main ZODB/FileStorage developer is Jeremy Hylton: "mailto:jeremy@zope.com". Dieter
ATT: crosspost Bjorn Stabell wrote at 2003-10-16 10:17 +0800:
After our nightly pack of the Data.fs, the site complains about POSKeyErrors (a good old error) rendering the site unusable (can't load/save objects).
Please report this problem to "mailto:zodb-dev@zope.org". There may be some hole in the ZODB's packing code. If your unpacked storage (e.g. "Data.fs.old") is not too large (bzip2 compressed less than 500 kB), then you can send me the compressed file for analysis (when you like).
Stopping the site, and running fsrecover.py on it, it says 'removed 0 bytes', but the resulting Data.fs cannot be used; when starting Zope again it just says:
Problems importing module: rest Problems importing module: rest
and exits.
This is probably a different problem. Zope 2.6.2 does not start (in development mode) when the import of a product fails. Activate Zope logging (--> "doc/LOGGING.txt") and see in the log file. You should see a traceback explaining why your product could not be imported. Dieter
participants (3)
-
Bjorn Stabell -
Dieter Maurer -
Douwe Osinga