----- Original Message ----- From: "russ" <[EMAIL PROTECTED]>
To: "'Jonathan'" <[EMAIL PROTECTED]>; <zope@zope.org>
Sent: Wednesday, July 05, 2006 1:24 PM
Subject: RE: [Zope] Zope installation woes


Well I've tried to follow your steps with the exception of point 15
(mkzopeinstance.py doesn't reside in my python directory, it's in the
zope/bin folder).  At the last stage I hit enter and got:

bash-3.00$ ./zopectl start
. daemon process started, pid=15601

Aaaaand now what?  http://www.domain.tld:8080 still produces nothing.

That sounds like a good start!

try ps -eLf at the command line, do you see the zope processes running?

If your browser is running on the same machine try:  http://localhost:8080

To see which ports zope is working with look at the file.../etc/zope.conf
and look for two things: (1) http-server and (2) port-base (the zope.conf file contains comments which will tell you what you need to know).

If you have apache running as a web server in front of zope you will need to configure apache (you can find info here: http://www.zope.org/Members/regebro/Zope_and_Apache)

Good luck!


Jonathan





:(


-----Original Message-----
From: Jonathan [mailto:[EMAIL PROTECTED]
Sent: 05 July 2006 17:14
To: russ; zope@zope.org
Subject: Re: [Zope] Zope installation woes


----- 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 )

Reply via email to