Comment 0 for bug 397385

Revision history for this message
Maik Derstappen (maik-derstappen) wrote :

If i start my zope2.10 instance in forground, i see this trace sometimes:

./bin/instance fg
/home/maik/development/zope/buildouts/share/sat/parts/instance/bin/runzope -X debug-mode=on
2009-07-09 13:23:51 INFO ZServer HTTP server started at Thu Jul 9 13:23:51 2009
 Hostname: 0.0.0.0
 Port: 8088
2009-07-09 13:23:53 INFO Marshall libxml2-python not available. Unable to register libxml2 based marshallers.
/home/maik/development/zope/buildouts/share/sat/parts/zope2/lib/python/zope/configuration/xmlconfig.py:323: DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import of zope.app.annotation will become unsupported in Zope 3.5
  __import__(arguments[0])
2009-07-09 13:24:02 INFO Zope Ready to handle requests
2009-07-09 13:24:02 INFO ZEO.ClientStorage (20251) ClientStorage (pid=20251) created RW/normal for storage: 'share'
2009-07-09 13:24:02 INFO ZEO.cache created temporary cache file '<fdopen>'
2009-07-09 13:24:02 INFO ZEO.ClientStorage (20251) Testing connection <ManagedClientConnection ('127.0.0.1', 8200)>
2009-07-09 13:24:02 INFO ZEO.ClientStorage (20251) ClientStorage (pid=20251) created RW/normal for storage: 'share'
2009-07-09 13:24:02 INFO ZEO.zrpc.Connection(C) (127.0.0.1:8200) received handshake 'Z303'
2009-07-09 13:24:02 INFO ZEO.cache created temporary cache file '<fdopen>'
2009-07-09 13:24:02 INFO ZEO.ClientStorage (20251) Testing connection <ManagedClientConnection ('127.0.0.1', 8200)>
2009-07-09 13:24:02 INFO ZEO.zrpc.Connection(C) (127.0.0.1:8200) received handshake 'Z303'
2009-07-09 13:24:02 INFO ZEO.ClientStorage (20251) Server authentication protocol None
2009-07-09 13:24:02 INFO ZEO.ClientStorage (20251) Connected to storage: ('localhost', 8200)
2009-07-09 13:24:02 INFO ZEO.ClientStorage (20251) Verifying cache
2009-07-09 13:24:02 INFO ZEO.ClientStorage (20251) endVerify finishing
2009-07-09 13:24:02 INFO ZEO.ClientStorage (20251) endVerify finished
2009-07-09 13:24:02 INFO ZEO.ClientStorage (20251) Server authentication protocol None
2009-07-09 13:24:02 INFO ZEO.ClientStorage (20251) Connected to storage: ('localhost', 8200)
2009-07-09 13:24:02 INFO ZEO.ClientStorage (20251) Verifying cache
2009-07-09 13:24:02 INFO ZEO.ClientStorage (20251) endVerify finishing
2009-07-09 13:24:02 INFO ZEO.ClientStorage (20251) endVerify finished
2009-07-09 13:24:02 INFO ZEO.ClientStorage (20251) Disconnected from storage: "('localhost', 8200)"
2009-07-09 13:24:02 ERROR Zope.ZODBMountPoint Failed to mount database. exceptions.ValueError (database_name 'share' already in databases)
Traceback (most recent call last):
  File "/home/maik/development/zope/buildouts/share/sat/parts/zope2/lib/python/Products/ZODBMountPoint/MountedObject.py", line 257, in _getOrOpenObject
    conn = self._getMountedConnection(anyjar)
  File "/home/maik/development/zope/buildouts/share/sat/parts/zope2/lib/python/Products/ZODBMountPoint/MountedObject.py", line 147, in _getMountedConnection
    self._getDB()
  File "/home/maik/development/zope/buildouts/share/sat/parts/zope2/lib/python/Products/ZODBMountPoint/MountedObject.py", line 157, in _getDB
    return getConfiguration().getDatabase(self._path)
  File "/home/maik/development/zope/buildouts/share/sat/parts/zope2/lib/python/Zope2/Startup/datatypes.py", line 280, in getDatabase
    db = factory.open(name, self.databases)
  File "/home/maik/development/zope/buildouts/share/sat/parts/zope2/lib/python/Zope2/Startup/datatypes.py", line 178, in open
    DB = self.createDB(database_name, databases)
  File "/home/maik/development/zope/buildouts/share/sat/parts/zope2/lib/python/Zope2/Startup/datatypes.py", line 175, in createDB
    return ZODBDatabase.open(self, databases)
  File "/home/maik/development/zope/buildouts/share/sat/parts/zope2/lib/python/ZODB/config.py", line 105, in open
    databases=databases)
  File "/home/maik/development/zope/buildouts/share/sat/parts/zope2/lib/python/ZODB/DB.py", line 270, in __init__
    raise ValueError("database_name %r already in databases" %
ValueError: database_name 'share' already in databases

'share' is a ZODB Mountpoint which comes from a ZEO Server.