Well, setting my Zope to run in Debug mode has shed some light on it,
but I still do not know how to fix this. On trying to connect to the
ZODB, I am getting the following error:
2006-05-09 15:43:09 INFO ZEO.ClientStorage (14591) Testing connection
<ManagedClientConnection ('10.4.96.96', 8000)>
2006-05-09 15:43:09 ERROR ZEO.zrpc.Connection(C) (10.4.96.96:8000) bad
handshake 'Z201'
2006-05-09 15:43:09 ERROR ZEO.zrpc.Connection(C) (10.4.96.96:8000) Error
caught in asyncore
Traceback (most recent call last):
File "/home/zope2/Zope285/lib/python/ZEO/zrpc/connection.py", line
706, in pending
self.handle_read_event()
File "/usr/local/python2.3/lib/python2.3/asyncore.py", line 390, in
handle_read_event
self.handle_read()
File "/home/zope2/Zope285/lib/python/ZEO/zrpc/smac.py", line 219, in
handle_read
self.message_input(msg)
File "/home/zope2/Zope285/lib/python/ZEO/zrpc/connection.py", line
791, in recv_handshake
Connection.recv_handshake(self, proto)
File "/home/zope2/Zope285/lib/python/ZEO/zrpc/connection.py", line
379, in recv_handshake
raise ZRPCError("bad handshake %r" % proto)
ZRPCError: bad handshake 'Z201'
2006-05-09 15:43:09 ERROR ZEO.zrpc (14591) CW: error in testConnection
(('10.4.96.96', 8000))
Traceback (most recent call last):
File "/home/zope2/Zope285/lib/python/ZEO/zrpc/client.py", line 483,
in test_connection
self.preferred = self.client.testConnection(self.conn)
File "/home/zope2/Zope285/lib/python/ZEO/ClientStorage.py", line 466,
in testConnection
auth = stub.getAuthProtocol()
File "/home/zope2/Zope285/lib/python/ZEO/ServerStub.py", line 85, in
getAuthProtocol
return self.rpc.call('getAuthProtocol')
File "/home/zope2/Zope285/lib/python/ZEO/zrpc/connection.py", line
529, in call
raise DisconnectedError()
DisconnectedError
Jonathan Cleaver wrote:
Many thanks for the advice.
Yes, the user does have read/write access to the zeo/var directory on
the server and all of its contents.
Still no joy though.
Jonathan Cleaver
Jonathan wrote:
Do you have the appropriate access to the directory on the server?
(ie. the process zope runs as needs to be able to read/write to the
directory on the server).
Jonathan
----- Original Message ----- From: "Jonathan Cleaver"
<[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, May 09, 2006 7:50 AM
Subject: [Zope] Mounting ZODB issue
Hi all,
I am trying to mount the ZODB of a Plone 2.0.5/Zope-2.7.6/Python
2.3.5 on a Plone 2.1.2/Zope-2.8.5/Python 2.3.5
I have created the appropriate entry in the zope.conf thus...
<zodb_db weeble>
mount-point /weeble
<zeoclient>
server 10.4.96.98:9999
storage 1
name zeostorage
var $INSTANCE/var
</zeoclient>
</zodb_db>
I know that this setup works on another Zope instance, because I cut
and pasted it out of the zope.conf there. I do not believe that there
are any firewall issues between the servers because a seperate
instance on t the same machine is already connecting to this ZEO server.
The problem that I have is that when I create a ZODB Mount Point, the
weeble mount point appears available but when I click Create the
browser just sits there waiting for a reply that never comes. The
ZODB Mount Point is not created. The Zope instance, however, does not
appear to deadlock; I can just stop the browser browse the ZMI
perfectly well.
Is this a Zope version issue? Is there a 'rule' in ZEO where it can
only accept one connection from each client machine? Or have I just
missed a step in the process?
Many thanks in advance.
Jonathan Cleaver
Defence Academy - UK
_______________________________________________
Zope maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________
Zope maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________
Zope maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________
Zope maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )