zeo: commit lock tests fail, zope hangs when opening
When I run the ZEO (2.0b1) tests, it gets all the way to checkCommitLock2OnCommit and just sits there. I have Red Hat 7.3. I built Python 2.1.3: ./configure --with-threads --without-pymalloc make make altinstall I installed Zope 2.5.1 from the source tarball. I can start and run Zope just fine without ZEO, but when I stop it and place a seemingly banal and vanilla custom_zodb.py in /usr/local/Zope/var/, start ZEO, and start Zope, I am unable to access Zope. I get a timeout error in the browser. I can give much more detailed information, if someone can help me identify what's relevant to solving this problem. Thanks, // mark -
how about posting the contents of that custom_zodb.py, since it is very obviously the piece that makes things break??? jens p.s.: custom_zodb.py goes into the root of an INSTANCE_HOME, is that what your /usr/local/Zope/var really is? On Tuesday, Sep 3, 2002, at 21:05 US/Eastern, Mark McEahern wrote:
When I run the ZEO (2.0b1) tests, it gets all the way to checkCommitLock2OnCommit and just sits there.
I have Red Hat 7.3.
I built Python 2.1.3:
./configure --with-threads --without-pymalloc make make altinstall
I installed Zope 2.5.1 from the source tarball.
I can start and run Zope just fine without ZEO, but when I stop it and place a seemingly banal and vanilla custom_zodb.py in /usr/local/Zope/var/, start ZEO, and start Zope, I am unable to access Zope. I get a timeout error in the browser.
I can give much more detailed information, if someone can help me identify what's relevant to solving this problem.
Thanks,
// mark
-
[Jens Vagelpohl [mailto:jens@zope.com]]
how about posting the contents of that custom_zodb.py, since it is very obviously the piece that makes things break???
# custom_zodb.py from ZEO.ClientStorage import ClientStorage port = 9000 Storage = ClientStorage(('localhost', port))
p.s.: custom_zodb.py goes into the root of an INSTANCE_HOME, is that what your /usr/local/Zope/var really is?
If I don't install ZEO, that's where the Data.fs for non-ZEO Zope lives. This is what /usr/local/Zope/start looks like: #! /bin/sh reldir=`dirname $0` INST_HOME=`cd $reldir; pwd` export INST_HOME export STUPID_LOG_FILE='/var/tmp/zope.log' export STUPID_LOG_SEVERITY=-999 exec /usr/local/bin/python2.1 \ $INST_HOME/z2.py \ -D "$@" \ -u zope Thanks, // mark -
participants (2)
-
Jens Vagelpohl -
Mark McEahern