[Zope] trouble starting zope

David Kelly dkelly@ono.com
Thu, 14 Mar 2002 14:54:15 +0100


Hi ... I have installed zope from Zope-2.5.0-linux2-x86.tgz on a virtual
server in an ensim webppliance "hosting environment".

Ensim creates a user home directory  /home/usr and two other directories
/home/usr/mainwebsite_cgi (which is a link to var/www/cgi-bin) and
/home/usr/mainwebsite_html  (which is a link to var/www/html)

I have not been able to start zope once installed...it doesnt matter where I
install I always get the same message:

for example: from an install to a directory in the cgi-bin

bash-2.04$ ./start
./start: dirname: command not found
/home/usrname/mainwebsite_cgi/zope25/bin/python: can't open file
'/home/usrname/z2.py'
bash-2.04$

I get the same can't open file '/home/usrname/z2.py' wherever I install zope
to (directly in the home directory, in the cgi-bin, in the usr directory
etc).... and I dont have root permission to put the install anywhere
else.....in order for it to work the install directory that is created when
unpacking the tarball would also have to be called usrname (?)

Can I get ./start to look for z2.py in the directory it installs to? (in the
case of the above example it was in /home/usrname/mainwebsite_cgi/zope25)

any help would be gratefully recieved!!
regards
David