At 10:33 AM 10/3/2002 -0500, you wrote:
beno wrote:
It (finally) strikes me that the reason I can't get my ftpd started on port 8021 is because I'm using InstanceHome and zctl.py
Old zctl.py, too. What does your zope.conf look like? You need to add something like '-f 8021' to your ZOPE_OPTS line.
ZOPE_HOME = pjoin(HERE, '..', 'Zope_software_home') ZOPE_OPTS = '-p - -f -' ZOPE_PORT = 8000 ZOPE_LOG = pjoin(HERE, 'var', 'debug.log') ZOPE_ENV['PRODUCTS_PATH'] = ("%(SOFTWARE_PRODUCTS)s:" + pjoin(HERE, '..', 'OtherProducts') + ":%(INSTANCE_PRODUCTS)s") ## ZEO ## # 'localhost' will be used if ZEO_SERVER_NAME has no setting. #ZEO['ZEO_SERVER_NAME'] = 'www.zeohost.com' # You must specify a ZEO_SERVER_PORT. ZEO['ZEO_SERVER_PORT'] = 5800 ZEO['STUPID_LOG_FILE'] = pjoin(HERE, 'var', 'ZEO_Server.log') ZEO_WAIT_BAILOUT = 200 # Don't try for more than num seconds DOUG HELLMAN WRITES:
It's (the ftp server) running on port 8021, just like you want. Instead of passing port info as an argument in ZOPE_OPTS, I am specifying the ZOPE_PORT, which is really the *base* port for all services. Since ftp is normally 21, the ZServer ftp port is ZOPE_BASE + 21 = 8021.
Well, I follow your logic (which is nifty), but my ZServer ftp *still* isn't running. So I'm still missing something. TIA again, beno