[Zope] zope.conf Zeo question

Jonathan dev101 at magma.ca
Wed May 24 09:16:24 EDT 2006


I am trying to set up a zeo client on one machine and a zeo server on 
another machine.

I get the following messages in zeo.log (on the zeo server machine):

2006-05-24T08:42:04 INFO ZEO.StorageServer (8610) StorageServer created RW 
with storages: 1:RW:/apps/zeo1/var/Data.fs
------
2006-05-24T08:42:04 INFO ZEO.zrpc (8610) listening on ('', 8100)

So it looks like the zeo server is running ok & listing on port 8100.


On the zeo client machine I have the following entries in zope.conf:

<zodb_db main>
    # Main FileStorage database
    <filestorage>
      path $INSTANCE/var/Data.fs
    </filestorage>
    mount-point /
</zodb_db>
 <zodb_db zeo1>
   mount-point /Test/TestData
   # ZODB cache, in number of objects
   cache-size 5000
   <zeoclient>
     server 192.168.123.1:8100
     storage 1
     name zeostorage
     var /apps/zeo1/var
     # ZEO client cache, in bytes
     cache-size 20MB
     # Uncomment to have a persistent disk cache
     client zeo1
   </zeoclient>
 </zodb_db>

(192.168.123.1 is the IP address of the server on my LAN)

When I run zope on the zeo client & check the 'zeo1' database in the 
ControlPanel I get the following traceback:

Traceback (innermost last):
  Module ZPublisher.Publish, line 106, in publish
  Module ZPublisher.BaseRequest, line 323, in traverse
  Module App.ApplicationManager, line 122, in __bobo_traverse__
  Module App.ApplicationManager, line 113, in __getitem__
  Module Zope2.Startup.datatypes, line 280, in getDatabase
  Module Zope2.Startup.datatypes, line 178, in open
  Module Zope2.Startup.datatypes, line 175, in createDB
  Module ZODB.config, line 97, in open
  Module ZODB.config, line 155, in open
  Module ZEO.ClientStorage, line 312, in __init__
  Module ZEO.cache, line 107, in __init__
  Module ZEO.cache, line 774, in __init__
IOError: [Errno 2] No such file or directory: '/apps/zeo1/var/zeo1-1.zec'
Why is the zeo client looking for '/apps/zeo1/var/zeo1-1.zec'? How do I get 
the zeo client to point at the zeo-created Data.fs which resides in 
/apps/zeo1/var on the machine at 192.168.123.1?Zope 2.9.2 is running on the 
zeo client.  Zope is not running on the server (just zeo from the Zope 2.9.2 
installation tarball)Any and all help appreciated!Jonathan 



More information about the Zope mailing list