Together with my colleague Jan we today tried to fix a problem with Zope ZEO server that wouldn't start. Very strange we thought since another ZEO server on the same machine was working fine. We compared zope.conf files and found nothing obvious. Here was the error you get with 'bin/runzeo':


root@da-ovz-vm99182:/var/lib/zope-2.8.9/aragdb-zeo1# ./bin/runzeo 
Error: error opening file //var/lib/zope-2.8.9/aragdb-zeo1/etc/zeo.conf: 
[Errno ftp error] no host given

What?? ftp error??

Long story short, the error was this line in 'runzeo':


CONFIG_FILE="/${INSTANCE_HOME}/etc/zeo.conf"

which should have been this:


CONFIG_FILE="${INSTANCE_HOME}/etc/zeo.conf"

Not so easy to spot because the CONFIG_FILE line is something you rarely look closely at.

Your email will never ever be published.

Previous:
Fun Python error message September 7, 2007 Zope
Next:
Vertically expanding textarea input boxes September 19, 2007 JavaScript
Related by category:
Announcing Smurl - a free URL compressor September 7, 2005 Zope
To all Zope developers: Does this sound familiar? March 8, 2011 Zope
What I like and dislike about Grok April 11, 2008 Zope
Mocking a Python standard library March 14, 2008 Zope