RE: [Zope] Zope content not available
Thanks for your thoughts. Turned out the easiest fix worked--reboot. I was initially reluctant to do this as we were unsure exactly what services this machine was hosting. We were able to determine that no other live websites were involved and that all other "known" services were running elsewhere, so we took the chance and restarted the box. The web content is now back up. I hate being left in this position with critical info (in this case, a website) running on a box that we don't have the know-how to manage. Nor is there any money to get everything moved elsewhere. Thanks again to those who replied so quickly with things to look at. Rob -----Original Message----- From: BZ [mailto:bz@bwanazulia.com] Sent: Monday, October 13, 2003 11:18 AM To: Rob Harville Cc: zope@zope.org Subject: RE: [Zope] Zope content not available Hi Rob, Looks like it is your start script. You should give Zope a IP and port to start up on for the webserver. Look at the code of the z2.py, in the top it has all the of the parameters you need (don't have one in front of me now). It looks like you need to remove the first "&" so it will run in debug mode (so you can see it start from the command line) and add in a "-w 8080" to tell it to start the webserver (-w) on port 8080. (it might be -W :8080). It is all in the z2.py which is in the root of the zope directory. BZ -- http://www.zopezone.com http://www.bluewildfire.com
Thanks.
1) I found the Zope home directory and this is the contents of the Start script.
#! /bin/sh reldir=`dirname $0` INST_HOME=`cd $reldir; pwd` export INST_HOME exec /usr/bin/python2.1 \ $INST_HOME/z2.py \ -F /tmp/zope.soc \ & #-D "$@" &
2) Pinging localhost with a specified port doesn't work (doesn't work for any port on any machine--this is not an option I'm familiar with). Using Lynx results in "HTTP request sent; waiting for response." on either 80 or 8080.
3) Python does show as a running service using Top, as does Apache.
I'm not yet ready to reboot the server because I'm not certain it doesn't have other jobs. Any additional thoughts? Thanks.
Rob
-----Original Message----- From: BZ [mailto:bz@bwanazulia.com] Sent: Monday, October 13, 2003 10:29 AM To: Rob Harville Cc: 'zope@zope.org' Subject: Re: [Zope] Zope content not available
Some help:
1) Take a look at the start script "start" in the root of your Zope directory. It is what controls the web, ftp and monitor servers. It is possible it is just not starting up the webserver. Look at the "z2.py" for documentation on the start script parameters. It will also tell you what port it is started on.
2) Try pinging it from the machine > ping localhost:8080 or > lynx localhost:8080, localhost:80
3) Run top from the command line. Look for "python".
BZ -- http://www.zopezone.com http://www.bluewildfire.com
We have a Linux server that is running Apache and Zope for some web content. This server/system was set up some time ago by a person who is no longer at the company. As a further complication, we don't even have anyone on staff anymore who is a capable Linux admin. We have me. I know just enough to be able to make changes to web content, DNS and Firewall, but not true administration of this box or its services.
Today the Zope-managed content is not available on the web. I have logged on to the host server and have restarted both Zope and Apache without effect. I know Zope is running because I can FTP to it on Port 8021 and can see the content there. I know this is a very vague request, but can someone help me with where to begin looking for the problem? Any assistance would be much appreciated. Thanks.
Rob
_______________________________________________ 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 )
Rob Harville wrote:
I hate being left in this position with critical info (in this case, a website) running on a box that we don't have the know-how to manage. Nor is there any money to get everything moved elsewhere. Thanks again to those who replied so quickly with things to look at.
Rob, Consider getting some training, or buying a book. It so happens that I've written a rather good book on Zope: http://www.amazon.com/exec/obidos/ASIN/0764548573/fiawol And I also occasionally do onsite training (though that is probably out of your budget). I'd suggest posting to the Zope list again, this time saying where you are located (Tacoma, WA?), and asking if anyone in your area is available for consulting/training work. Cheers, - Michael Bernstein
participants (2)
-
Michael Bernstein -
Rob Harville