Problems with ZEO on zope 2.7.0
Hi. I wave a problem with ZEO on zope 2.7.0. On my older zopes everything is fine. But zope 2.7.0 acts strange. It is working (at least I think so) but when I go to management panel an there to " /Control_Panel/Database/main" it shows me that i use database located in " /opt/Zope-2.7.0/instancje/2/var/Data.fs" and it size is 0.2K instead of giving me hostname:port as location of ZODB and it's true size. On the beginning I thought that it's not using zeo server but it is using it. When I shut down zeo server I get errors "not connected to zodb" or something like that. And netstat shows me connections on proper ports. It looks like everything is working, only the management panel is showing wrong data (even database activity is zero).
Piotr Kral wrote:
something like that. And netstat shows me connections on proper ports. It looks like everything is working, only the management panel is showing wrong data (even database activity is zero).
If you navigate around the ZMI, is all your data where you expect it to be? Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Chris Withers wrote:
Piotr Kral wrote:
something like that. And netstat shows me connections on proper ports. It looks like everything is working, only the management panel is showing wrong data (even database activity is zero).
If you navigate around the ZMI, is all your data where you expect it to be?
Chris
Yes. Everything seams to be working fine. I've installed plone and put there two sites. The proper ZODB is growing where it suppose to ("/opt/Zope-2.7.0/instancje/2/var/Data.fs") The only thing that isn't working is the interface in ZMI it shows wrong datafile and zero data activity.
Piotr Kral wrote at 2004-3-25 12:37 +0100:
Hi. I wave a problem with ZEO on zope 2.7.0. On my older zopes everything is fine. But zope 2.7.0 acts strange. It is working (at least I think so) but when I go to management panel an there to " /Control_Panel/Database/main" it shows me that i use database located in " /opt/Zope-2.7.0/instancje/2/var/Data.fs" and it size is 0.2K instead of giving me hostname:port as location of ZODB and it's true size. On the beginning I thought that it's not using zeo server but it is using it. When I shut down zeo server I get errors "not connected to zodb" or something like that. And netstat shows me connections on proper ports. It looks like everything is working, only the management panel is showing wrong data (even database activity is zero).
Looks like you are using ZEO via a "custom_zodb". Zope 2.7 partially broke "custom_zodb" support: The main database still uses "custom_zodb" to connect to ZEO but the "Database" management pages ignore it and show what is configured in the configuration file even though it is not used. Do not use "custom_zodb" with Zope 2.7. Please file a bug report (if I have not done it already (I am not sure)). -- Dieter
Dieter Maurer wrote:
Piotr Kral wrote at 2004-3-25 12:37 +0100:
Looks like you are using ZEO via a "custom_zodb".
Zope 2.7 partially broke "custom_zodb" support:
The main database still uses "custom_zodb" to connect to ZEO but the "Database" management pages ignore it and show what is configured in the configuration file even though it is not used.
Do not use "custom_zodb" with Zope 2.7.
Please file a bug report (if I have not done it already (I am not sure)).
You ware right. When I configured Zope in zope.conf ZMI is working fine. The lack of documentation for Zope 2.7 and ZEO is sometimes really annoying. I had to configure it almost "by touch".
Piotr Kral <piotr.kral@euro.coig.pl> on 3/29/04 wrote:
The lack of documentation for Zope 2.7 and ZEO is sometimes really annoying. I had to configure it almost "by touch".
have you seen http://plope.com/Members/chrism/whatsnew_27/view I find zope.conf self-documented enough to just about everything that needs to be done. <--> george donnelly ~ http://www.zettai.net/ ~ "Quality Zope Hosting" Shared and Dedicated Zope Hosting ~ Zope Servers ~ Zope Websites Yahoo, AIM: zettainet ~ ICQ: 51907738 ~ Sales (USA): 1-866-967-3669
Piotr Kral wrote at 2004-3-29 13:33 +0200:
... You ware right. When I configured Zope in zope.conf ZMI is working fine. The lack of documentation for Zope 2.7 and ZEO is sometimes really annoying. I had to configure it almost "by touch".
For all ZConfig configurated applications and packages, you find plenty of documentation in the associated "schema" (default: "schema.xml") or "component" (default: "component.xml") file. -- Dieter
participants (4)
-
Chris Withers -
Dieter Maurer -
george donnelly -
Piotr Kral