Hi; I'm reading the Plone book. It states that for Zope 2.7 (I have 2.78) ZEO is built in by default but must be instantiated thus: cd /opt/Zope-2/7/bin ./mkzeoinstance /var/zeo or some such code. So I tried this: cd /usr/local/zope/278/bin ./mkzeoinstance.py ../../instance2/var/zeo where 278 is my installation, instance2 is a Zope instance (I have 3), and mkzeoinstance.py is the command that works (mkzeoinstance by itself doesn't print anything to screen other than a command failed message). The Plone book then states that I must move Data.fs into the new /zeo/var dir, which I did. Everything seems to go well. If I start Zope using runzope I get this output at the tail end: ------ 2006-09-02T13:15:35 INFO(0) Zope Ready to handle requests However, if I try to log into the ZMI my passwords don't work. I even tried creating an emergencyuser and that didn't work, either. What to do? Also, should I move these other files into the new zeo/var dir? Data.fs.index Data.fs.lock Data.fs.old Data.fs.tmp I tried that, also, with negative results, but it seems to me that if I'm moving Data.fs I should move these others as well. TIA, beno
----- Original Message ----- From: "beno" <zope@2012.vi> To: <zope@zope.org> Sent: Saturday, September 02, 2006 9:24 AM Subject: [Zope] ZEO Problem
Hi; I'm reading the Plone book. It states that for Zope 2.7 (I have 2.78) ZEO is built in by default but must be instantiated thus:
cd /opt/Zope-2/7/bin ./mkzeoinstance /var/zeo
or some such code. So I tried this:
cd /usr/local/zope/278/bin ./mkzeoinstance.py ../../instance2/var/zeo
where 278 is my installation, instance2 is a Zope instance (I have 3), and mkzeoinstance.py is the command that works (mkzeoinstance by itself doesn't print anything to screen other than a command failed message). The Plone book then states that I must move Data.fs into the new /zeo/var dir, which I did. Everything seems to go well. If I start Zope using runzope I get this output at the tail end:
------ 2006-09-02T13:15:35 INFO(0) Zope Ready to handle requests
In your .../log/events.log file you should see some zeo connection activity, like: 2006-09-02T08:11:17 INFO Zope Ready to handle requests ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) ClientStorage (pid=3196) created RW/normal for storage: '1' ------ 2006-09-02T08:11:44 INFO ZEO.cache created temporary cache file '<fdopen>' ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) Testing connection <ManagedClientConnection ('194.164.124.4', 8100)> ------ 2006-09-02T08:11:44 INFO ZEO.zrpc.Connection(C) (194.164.124.4:8100) received handshake 'Z303' ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) Server authentication protocol None ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) Connected to storage: ('sparrow.conetra.com', 8100) ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) Verifying cache ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) Waiting for cache verification to finish ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) Waiting for cache verification to finish ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) endVerify finishing ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) endVerify finished ------ This will tell you that your zeo client is connected to the zeo server
However, if I try to log into the ZMI my passwords don't work. I even tried creating an emergencyuser and that didn't work, either. What to do? Also, should I move these other files into the new zeo/var dir?
Data.fs.index Data.fs.lock Data.fs.old Data.fs.tmp
All you need is Data.fs. Data.fs.index will be recreated if it is not found when zope starts Data.fs.old is created when you pack your zodb You can safely ignore the .lock and .tmp files (they are created by Zope as needed) Jonathan
I got this working by changing the following in zope.conf: server localhost:7080 to server 202.71.106.119:9999 Apparently, it needs its own port? TIA, beno Jonathan wrote:
----- Original Message ----- From: "beno" <zope@2012.vi> To: <zope@zope.org> Sent: Saturday, September 02, 2006 9:24 AM Subject: [Zope] ZEO Problem
Hi; I'm reading the Plone book. It states that for Zope 2.7 (I have 2.78) ZEO is built in by default but must be instantiated thus:
cd /opt/Zope-2/7/bin ./mkzeoinstance /var/zeo
or some such code. So I tried this:
cd /usr/local/zope/278/bin ./mkzeoinstance.py ../../instance2/var/zeo
where 278 is my installation, instance2 is a Zope instance (I have 3), and mkzeoinstance.py is the command that works (mkzeoinstance by itself doesn't print anything to screen other than a command failed message). The Plone book then states that I must move Data.fs into the new /zeo/var dir, which I did. Everything seems to go well. If I start Zope using runzope I get this output at the tail end:
------ 2006-09-02T13:15:35 INFO(0) Zope Ready to handle requests
In your .../log/events.log file you should see some zeo connection activity, like:
2006-09-02T08:11:17 INFO Zope Ready to handle requests ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) ClientStorage (pid=3196) created RW/normal for storage: '1' ------ 2006-09-02T08:11:44 INFO ZEO.cache created temporary cache file '<fdopen>' ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) Testing connection <ManagedClientConnection ('194.164.124.4', 8100)> ------ 2006-09-02T08:11:44 INFO ZEO.zrpc.Connection(C) (194.164.124.4:8100) received handshake 'Z303' ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) Server authentication protocol None ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) Connected to storage: ('sparrow.conetra.com', 8100) ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) Verifying cache ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) Waiting for cache verification to finish ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) Waiting for cache verification to finish ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) endVerify finishing ------ 2006-09-02T08:11:44 INFO ZEO.ClientStorage (3196) endVerify finished ------
This will tell you that your zeo client is connected to the zeo server
However, if I try to log into the ZMI my passwords don't work. I even tried creating an emergencyuser and that didn't work, either. What to do? Also, should I move these other files into the new zeo/var dir?
Data.fs.index Data.fs.lock Data.fs.old Data.fs.tmp
All you need is Data.fs.
Data.fs.index will be recreated if it is not found when zope starts Data.fs.old is created when you pack your zodb You can safely ignore the .lock and .tmp files (they are created by Zope as needed)
Jonathan
----- Original Message ----- From: "beno" <zope@2012.vi> To: <zope@zope.org> Sent: Saturday, September 02, 2006 10:27 AM Subject: Re: [Zope] ZEO Problem
I got this working by changing the following in zope.conf: server localhost:7080 to server 202.71.106.119:9999 Apparently, it needs its own port? TIA, beno
You need to make sure that the entry in your zeo client config file (zope.conf) eg <zeoclient> server 194.123.123.123:8100 matches the entry in your zeo server config file (zeo.conf) eg. <zeo> address 8100 and that your zeo server is running on the ip address specified in the <zeoclient> entry in zope.conf Jonathan
Jonathan wrote:
I got this working by changing the following in zope.conf: server localhost:7080 to server 202.71.106.119:9999 Apparently, it needs its own port? TIA, beno
You need to make sure that the entry in your zeo client config file (zope.conf) eg
<zeoclient> server 194.123.123.123:8100
matches the entry in your zeo server config file (zeo.conf) eg.
<zeo> address 8100
and that your zeo server is running on the ip address specified in the <zeoclient> entry in zope.conf That's logical. Why does zeo need its own port?
--On 2. September 2006 12:15:47 -0400 beno <zope@2012.vi> wrote:
<zeo> address 8100
and that your zeo server is running on the ip address specified in the <zeoclient> entry in zope.conf
That's logical. Why does zeo need its own port?
Because every kind of network service needs its own port. -aj -- ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: info@zopyx.com - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope & Plone development, Consulting
participants (3)
-
Andreas Jung -
beno -
Jonathan