[Zope-dev] Zope 2.7b2 INSTANCE_HOME

Ng Pheng Siong ngps at netmemetic.com
Sat Sep 27 12:50:46 EDT 2003


Hi,

I'm updating ZServerSSL to work with Zope 2.7.0b2.

I did the following to install Zope:

$ configure --prefix=~/pkg/zope270b2
$ make; make install
$ ~/pkg/zope270b2/bin/mkzopeinstance.py

The instance is in ~/pkg/inst_zope/.

Next, apply ZServerSSL patches, copy stuff over...

Then, away we go!
$ ~/pkg/inst_zope/bin/runzope

But:
IOError: [Errno 2] No such file or directory: 
'/usr/local/home/ngps/pkg/zope270b2/ssl/dh1024.pem'

The offending code is this:
        ssl_ctx.set_tmp_dh('%s/ssl/dh1024.pem' % INSTANCE_HOME)

So INSTANCE_HOME is pointing to ~/pkg/zope270b2.

Shouldn't it be pointing to ~/pkg/inst_zope?

BTW, 
$ (cd ~/pkg/zope270b2; ln -s ../inst_zope/ssl; ../inst_zope/bin/runzope)

2003-09-28T00:45:15 INFO(0) ZServer (ZServerSSL/0.12) 
HTTPS server started at Sun Sep 28 00:45:15 2003
        Hostname: vista.netmemetic.com
        Port: 8443

Woo-hoo!

-- 
Ng Pheng Siong <ngps at netmemetic.com> 




More information about the Zope-Dev mailing list