Hilfe: Zope startet nicht mit ERROR ZODB.Connection

<[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
Hallo, 


ich habe ein ernstes Problem. Nach dem Neustart ließ sich Zope-Instance nicht mehr starten, mit der folgende Meldung. 

Traceback (most recent call last):
  File "D:\Zope\2.11.1\Zope\lib\python\Zope2\Startup\run.py", line 56, in ?
    run()
  File "D:\Zope\2.11.1\Zope\lib\python\Zope2\Startup\run.py", line 21, in run
    starter.prepare()
  File "D:\Zope\2.11.1\Zope\lib\python\Zope2\Startup\__init__.py", line 109, in prepare
    self.startZope()
  File "D:\Zope\2.11.1\Zope\lib\python\Zope2\Startup\__init__.py", line 300, in startZope
    Zope2.startup()
  File "D:\Zope\2.11.1\Zope\lib\python\Zope2\__init__.py", line 47, in startup
    _startup()
  File "D:\Zope\2.11.1\Zope\lib\python\Zope2\App\startup.py", line 110, in startup
    OFS.Application.initialize(application)
  File "D:\Zope\2.11.1\Zope\lib\python\OFS\Application.py", line 309, in initialize
    initializer.initialize()
  File "D:\Zope\2.11.1\Zope\lib\python\OFS\Application.py", line 330, in initialize
    self.install_cp_and_products()
  File "D:\Zope\2.11.1\Zope\lib\python\OFS\Application.py", line 350, in install_cp_and_products
    app._setObject('Control_Panel', cpl)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\Connection.py", line 805, in setstate
    self._setstate(obj)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\Connection.py", line 864, in _setstate
    self._reader.setGhostState(obj, p)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\serialize.py", line 604, in setGhostState
    state = self.getState(pickle)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\serialize.py", line 597, in getState
    return unpickler.load()
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\serialize.py", line 479, in _persistent_load
    return self.loaders[reference_type](self, *args)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\serialize.py", line 540, in load_multi_oid
    conn = self._conn.get_connection(database_name)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\Connection.py", line 362, in get_connection
    new_con = self._db.databases[database_name].open(
KeyError: 'test'
------------------------------------------------------------------------------------------------------------
Und das Ganze in Debug-Modus:
['main'] ['main'] test
2009-06-09 11:02:39 ERROR ZODB.Connection Couldn't load state for 0x01
Traceback (most recent call last):
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\Connection.py", line 805, in setstate
    self._setstate(obj)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\Connection.py", line 864, in _setstate
    self._reader.setGhostState(obj, p)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\serialize.py", line 604, in setGhostState
    state = self.getState(pickle)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\serialize.py", line 597, in getState
    return unpickler.load()
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\serialize.py", line 479, in _persistent_load
    return self.loaders[reference_type](self, *args)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\serialize.py", line 540, in load_multi_oid
    conn = self._conn.get_connection(database_name)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\Connection.py", line 362, in get_connection
    new_con = self._db.databases[database_name].open(
KeyError: 'test'
['main'] ['main'] test
2009-06-09 11:02:39 ERROR ZODB.Connection Couldn't load state for 0x01
Traceback (most recent call last):
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\Connection.py", line 805, in setstate
    self._setstate(obj)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\Connection.py", line 864, in _setstate
    self._reader.setGhostState(obj, p)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\serialize.py", line 604, in setGhostState
    state = self.getState(pickle)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\serialize.py", line 597, in getState
    return unpickler.load()
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\serialize.py", line 479, in _persistent_load
    return self.loaders[reference_type](self, *args)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\serialize.py", line 540, in load_multi_oid
    conn = self._conn.get_connection(database_name)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\Connection.py", line 362, in get_connection
    new_con = self._db.databases[database_name].open(
KeyError: 'test'
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "D:\Zope\2.11.1\Zope\lib\python\Zope2\__init__.py", line 51, in app
    startup()
  File "D:\Zope\2.11.1\Zope\lib\python\Zope2\__init__.py", line 47, in startup
    _startup()
  File "D:\Zope\2.11.1\Zope\lib\python\Zope2\App\startup.py", line 110, in startup
    OFS.Application.initialize(application)
  File "D:\Zope\2.11.1\Zope\lib\python\OFS\Application.py", line 309, in initialize
    initializer.initialize()
  File "D:\Zope\2.11.1\Zope\lib\python\OFS\Application.py", line 330, in initialize
    self.install_cp_and_products()
  File "D:\Zope\2.11.1\Zope\lib\python\OFS\Application.py", line 350, in install_cp_and_products
    app._setObject('Control_Panel', cpl)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\Connection.py", line 805, in setstate
    self._setstate(obj)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\Connection.py", line 864, in _setstate
    self._reader.setGhostState(obj, p)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\serialize.py", line 604, in setGhostState
    state = self.getState(pickle)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\serialize.py", line 597, in getState
    return unpickler.load()
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\serialize.py", line 479, in _persistent_load
    return self.loaders[reference_type](self, *args)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\serialize.py", line 540, in load_multi_oid
    conn = self._conn.get_connection(database_name)
  File "D:\Zope\2.11.1\Zope\lib\python\ZODB\Connection.py", line 362, in get_connection
    new_con = self._db.databases[database_name].open(
KeyError: 'test'

----------------------------------------------------------------------------------------------------------------------------
Ich habe ein Mount-Point in mein Instance definiert, mit der Name test, der so definiert ist:
<zodb_db test>
    # Main FileStorage database
    <filestorage>
      path $INSTANCE/var-test/Data.fs
    </filestorage>
    mount-point /test
</zodb_db>
Der var-test/data.fs ist in Ordnung. Dies habe ich in ein neue Instance ohne Problem zum laufen gebraucht.

----------------------------------------------------------------------------------------------------------------------------
Der Versuch data.fs zu reparieren mit fsrecover.py zeigte keinen Fehler. Die Meldung ist unten:

D:\Zope\2.11.1\Zope\lib\python\ZODB>python fsrecover.py D:\Zope\Instance\2.11.1\
var\Data.fs D:\Zope\Instance\2.11.1\var\Data.fs.rec
Recovering D:\Zope\Instance\2.11.1\var\Data.fs into D:\Zope\Instance\2.11.1\var\
Data.fs.rec
. 1 . 2 . 3 . 4 . 5 . 6 . 7 . 8 . 9 . 0
0 bytes removed during recovery

----------------------------------------------------------------------------------------------------------------------------
Und meine System ist wie folgt:
ZOPE: (Zope 2.11.1-final, python 2.4.4, win32)
PYTHON: 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)]
System Platform: win32


Wie kann ich mein data.fs wieder im Laufen bekommen. Ich bin dankbar für jede Idee.

Gruß
Laleh


_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.