----- Original Message -----
From: "russ" <[EMAIL PROTECTED]>
To: <zope@zope.org>
Sent: Wednesday, July 05, 2006 11:37 AM
Subject: RE: [Zope] Zope installation woes
O.k. thanks,
There are a number of lines like this:
mailman 2485 2468 2485 0 1 Jun29 ? 00:00:00
/usr/bin/python2.4 /u
...and a few like this:
root 12796 11967 12796 0 1 13:10 pts/1 00:00:00 /usr/bin/python
/usr/
These are not zope entries, you are looking for something like:
zope 3158 1 3158 0 1 07:52 ? 00:00:00
/usr/local/bin/python /usr/local/Zope-2.9.2/lib/python/zdaemon/zdrun.py -S
/usr/local/Zope-2.9.2/l
zope 3159 3158 3159 0 5 07:52 ? 00:00:02
/usr/local/bin/python
/usr/local/Zope-2.9.2/lib/python/Zope2/Startup/run.py -C /apps/zope/etc/zope
I can't see anything relating to zope specifically & running the zopect1
command results in this:
[EMAIL PROTECTED] [/usr/local/zope/instance3/bin]#
/usr/local/zope/instance3/bin/zopect1 fg
-bash: /usr/local/zope/instance3/bin/zopect1: No such file or directory
in your local zope/bin directory you should have some script files like:
runzope, runzope.bat and zopectl (this is what I have with zope 2.9.2
installation)
If you do not have these files, then something is truly pooched.
Here are the steps I used to install zope 2.9.2 (linux os)
1) download zope 2.9.2 tarball into /usr/local/src (I used wget)
2) tar -xzf the zope tarball (unpack it)
3) change directory (cd) to the new zope subdirectory (created by the tar
command)
4) make sure you have python 2.4.2 (this is for zope 2.9.2, check what you
need for zope 2.9.3). My python 2.4.2 is installed in /usr/local/bin and
this directory is contained with the PATH environment variable (type echo
$PATH at the command prompt - if the directory containing your python 2.x is
not in PATH you will need to modify PATH)
5) at the command line enter: ./configure
6) at the command line enter: make
7) at the command line enter: make install (This will install zope in
/usr/local/zope-2.9.x)
Now you need to add a 'zope' user to your system (if you do not already have
one)
8) cd /etc
9) groupadd zope (unless you already have a zope group defined)
10) useradd -g zope zope (this creates a zope user)
11) passwd zope (sets a password for the new user)
12) usermod -d /apps/zope zope (sets the home directory for the new user to
/apps/zope)
Now you need to create a zope instance:
13) change directory to /usr/local/zope-2.9.x/bin
14) su zope (change to the zope user you created earlier)
15) at the command line enter: /usr/local/bin/python mkzopeinstance.py
(note: replace /usr/local/bin/python with the location of your python 2.4.x
installation)
You will be prompted for a zope instance home (i use /apps/zope), a username
and a password (your zope admin account)
16) change directory to the new zope instance home (eg. cd /apps/zope) and
you should see several subdirectories.
17) check the ownership of the directories/files - they should all be owned
by zope and belong to the zope group. To change them enter: chown zope *
(changes ownership); chgrp zope * (changes group)
Now you need to make a couple of small changes to the zope.conf file:
18) cd /apps/zope/etc
19) edit the zope.conf file (save a copy first!) and change "debug-mode" to
'on' (optional) and change "effective-user" to 'zope'
Now you need to start the zope instance:
20) cd /apps/zope/bin
21) ./zopectl start (or ./zopectl fg in case of errors during start up)
HTH!
Jonathan
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )