<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">Hello, <br>
<br>
This is the first time I write in this list, looking for some advice to
solve the problems we have encountered in our Zope enviroment. <br>
<br>
We are running a non-zeo Zope 2.9.8 with 2 databases (the main ZODB and
a mounted database, called 'twikidb', via ZODB Mounted point, within a
Plone instance on an object called 'twiki_import'). <br>
At some point the Plone instance wasn't accessible anymore, neither the
left bar menu on the ZMI, raising some <b>KeyErrors</b> as follows
(instance.log): <br>
<br>
<i>2008-07-08T14:12:30 ERROR ZODB.Connection Couldn't load state for
0x2762<br>
Traceback (most recent call last):<br>
&nbsp; File "/opt/zope/src/Zope-2.9.7-final/lib/python/ZODB/Connection.py",
line 732, in setstate<br>
&nbsp;&nbsp;&nbsp; self._setstate(obj)<br>
&nbsp; File "/opt/zope/src/Zope-2.9.7-final/lib/python/ZODB/Connection.py",
line 786, in _setstate<br>
&nbsp;&nbsp;&nbsp; self._reader.setGhostState(obj, p)<br>
&nbsp; File "/opt/zope/src/Zope-2.9.7-final/lib/python/ZODB/serialize.py",
line 604, in setGhostState<br>
&nbsp;&nbsp;&nbsp; state = self.getState(pickle)<br>
&nbsp; File "/opt/zope/src/Zope-2.9.7-final/lib/python/ZODB/serialize.py",
line 597, in getState<br>
&nbsp;&nbsp;&nbsp; return unpickler.load()<br>
&nbsp; File "/opt/zope/src/Zope-2.9.7-final/lib/python/ZODB/serialize.py",
line 479, in _persistent_load<br>
&nbsp;&nbsp;&nbsp; return self.loaders[reference_type](self, *args)<br>
&nbsp; File "/opt/zope/src/Zope-2.9.7-final/lib/python/ZODB/serialize.py",
line 540, in load_multi_oid<br>
&nbsp;&nbsp;&nbsp; conn = self._conn.get_connection(database_name)<br>
&nbsp; File "/opt/zope/src/Zope-2.9.7-final/lib/python/ZODB/Connection.py",
line 305, in get_connection<br>
&nbsp;&nbsp;&nbsp; new_con = self._db.databases[database_name].open(<br>
KeyError: 'twikidb'<br>
------<br>
2008-07-08T14:12:30 ERROR Zope.SiteErrorLog
<a class="moz-txt-link-freetext" href="http://i3.ripe.net:8085/Plone/manage_main">http://i3.ripe.net:8085/Plone/manage_main</a><br>
Traceback (innermost last):<br>
&nbsp; Module ZPublisher.Publish, line 115, in publish<br>
&nbsp; Module ZPublisher.mapply, line 88, in mapply<br>
&nbsp; Module ZPublisher.Publish, line 41, in call_object<br>
&nbsp; Module Shared.DC.Scripts.Bindings, line 311, in __call__<br>
&nbsp; Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec<br>
&nbsp; Module App.special_dtml, line 176, in _exec<br>
&nbsp; Module DocumentTemplate.DT_Let, line 76, in render<br>
&nbsp; Module DocumentTemplate.DT_In, line 643, in renderwob<br>
&nbsp; Module DocumentTemplate.DT_In, line 771, in sort_sequence<br>
&nbsp; Module ZODB.Connection, line 732, in setstate<br>
&nbsp; Module ZODB.Connection, line 786, in _setstate<br>
&nbsp; Module ZODB.serialize, line 604, in setGhostState<br>
&nbsp; Module ZODB.serialize, line 597, in getState<br>
&nbsp; Module ZODB.serialize, line 479, in _persistent_load<br>
&nbsp; Module ZODB.serialize, line 540, in load_multi_oid<br>
&nbsp; Module ZODB.Connection, line 305, in get_connection<br>
KeyError: 'twikidb'</i><br>
<br>
<br>
This is how the zope.conf look like:<br>
<br>
<br>
<i>&lt;zodb_db main&gt;<br>
&nbsp;&nbsp;&nbsp; # Main database<br>
&nbsp;&nbsp;&nbsp; cache-size 5000<br>
# FileStorage database<br>
&nbsp;&nbsp;&nbsp; &lt;filestorage&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; path &lt;instance&gt;/var/filestorage/Data.fs<br>
&nbsp;&nbsp;&nbsp; &lt;/filestorage&gt;<br>
&nbsp;&nbsp;&nbsp; mount-point /<br>
&lt;/zodb_db&gt;<br>
&nbsp;<br>
&lt;zodb_db twikidb&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Contains the Twiki DB<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cache-size 2000<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;filestorage&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; path &lt;instance&gt;/var/filestorage/twikidb/Data.fs<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/filestorage&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mount-point /Plone/twiki<br>
&lt;/zodb_db&gt;<br>
&nbsp;<br>
&lt;zodb_db temporary&gt;<br>
&nbsp;&nbsp;&nbsp; # Temporary storage database (for sessions)<br>
&nbsp;&nbsp;&nbsp; &lt;temporarystorage&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name temporary storage for sessioning<br>
&nbsp;&nbsp;&nbsp; &lt;/temporarystorage&gt;<br>
&nbsp;&nbsp;&nbsp; mount-point /temp_folder<br>
&nbsp;&nbsp;&nbsp; container-class Products.TemporaryFolder.TemporaryContainer<br>
&lt;/zodb_db&gt;</i><br>
<br>
<br>
<br>
Any idea on how to fix this? I would unmount the database 'twikidb' if
needed, even delete the object related. The most important thing is
getting back the Plone instance and the ZMI. <br>
<br>
Thank you!<br>
<br>
&nbsp;- Miguel <br>
<br>
</font></font>
<pre class="moz-signature" cols="72">

</pre>
</body>
</html>