<!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.&nbsp; Turned out the easiest fix worked--reboot.&nbsp; I was initially reluctant to do this as we were unsure exactly what services this machine was hosting.&nbsp; We were able to determine that no other live websites were involved and that all other &quot;known&quot; services were running elsewhere, so we took the chance and restarted the box.&nbsp; 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.&nbsp; Nor is there any money to get everything moved elsewhere.&nbsp; 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 &quot;&amp;&quot; 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 &quot;-w</FONT>
<BR><FONT SIZE=2>8080&quot; 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>&gt; Thanks.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; 1)&nbsp; I found the Zope home directory and this is the contents of the Start</FONT>
<BR><FONT SIZE=2>&gt; script.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; #! /bin/sh</FONT>
<BR><FONT SIZE=2>&gt; reldir=`dirname $0`</FONT>
<BR><FONT SIZE=2>&gt; INST_HOME=`cd $reldir; pwd`</FONT>
<BR><FONT SIZE=2>&gt; export INST_HOME</FONT>
<BR><FONT SIZE=2>&gt; exec /usr/bin/python2.1 \</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $INST_HOME/z2.py \</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -F /tmp/zope.soc \</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #-D &quot;$@&quot; &amp;</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; 2)&nbsp; Pinging localhost with a specified port doesn't work (doesn't work for</FONT>
<BR><FONT SIZE=2>&gt; any port on any machine--this is not an option I'm familiar with).&nbsp; Using</FONT>
<BR><FONT SIZE=2>&gt; Lynx results in &quot;HTTP request sent;&nbsp; waiting for response.&quot; on either 80</FONT>
<BR><FONT SIZE=2>&gt; or</FONT>
<BR><FONT SIZE=2>&gt; 8080.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; 3)&nbsp; Python does show as a running service using Top, as does Apache.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; I'm not yet ready to reboot the server because I'm not certain it doesn't</FONT>
<BR><FONT SIZE=2>&gt; have other jobs.&nbsp; Any additional thoughts?&nbsp; Thanks.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; Rob</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt; From: BZ [<A HREF="mailto:bz@bwanazulia.com">mailto:bz@bwanazulia.com</A>]</FONT>
<BR><FONT SIZE=2>&gt; Sent: Monday, October 13, 2003 10:29 AM</FONT>
<BR><FONT SIZE=2>&gt; To: Rob Harville</FONT>
<BR><FONT SIZE=2>&gt; Cc: 'zope@zope.org'</FONT>
<BR><FONT SIZE=2>&gt; Subject: Re: [Zope] Zope content not available</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; Some help:</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; 1) Take a look at the start script &quot;start&quot; in the root of your Zope</FONT>
<BR><FONT SIZE=2>&gt; directory. It is what controls the web, ftp and monitor servers. It is</FONT>
<BR><FONT SIZE=2>&gt; possible it is just not starting up the webserver. Look at the &quot;z2.py&quot; for</FONT>
<BR><FONT SIZE=2>&gt; documentation on the start script parameters. It will also tell you what</FONT>
<BR><FONT SIZE=2>&gt; port it is started on.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; 2) Try pinging it from the machine &gt; ping localhost:8080&nbsp;&nbsp; or &gt; lynx</FONT>
<BR><FONT SIZE=2>&gt; localhost:8080, localhost:80</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; 3) Run top from the command line. Look for &quot;python&quot;.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; BZ</FONT>
<BR><FONT SIZE=2>&gt; --</FONT>
<BR><FONT SIZE=2>&gt; <A HREF="http://www.zopezone.com" TARGET="_blank">http://www.zopezone.com</A></FONT>
<BR><FONT SIZE=2>&gt; <A HREF="http://www.bluewildfire.com" TARGET="_blank">http://www.bluewildfire.com</A></FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt;&gt; We have a Linux server that is running Apache and Zope for some web</FONT>
<BR><FONT SIZE=2>&gt;&gt; content.</FONT>
<BR><FONT SIZE=2>&gt;&gt; This server/system was set up some time ago by a person who is no longer</FONT>
<BR><FONT SIZE=2>&gt;&gt; at</FONT>
<BR><FONT SIZE=2>&gt;&gt; the company.&nbsp; As a further complication, we don't even have anyone on</FONT>
<BR><FONT SIZE=2>&gt;&gt; staff</FONT>
<BR><FONT SIZE=2>&gt;&gt; anymore who is a capable Linux admin.&nbsp; We have me.&nbsp; I know just enough</FONT>
<BR><FONT SIZE=2>&gt;&gt; to</FONT>
<BR><FONT SIZE=2>&gt;&gt; be</FONT>
<BR><FONT SIZE=2>&gt;&gt; able to make changes to web content, DNS and Firewall, but not true</FONT>
<BR><FONT SIZE=2>&gt;&gt; administration of this box or its services.</FONT>
<BR><FONT SIZE=2>&gt;&gt;</FONT>
<BR><FONT SIZE=2>&gt;&gt; Today the Zope-managed content is not available on the web.&nbsp; I have</FONT>
<BR><FONT SIZE=2>&gt;&gt; logged</FONT>
<BR><FONT SIZE=2>&gt;&gt; on to the host server and have restarted both Zope and Apache without</FONT>
<BR><FONT SIZE=2>&gt;&gt; effect.&nbsp; I know Zope is running because I can FTP to it on Port 8021 and</FONT>
<BR><FONT SIZE=2>&gt;&gt; can</FONT>
<BR><FONT SIZE=2>&gt;&gt; see the content there.&nbsp; I know this is a very vague request, but can</FONT>
<BR><FONT SIZE=2>&gt;&gt; someone</FONT>
<BR><FONT SIZE=2>&gt;&gt; help me with where to begin looking for the problem?&nbsp; Any assistance</FONT>
<BR><FONT SIZE=2>&gt;&gt; would</FONT>
<BR><FONT SIZE=2>&gt;&gt; be much appreciated.&nbsp; Thanks.</FONT>
<BR><FONT SIZE=2>&gt;&gt;</FONT>
<BR><FONT SIZE=2>&gt;&gt; Rob</FONT>
<BR><FONT SIZE=2>&gt;&gt;</FONT>
<BR><FONT SIZE=2>&gt;&gt;</FONT>
<BR><FONT SIZE=2>&gt;&gt; _______________________________________________</FONT>
<BR><FONT SIZE=2>&gt;&gt; Zope maillist&nbsp; -&nbsp; Zope@zope.org</FONT>
<BR><FONT SIZE=2>&gt;&gt; <A HREF="http://mail.zope.org/mailman/listinfo/zope" TARGET="_blank">http://mail.zope.org/mailman/listinfo/zope</A></FONT>
<BR><FONT SIZE=2>&gt;&gt; **&nbsp;&nbsp; No cross posts or HTML encoding!&nbsp; **</FONT>
<BR><FONT SIZE=2>&gt;&gt; (Related lists -</FONT>
<BR><FONT SIZE=2>&gt;&gt;&nbsp; <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>&gt;&gt;&nbsp; <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>&gt;&gt;</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
</P>

</BODY>
</HTML>