<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>RE: [Zope] Zope content not available</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>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.</FONT></P>
<P><FONT SIZE=2>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.</FONT></P>
<P><FONT SIZE=2>Rob </FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: BZ [<A HREF="mailto:bz@bwanazulia.com">mailto:bz@bwanazulia.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Monday, October 13, 2003 11:18 AM</FONT>
<BR><FONT SIZE=2>To: Rob Harville</FONT>
<BR><FONT SIZE=2>Cc: zope@zope.org</FONT>
<BR><FONT SIZE=2>Subject: RE: [Zope] Zope content not available</FONT>
</P>
<BR>
<P><FONT SIZE=2>Hi Rob,</FONT>
</P>
<P><FONT SIZE=2>Looks like it is your start script.</FONT>
</P>
<P><FONT SIZE=2>You should give Zope a IP and port to start up on for the webserver.</FONT>
</P>
<P><FONT SIZE=2>Look at the code of the z2.py, in the top it has all the of the parameters</FONT>
<BR><FONT SIZE=2>you need (don't have one in front of me now).</FONT>
</P>
<P><FONT SIZE=2>It looks like you need to remove the first "&" so it will run in debug</FONT>
<BR><FONT SIZE=2>mode (so you can see it start from the command line) and add in a "-w</FONT>
<BR><FONT SIZE=2>8080" to tell it to start the webserver (-w) on port 8080. (it might be -W</FONT>
<BR><FONT SIZE=2>:8080).</FONT>
</P>
<P><FONT SIZE=2>It is all in the z2.py which is in the root of the zope directory.</FONT>
</P>
<P><FONT SIZE=2>BZ</FONT>
<BR><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2><A HREF="http://www.zopezone.com" TARGET="_blank">http://www.zopezone.com</A></FONT>
<BR><FONT SIZE=2><A HREF="http://www.bluewildfire.com" TARGET="_blank">http://www.bluewildfire.com</A></FONT>
</P>
<P><FONT SIZE=2>> Thanks.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> 1) I found the Zope home directory and this is the contents of the Start</FONT>
<BR><FONT SIZE=2>> script.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> #! /bin/sh</FONT>
<BR><FONT SIZE=2>> reldir=`dirname $0`</FONT>
<BR><FONT SIZE=2>> INST_HOME=`cd $reldir; pwd`</FONT>
<BR><FONT SIZE=2>> export INST_HOME</FONT>
<BR><FONT SIZE=2>> exec /usr/bin/python2.1 \</FONT>
<BR><FONT SIZE=2>> $INST_HOME/z2.py \</FONT>
<BR><FONT SIZE=2>> -F /tmp/zope.soc \</FONT>
<BR><FONT SIZE=2>> &</FONT>
<BR><FONT SIZE=2>> #-D "$@" &</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> 2) Pinging localhost with a specified port doesn't work (doesn't work for</FONT>
<BR><FONT SIZE=2>> any port on any machine--this is not an option I'm familiar with). Using</FONT>
<BR><FONT SIZE=2>> Lynx results in "HTTP request sent; waiting for response." on either 80</FONT>
<BR><FONT SIZE=2>> or</FONT>
<BR><FONT SIZE=2>> 8080.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> 3) Python does show as a running service using Top, as does Apache.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> I'm not yet ready to reboot the server because I'm not certain it doesn't</FONT>
<BR><FONT SIZE=2>> have other jobs. Any additional thoughts? Thanks.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Rob</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> -----Original Message-----</FONT>
<BR><FONT SIZE=2>> From: BZ [<A HREF="mailto:bz@bwanazulia.com">mailto:bz@bwanazulia.com</A>]</FONT>
<BR><FONT SIZE=2>> Sent: Monday, October 13, 2003 10:29 AM</FONT>
<BR><FONT SIZE=2>> To: Rob Harville</FONT>
<BR><FONT SIZE=2>> Cc: 'zope@zope.org'</FONT>
<BR><FONT SIZE=2>> Subject: Re: [Zope] Zope content not available</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Some help:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> 1) Take a look at the start script "start" in the root of your Zope</FONT>
<BR><FONT SIZE=2>> directory. It is what controls the web, ftp and monitor servers. It is</FONT>
<BR><FONT SIZE=2>> possible it is just not starting up the webserver. Look at the "z2.py" for</FONT>
<BR><FONT SIZE=2>> documentation on the start script parameters. It will also tell you what</FONT>
<BR><FONT SIZE=2>> port it is started on.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> 2) Try pinging it from the machine > ping localhost:8080 or > lynx</FONT>
<BR><FONT SIZE=2>> localhost:8080, localhost:80</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> 3) Run top from the command line. Look for "python".</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> BZ</FONT>
<BR><FONT SIZE=2>> --</FONT>
<BR><FONT SIZE=2>> <A HREF="http://www.zopezone.com" TARGET="_blank">http://www.zopezone.com</A></FONT>
<BR><FONT SIZE=2>> <A HREF="http://www.bluewildfire.com" TARGET="_blank">http://www.bluewildfire.com</A></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>> We have a Linux server that is running Apache and Zope for some web</FONT>
<BR><FONT SIZE=2>>> content.</FONT>
<BR><FONT SIZE=2>>> This server/system was set up some time ago by a person who is no longer</FONT>
<BR><FONT SIZE=2>>> at</FONT>
<BR><FONT SIZE=2>>> the company. As a further complication, we don't even have anyone on</FONT>
<BR><FONT SIZE=2>>> staff</FONT>
<BR><FONT SIZE=2>>> anymore who is a capable Linux admin. We have me. I know just enough</FONT>
<BR><FONT SIZE=2>>> to</FONT>
<BR><FONT SIZE=2>>> be</FONT>
<BR><FONT SIZE=2>>> able to make changes to web content, DNS and Firewall, but not true</FONT>
<BR><FONT SIZE=2>>> administration of this box or its services.</FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>> Today the Zope-managed content is not available on the web. I have</FONT>
<BR><FONT SIZE=2>>> logged</FONT>
<BR><FONT SIZE=2>>> on to the host server and have restarted both Zope and Apache without</FONT>
<BR><FONT SIZE=2>>> effect. I know Zope is running because I can FTP to it on Port 8021 and</FONT>
<BR><FONT SIZE=2>>> can</FONT>
<BR><FONT SIZE=2>>> see the content there. I know this is a very vague request, but can</FONT>
<BR><FONT SIZE=2>>> someone</FONT>
<BR><FONT SIZE=2>>> help me with where to begin looking for the problem? Any assistance</FONT>
<BR><FONT SIZE=2>>> would</FONT>
<BR><FONT SIZE=2>>> be much appreciated. Thanks.</FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>> Rob</FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>> _______________________________________________</FONT>
<BR><FONT SIZE=2>>> Zope maillist - Zope@zope.org</FONT>
<BR><FONT SIZE=2>>> <A HREF="http://mail.zope.org/mailman/listinfo/zope" TARGET="_blank">http://mail.zope.org/mailman/listinfo/zope</A></FONT>
<BR><FONT SIZE=2>>> ** No cross posts or HTML encoding! **</FONT>
<BR><FONT SIZE=2>>> (Related lists -</FONT>
<BR><FONT SIZE=2>>> <A HREF="http://mail.zope.org/mailman/listinfo/zope-announce" TARGET="_blank">http://mail.zope.org/mailman/listinfo/zope-announce</A></FONT>
<BR><FONT SIZE=2>>> <A HREF="http://mail.zope.org/mailman/listinfo/zope-dev" TARGET="_blank">http://mail.zope.org/mailman/listinfo/zope-dev</A> )</FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>></FONT>
</P>
</BODY>
</HTML>