[Zope] Broken DB

Johan Lindstrom johanl@bahnhof.se
Tue, 30 Mar 1999 19:53:09 +0200


Hi!

I get this error when trying to start the server with start.bat:

Traceback (innermost last):
  File "serve.py", line 100, in ?
    ZopeHTTPServer.main(args)
  File "E:\appl\net\Zope\Rio\ZopeHTTPServer\ZopeHTTPServer.py", line 498,
in main     start(module_file,host,port,threading,env)
  File "E:\appl\net\Zope\Rio\ZopeHTTPServer\ZopeHTTPServer.py", line 436,
in start    set_published_module(module_file,BoboRequestHandler,env)
  File "E:\appl\net\Zope\Rio\ZopeHTTPServer\ZopeHTTPServer.py", line 432,
in set _published_module __import__(name) # to catch problem modules right away
  File "E:\appl\net\Zope\Rio\lib\python\Main.py", line 103, in ?
Bobobase=OFS.Application.open_bobobase()
  File "E:\appl\net\Zope\Rio\lib\python\OFS\Application.py", line 319, in
open_bobobase   Bobobase=Globals.Bobobase=Globals.PickleDictionary(
  File "E:\appl\net\Zope\Rio\lib\python\BoboPOS\PickleDictionary.py", line
159, in __init__   db=apply(DBType,(),storage_options)
  File "E:\appl\net\Zope\Rio\lib\python\BoboPOS\SimpleDB.py", line 221, in
__init__  self.open(file_name,create,revision_time,meta_index,read_only)
  File "E:\appl\net\Zope\Rio\lib\python\BoboPOS\SimpleDB.py", line 287, in
open   try: self.index,self.pos=read_index(
  File "E:\appl\net\Zope\Rio\lib\python\BoboPOS\SimpleDB.py", line 1365, in
read _index   raise DatabaseError, ('Corrupted data record at %s' % pos)
DatabaseError: Corrupted data record at 1903771

Can I recover? The db doesn't contain anything important so it's really
okay to reinstall, should that be neccessary.


/J

------ ---- --- -- -- -- -  -   -    -        -
Johan Lindström                       BossMedia
Sourcerer                     johanl@bahnhof.se
                 http://www.bahnhof.se/~johanl/
If the only tool you have is a hammer,
everything tends to look
like a nail