Re: [Zope] Zope installation woes

2006-07-07 Thread KE Liew

Just as your said, you don't have a good overview of the system you
are working with. So I would suggest to you to dig in.

If you have read all the docs and followed it to the word, am sure
you will be better than me by now.

Your intention of using this mailing list for help is not wrong, but
your way of seeking help can be unappreciated by those who are in this
maililng list.

At any case, try uninstalling everything, and start from scratch
again. If you have done this already, I suggest you look through the
basic commands of your distro and try to dig through the issue. It may
not be Zope's error in the first place, it could be your human error,
configuration of your server, or whatever.

A piece of advice. Install zope in your PC first before the server. I
hope you have the same distro too, that helps alot, I mean ALOT!!


Regards,

Kwang


On 7/7/06, russtik [EMAIL PROTECTED] wrote:

I read all the documentation I could find and followed it to the word.  I
believe other factors came into play which resulted in a non-working
installation. Not having a more holistic overview of system means that I
easily get lost when something unexpected happens.  This is why I'm
consulting the mailing list for assistance.

-Original Message-
From: KE Liew [mailto:[EMAIL PROTECTED]
Sent: 06 July 2006 23:46
To: russ
Cc: [EMAIL PROTECTED]; zope@zope.org
Subject: Re: [Zope] Zope installation woes

no offense, but you should really listen to those advice given.

it'll take you lesser time to get a working web application than to do
it on the job as you said. i hope you do realise that on-the-job
could also mean researching and studying the work at hand before
actually being more productive.

you didn't read the docs properly to get zope running, IMHO. if you
wanna get zope+cmf running well and to what you want, start reading
and learn.


On 7/6/06, russ [EMAIL PROTECTED] wrote:
 o.k. when running that I saw this:

 unix  2  [ ACC ] STREAM LISTENING 546729 15600/python
 /home/zope/instance/var/zopectlsock.15599

 Does this mean it's running?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 Sent: 06 July 2006 15:44
 To: russ
 Subject: RE: [Zope] Zope installation woes

 if your zope instance does not show in the output from:

   netstat -ap | grep LISTEN

 (issued as root)

 then there's no sense in trying to figure out how to telnet to
 localhost 8080 (or whatever port your zope is running on) as there's
 nothing listening for the inbound connection. i.e., until your zope
 instance is running correctly so shows up in the netstat output, trying
 to connect inbound to it will fail and prove nothing.

 [there are a variety of things that can cause an inbound connection to
 a service to fail. you need to take the debugging one step at a time,
 starting with confirming that there's actually a service running.]


   - Rick


  Original Message 
  Date: Thursday, July 06, 2006 10:28:46 AM +0100
  From: russ [EMAIL PROTECTED]
  Subject: RE: [Zope] Zope installation woes
 
  What does it mean if this is listed under ps -eLf:
 
  zope 15601 15600 15601  01 Jul05 ?00:00:05
  /usr/bin/python /usr/
 
  ...but isn't anywhere to be seen under netstat -p ?
 
   how do I telnet to port 8080 *on* the same machine?
 
  Sorry :S
 
  -Original Message-
  From: replies-lists-zope
  Sent: 05 July 2006 18:59
  To: russ
  Subject: RE: [Zope] Zope installation woes
 
  use the ps command to see that that process is still running. also
  use the netstat command (with the -p flag (as root)) to see/confirm
  what port zope is listening on.
 
  if it's running, on port 8080, then try to telnet to port 8080, both
  as localhost 8080 and hostname 8080 (both from the server
  itself).  if both of those work, then telnet to hostname 8080 from
  a remote machine (e.g., the desktop machine you've been using your
  browser from). if the telnets from the server work, but the telnet
  from the remote host doesn't, then your issue is likely to be a
  firewall.
 
 
 
 
   Original Message 
  Date: Wednesday, July 05, 2006 06:24:40 PM +0100
  From: russ [EMAIL PROTECTED]
  To: 'Jonathan' [EMAIL PROTECTED], zope@zope.org
  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
 
  And now what?  http://www.domain.tld:8080 still produces nothing.
 
  :(
 
 


 ___
 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

RE: [Zope] Zope installation woes

2006-07-06 Thread Sascha Welter
(Wed, Jul 05, 2006 at 12:00:08PM -0400) [EMAIL PROTECTED] wrote/schrieb/egrapse:
 From: russ [EMAIL PROTECTED]
 Subject: RE: [Zope] Zope installation woes

 Firstly I'll just mention a little bit more about the server.  We have
 cPanel and Apache running.  There's a number of accounts setup in cPanel and

It appears that this is a production server.

...

Jonathan wrote:
 If zope is not running try starting zope with the command: ./zopectl fg
 this should allow you to see any errors that are generated while zope
 tries to start up.

good advice

...

russ wrote:
 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

...

later Jonathan replied:

 Don't give up!

And now my point: Jonathan, I disagree here. Russ, you are running a
command you don't know about (and you don't even care enough to check
the spelling) as *root* on a *production* server. 

Please notify the servers administrator and/or owner about this. You
shouldn't be allowed near a root prompt. At least till you've done your
homework to the extend that you pay attention before doing anything as
root. Besides, nobody told you to do this as root. When giving commands
as root, you can destroy everything that is on that server. For starters
try it with `rm -rf /`.

Why don't you try the installation first on a test machine or personal
workstation? We all have to learn stuff first, but a production server
isn't a learning environment. Nowadays it is *very* easy to get a Unix
clone system to play around with. There is also documentation to be
found about Zope and System Administration in general, for free on the
Internet.

[Stepping down from Soap Box]

Have a nice day + Regards,

Sascha

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


RE: [Zope] Zope installation woes

2006-07-06 Thread russ
What does it mean if this is listed under ps -eLf:

zope 15601 15600 15601  01 Jul05 ?00:00:05 /usr/bin/python
/usr/

...but isn't anywhere to be seen under netstat -p ?

 how do I telnet to port 8080 *on* the same machine?

Sorry :S

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: 05 July 2006 18:59
To: russ
Subject: RE: [Zope] Zope installation woes

use the ps command to see that that process is still running. also
use the netstat command (with the -p flag (as root)) to see/confirm
what port zope is listening on.

if it's running, on port 8080, then try to telnet to port 8080, both as
localhost:8080 and hostname:8080 (both from the server itself).  if
both of those work, then telnet to hostname:8080 from a remote
machine (e.g., the desktop machine you've been using yoru browser
from). if the telnets from the server work, but the telnet from the
remote host doesn't, then your issue is likely to be a firewall.




 Original Message 
 Date: Wednesday, July 05, 2006 06:24:40 PM +0100
 From: russ [EMAIL PROTECTED]
 To: 'Jonathan' [EMAIL PROTECTED], zope@zope.org
 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
 
 And now what?  http://www.domain.tld:8080 still produces nothing.
 
 :(
 
 
 -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  01 Jun29 ?00:00:00
 /usr/bin/python2.4 /u
 
 ...and a few like this:
 
 root 12796 11967 12796  01 13:10 pts/100:00:00
 /usr/bin/python /usr/
 
 These are not zope entries, you are looking for something like:
 
 zope  3158 1  3158  01 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  05 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

RE: [Zope] Zope installation woes

2006-07-06 Thread russ
I agree Sascha, I would prefer to much more grounded in the ways of the
command line before attempting this stuff.  I'm trying to get this running
as I was hoping that it wouldn't be too involved and would be able to get
busy creating Plone sites.  I don't have the luxury of time to learn more
about this in general beforehand and so made the decision to learn on the
job as it were.  You may see this as foolish, and it probably is, but I
entered into this hoping that I wouldn't have to get my hands too dirty.  I
now find myself in uncharted territory, not wanting to turn back.

So do you think I should throw in the towel now?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Sascha Welter
Sent: 06 July 2006 10:14
To: zope@zope.org
Subject: RE: [Zope] Zope installation woes

(Wed, Jul 05, 2006 at 12:00:08PM -0400) [EMAIL PROTECTED]
wrote/schrieb/egrapse:
 From: russ [EMAIL PROTECTED]
 Subject: RE: [Zope] Zope installation woes

 Firstly I'll just mention a little bit more about the server.  We have
 cPanel and Apache running.  There's a number of accounts setup in cPanel
and

It appears that this is a production server.

...

Jonathan wrote:
 If zope is not running try starting zope with the command: ./zopectl fg
 this should allow you to see any errors that are generated while zope
 tries to start up.

good advice

...

russ wrote:
 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

...

later Jonathan replied:

 Don't give up!

And now my point: Jonathan, I disagree here. Russ, you are running a
command you don't know about (and you don't even care enough to check
the spelling) as *root* on a *production* server. 

Please notify the servers administrator and/or owner about this. You
shouldn't be allowed near a root prompt. At least till you've done your
homework to the extend that you pay attention before doing anything as
root. Besides, nobody told you to do this as root. When giving commands
as root, you can destroy everything that is on that server. For starters
try it with `rm -rf /`.

Why don't you try the installation first on a test machine or personal
workstation? We all have to learn stuff first, but a production server
isn't a learning environment. Nowadays it is *very* easy to get a Unix
clone system to play around with. There is also documentation to be
found about Zope and System Administration in general, for free on the
Internet.

[Stepping down from Soap Box]

Have a nice day + Regards,

Sascha

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

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


Re: [Zope] Zope installation woes

2006-07-06 Thread Jonathan


- Original Message - 
From: russ [EMAIL PROTECTED]

To: 'Sascha Welter' [EMAIL PROTECTED]; zope@zope.org
Sent: Thursday, July 06, 2006 5:38 AM
Subject: RE: [Zope] Zope installation woes



I agree Sascha, I would prefer to much more grounded in the ways of the
command line before attempting this stuff.  I'm trying to get this running
as I was hoping that it wouldn't be too involved and would be able to get
busy creating Plone sites.  I don't have the luxury of time to learn more
about this in general beforehand and so made the decision to learn on the
job as it were.  You may see this as foolish, and it probably is, but I
entered into this hoping that I wouldn't have to get my hands too dirty. 
I

now find myself in uncharted territory, not wanting to turn back.

So do you think I should throw in the towel now?


If you only have one server available and if it is a production server, then 
you need to think about the ramifications of crashing that server. 
'Production server' means different things to different organizations, and 
if no-one is going to be screaming at you if you kill the server then carry 
on!


However, if your organization takes a dim view of production server 
downtime, then I would caution you against proceeding!


You don't need to be a linux expert to install zope, but you do need at 
least a rudimentary understanding of how linux works and how some basic 
commands work.  I would recommend spending some time reading the intro 
chapters of some linux documentation (you can find some at 
http://www.linux.org/docs/, and there is a good doc at: 
http://www.centos.org/docs/4/html/rhel-rg-en-4/) - it may seem like a waste 
of time, but it will save you time and aggravation in the future.


If you do not want to spend the time on linux/zope and you just want to 'get 
working', you could look at some of the zope hosting companies (they already 
have zope up and running, and they look after maintaining the 
'infrastructure', which lets you focus on your application).



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 )


RE: [Zope] Zope installation woes

2006-07-06 Thread russ
o.k. when running that I saw this:

unix  2  [ ACC ] STREAM LISTENING 546729 15600/python
/home/zope/instance/var/zopectlsock.15599

Does this mean it's running?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: 06 July 2006 15:44
To: russ
Subject: RE: [Zope] Zope installation woes

if your zope instance does not show in the output from:

  netstat -ap | grep LISTEN

(issued as root)

then there's no sense in trying to figure out how to telnet to
localhost 8080 (or whatever port your zope is running on) as there's
nothing listening for the inbound connection. i.e., until your zope
instance is running correctly so shows up in the netstat output, trying
to connect inbound to it will fail and prove nothing. 

[there are a variety of things that can cause an inbound connection to
a service to fail. you need to take the debugging one step at a time,
starting with confirming that there's actually a service running.]


  - Rick


 Original Message 
 Date: Thursday, July 06, 2006 10:28:46 AM +0100
 From: russ [EMAIL PROTECTED]
 Subject: RE: [Zope] Zope installation woes
 
 What does it mean if this is listed under ps -eLf:
 
 zope 15601 15600 15601  01 Jul05 ?00:00:05
 /usr/bin/python /usr/
 
 ...but isn't anywhere to be seen under netstat -p ?
 
  how do I telnet to port 8080 *on* the same machine?
 
 Sorry :S
 
 -Original Message-
 From: replies-lists-zope
 Sent: 05 July 2006 18:59
 To: russ
 Subject: RE: [Zope] Zope installation woes
 
 use the ps command to see that that process is still running. also
 use the netstat command (with the -p flag (as root)) to see/confirm
 what port zope is listening on.
 
 if it's running, on port 8080, then try to telnet to port 8080, both
 as localhost 8080 and hostname 8080 (both from the server
 itself).  if both of those work, then telnet to hostname 8080 from
 a remote machine (e.g., the desktop machine you've been using your
 browser from). if the telnets from the server work, but the telnet
 from the remote host doesn't, then your issue is likely to be a
 firewall.
 
 
 
 
  Original Message 
 Date: Wednesday, July 05, 2006 06:24:40 PM +0100
 From: russ [EMAIL PROTECTED]
 To: 'Jonathan' [EMAIL PROTECTED], zope@zope.org
 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
 
 And now what?  http://www.domain.tld:8080 still produces nothing.
 
 :(
 
 


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


Re: [Zope] Zope installation woes

2006-07-06 Thread KE Liew

no offense, but you should really listen to those advice given.

it'll take you lesser time to get a working web application than to do
it on the job as you said. i hope you do realise that on-the-job
could also mean researching and studying the work at hand before
actually being more productive.

you didn't read the docs properly to get zope running, IMHO. if you
wanna get zope+cmf running well and to what you want, start reading
and learn.


On 7/6/06, russ [EMAIL PROTECTED] wrote:

o.k. when running that I saw this:

unix  2  [ ACC ] STREAM LISTENING 546729 15600/python
/home/zope/instance/var/zopectlsock.15599

Does this mean it's running?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 06 July 2006 15:44
To: russ
Subject: RE: [Zope] Zope installation woes

if your zope instance does not show in the output from:

  netstat -ap | grep LISTEN

(issued as root)

then there's no sense in trying to figure out how to telnet to
localhost 8080 (or whatever port your zope is running on) as there's
nothing listening for the inbound connection. i.e., until your zope
instance is running correctly so shows up in the netstat output, trying
to connect inbound to it will fail and prove nothing.

[there are a variety of things that can cause an inbound connection to
a service to fail. you need to take the debugging one step at a time,
starting with confirming that there's actually a service running.]


  - Rick


 Original Message 
 Date: Thursday, July 06, 2006 10:28:46 AM +0100
 From: russ [EMAIL PROTECTED]
 Subject: RE: [Zope] Zope installation woes

 What does it mean if this is listed under ps -eLf:

 zope 15601 15600 15601  01 Jul05 ?00:00:05
 /usr/bin/python /usr/

 ...but isn't anywhere to be seen under netstat -p ?

  how do I telnet to port 8080 *on* the same machine?

 Sorry :S

 -Original Message-
 From: replies-lists-zope
 Sent: 05 July 2006 18:59
 To: russ
 Subject: RE: [Zope] Zope installation woes

 use the ps command to see that that process is still running. also
 use the netstat command (with the -p flag (as root)) to see/confirm
 what port zope is listening on.

 if it's running, on port 8080, then try to telnet to port 8080, both
 as localhost 8080 and hostname 8080 (both from the server
 itself).  if both of those work, then telnet to hostname 8080 from
 a remote machine (e.g., the desktop machine you've been using your
 browser from). if the telnets from the server work, but the telnet
 from the remote host doesn't, then your issue is likely to be a
 firewall.




  Original Message 
 Date: Wednesday, July 05, 2006 06:24:40 PM +0100
 From: russ [EMAIL PROTECTED]
 To: 'Jonathan' [EMAIL PROTECTED], zope@zope.org
 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

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

 :(




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


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


Re: [Zope] Zope installation woes

2006-07-05 Thread Jake
It looks like it is already running. Use top and look for a process called
python.

Did you try the url in a browser on port 8080?

Jake
___
http://www.ZopeZone.com


On Wed, July 5, 2006 10:31 am, russ said:
 Hello Zopesters,

 Firstly, I must say that I'm completely new to this as I usually develop
 front-end stuff, so excuse my ignorance.  Right... that's out of the way -
 I
 have been trying to install Zope on a server I have access to via SSH.
 I've
 followed the instructions for installing it from source found here:

 http://plone.org/documentation/how-to/setup-from-source

 I've got as far as making an instance and then attempting to start Zope.
 First of all I got this:

 [EMAIL PROTECTED] [~]# /usr/local/zope/instance3/bin/runzope
 /usr/local/zope/zope2.9.3/lib/python/ZServer/utils.py:33:
 DeprecationWarning: The zLOG package is deprecated and will be removed in
 Zope 2.11. Use the Python logging module instead.
 LOG('ZServer', severity[type], message)
 /usr/local/zope/zope2.9.3/lib/python/Signals/SignalHandler.py:39:
 DeprecationWarning: The zLOG package is deprecated and will be removed in
 Zope 2.11. Use the Python logging module instead.
 zLOG.LOG('Z2', zLOG.BLATHER, Installed sighandler for %s % (


 ...and then nothing :-|  I tried running it again  got the following:

 snipped output
 ZConfig.ConfigurationError: There was a problem starting a server of type
 HTTPS erver. This may mean that your user does not have permission to
 bind
 to the por t which the server is trying to use or the port may already be
 in
 use by another application. (Address already in use)

 The log file reports it's running, yet I cannot seem to access the start
 page from http://myserverip:8080.

 I don't know what to do next?  Can anyone please help me out?

 :(

 R.

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



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


RE: [Zope] Zope installation woes

2006-07-05 Thread russ
Hi Jake,

Firstly I'll just mention a little bit more about the server.  We have
cPanel and Apache running.  There's a number of accounts setup in cPanel and
I've tried to access Zope via one of these urls (www.domain.tld:8080) but to
no avail.  I've also tried the IP of the server with no luck.  I don't know
what else to try now, as I mentioned before I'm completely new to all of
this stuff so it's quite a steep learning curve.  I also don't know what you
mean by use top :S

Thanks for your reply BTW.

R.

-Original Message-
From: Jake [mailto:[EMAIL PROTECTED] 
Sent: 05 July 2006 15:56
To: russ
Cc: zope@zope.org
Subject: Re: [Zope] Zope installation woes

It looks like it is already running. Use top and look for a process called
python.

Did you try the url in a browser on port 8080?

Jake
___
http://www.ZopeZone.com


On Wed, July 5, 2006 10:31 am, russ said:
 Hello Zopesters,

 Firstly, I must say that I'm completely new to this as I usually develop
 front-end stuff, so excuse my ignorance.  Right... that's out of the way -
 I
 have been trying to install Zope on a server I have access to via SSH.
 I've
 followed the instructions for installing it from source found here:

 http://plone.org/documentation/how-to/setup-from-source

 I've got as far as making an instance and then attempting to start Zope.
 First of all I got this:

 [EMAIL PROTECTED] [~]# /usr/local/zope/instance3/bin/runzope
 /usr/local/zope/zope2.9.3/lib/python/ZServer/utils.py:33:
 DeprecationWarning: The zLOG package is deprecated and will be removed in
 Zope 2.11. Use the Python logging module instead.
 LOG('ZServer', severity[type], message)
 /usr/local/zope/zope2.9.3/lib/python/Signals/SignalHandler.py:39:
 DeprecationWarning: The zLOG package is deprecated and will be removed in
 Zope 2.11. Use the Python logging module instead.
 zLOG.LOG('Z2', zLOG.BLATHER, Installed sighandler for %s % (


 ...and then nothing :-|  I tried running it again  got the following:

 snipped output
 ZConfig.ConfigurationError: There was a problem starting a server of type
 HTTPS erver. This may mean that your user does not have permission to
 bind
 to the por t which the server is trying to use or the port may already be
 in
 use by another application. (Address already in use)

 The log file reports it's running, yet I cannot seem to access the start
 page from http://myserverip:8080.

 I don't know what to do next?  Can anyone please help me out?

 :(

 R.

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




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


Re: [Zope] Zope installation woes

2006-07-05 Thread Jonathan

At the o/s command prompt, type:  ps -eLf

You should see a listing which contains some zope/python entries if zope is 
running.


If zope is not running try starting zope with the command: ./zopectl fg
this should allow you to see any errors that are generated while zope tries 
to start up.



hth

Jonathan

- Original Message - 
From: russ [EMAIL PROTECTED]

To: [EMAIL PROTECTED]; zope@zope.org
Sent: Wednesday, July 05, 2006 11:05 AM
Subject: RE: [Zope] Zope installation woes



Hi Jake,

Firstly I'll just mention a little bit more about the server.  We have
cPanel and Apache running.  There's a number of accounts setup in cPanel 
and
I've tried to access Zope via one of these urls (www.domain.tld:8080) but 
to
no avail.  I've also tried the IP of the server with no luck.  I don't 
know

what else to try now, as I mentioned before I'm completely new to all of
this stuff so it's quite a steep learning curve.  I also don't know what 
you

mean by use top :S

Thanks for your reply BTW.

R.

-Original Message-
From: Jake [mailto:[EMAIL PROTECTED]
Sent: 05 July 2006 15:56
To: russ
Cc: zope@zope.org
Subject: Re: [Zope] Zope installation woes

It looks like it is already running. Use top and look for a process called
python.

Did you try the url in a browser on port 8080?

Jake
___
http://www.ZopeZone.com


On Wed, July 5, 2006 10:31 am, russ said:

Hello Zopesters,

Firstly, I must say that I'm completely new to this as I usually develop
front-end stuff, so excuse my ignorance.  Right... that's out of the 
way -

I
have been trying to install Zope on a server I have access to via SSH.
I've
followed the instructions for installing it from source found here:

http://plone.org/documentation/how-to/setup-from-source

I've got as far as making an instance and then attempting to start Zope.
First of all I got this:

[EMAIL PROTECTED] [~]# /usr/local/zope/instance3/bin/runzope
/usr/local/zope/zope2.9.3/lib/python/ZServer/utils.py:33:
DeprecationWarning: The zLOG package is deprecated and will be removed in
Zope 2.11. Use the Python logging module instead.
LOG('ZServer', severity[type], message)
/usr/local/zope/zope2.9.3/lib/python/Signals/SignalHandler.py:39:
DeprecationWarning: The zLOG package is deprecated and will be removed in
Zope 2.11. Use the Python logging module instead.
zLOG.LOG('Z2', zLOG.BLATHER, Installed sighandler for %s % (


...and then nothing :-|  I tried running it again  got the following:

snipped output
ZConfig.ConfigurationError: There was a problem starting a server of type
HTTPS erver. This may mean that your user does not have permission to
bind
to the por t which the server is trying to use or the port may already be
in
use by another application. (Address already in use)

The log file reports it's running, yet I cannot seem to access the start
page from http://myserverip:8080.

I don't know what to do next?  Can anyone please help me out?

:(

R.

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





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



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


RE: [Zope] Zope installation woes

2006-07-05 Thread russ
O.k. thanks,

There are a number of lines like this:

mailman   2485  2468  2485  01 Jun29 ?00:00:00
/usr/bin/python2.4 /u

...and a few like this:

root 12796 11967 12796  01 13:10 pts/100:00:00 /usr/bin/python
/usr/

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



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

At the o/s command prompt, type:  ps -eLf

You should see a listing which contains some zope/python entries if zope is 
running.

If zope is not running try starting zope with the command: ./zopectl fg
this should allow you to see any errors that are generated while zope tries 
to 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 )


Re: [Zope] Zope installation woes

2006-07-05 Thread Jonathan


- 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  01 Jun29 ?00:00:00
/usr/bin/python2.4 /u

...and a few like this:

root 12796 11967 12796  01 13:10 pts/100:00:00 /usr/bin/python
/usr/


These are not zope entries, you are looking for something like:

zope  3158 1  3158  01 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  05 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 )


Re: [Zope] Zope installation woes

2006-07-05 Thread David H

russ wrote:


O.k. thanks,

There are a number of lines like this:

mailman   2485  2468  2485  01 Jun29 ?00:00:00
/usr/bin/python2.4 /u

...and a few like this:

root 12796 11967 12796  01 13:10 pts/100:00:00 /usr/bin/python
/usr/

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

 


Hi russ, change zopect1 to zopectl :-)

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


RE: [Zope] Zope installation woes

2006-07-05 Thread russ
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

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

:(


-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  01 Jun29 ?00:00:00
 /usr/bin/python2.4 /u

 ...and a few like this:

 root 12796 11967 12796  01 13:10 pts/100:00:00 /usr/bin/python
 /usr/

These are not zope entries, you are looking for something like:

zope  3158 1  3158  01 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  05 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 )


Re: [Zope] Zope installation woes

2006-07-05 Thread Jonathan


- 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

And 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  01 Jun29 ?00:00:00
/usr/bin/python2.4 /u

...and a few like this:

root 12796 11967 12796  01 13:10 pts/100:00:00 
/usr/bin/python

/usr/


These are not zope entries, you are looking for something like:

zope  3158 1  3158  01 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  05 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

Re: [Zope] Zope installation woes

2006-07-05 Thread Jonathan
Apache's default port is 80.  Have you tried that? (i haven't kept the 
earlier part of this thread, and I can't remember what you have tried).


Do you have a rewrite rule set up in apache?
(something like:  RewriteRule ^/(.*) http://localhost:8080/$1 [P])

Don't give up!  Once you have zoped you'll never go back ;-)


Jonathan



- Original Message - 
From: russtik [EMAIL PROTECTED]

To: 'Jonathan' [EMAIL PROTECTED]; zope@zope.org
Sent: Wednesday, July 05, 2006 7:30 PM
Subject: RE: [Zope] Zope installation woes



ps -eLf results show this:

zope 15600 1 15600  01 18:14 ?00:00:00 /usr/bin/python
/usr/
zope 15601 15600 15601  01 18:14 ?00:00:05 /usr/bin/python
/usr/

I don't have physical access to the machine, so I don't know how to test
port 8080 on localhost.  I can't find anything in netstat -p that looks 
like

it would relate to Zope either.  The zope.conf is set to use 8080.

So... any more ideas guys?  Even though Apache is running I should still 
be

able to test Zope though surely?

R.

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


- 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

And 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  01 Jun29 ?00:00:00
/usr/bin/python2.4 /u

...and a few like this:

root 12796 11967 12796  01 13:10 pts/100:00:00
/usr/bin/python
/usr/


These are not zope entries, you are looking for something like:

zope  3158 1  3158  01 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  05 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