[Zope] trouble starting zope
Paul Erickson
erickson@kaivo.com
Thu, 14 Mar 2002 15:09:06 -0700
It sounds like the command 'dirname' is not in your path. Type "locate
dirname", and see what shows up.
If it finds it, put it in your PATH. If it doesn't, find out what
operating system it's running on. On redhat systems it should be
provided by the sh-utils rpm.
-Paul
David Kelly wrote:
>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
>
>
>_______________________________________________
>Zope maillist - Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>** No cross posts or HTML encoding! **
>(Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>