Nasty human error in Zope ZEO setup

14 September 2007   0 comments   Zope

Mind That Age!

This blog post is 11 years old! Most likely, its content is outdated. Especially if it's technical.

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.

Comments

Thank you for posting a comment

Your email will never ever be published


Related posts

Previous:
Fun Python error message 07 September 2007
Next:
Vertically expanding textarea input boxes 19 September 2007
Related by Text:
HTML Tree on Hacker News 18 May 2014
YouTube - Nigella's XXXmas 19 December 2008
How and why to use django-mongokit (aka. Django to MongoDB) 08 March 2010
How to track Google Analytics pageviews on non-web requests (with Python) 03 May 2016
hashin 0.7.0 and multiple packages 30 August 2016