Yes, so something must have killed the server and shut it down leading
to the stale socket message. However I guess without further checking
through the server logs I won't find out exactly why etc.<br><br><div><span class="gmail_quote">On 11/22/05, <b class="gmail_sendername">J Cameron Cooper</b> &lt;<a href="mailto:jccooper@enfoldsystems.com">jccooper@enfoldsystems.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">michael nt milne wrote:<br>&gt; Ok, but Zope and Apache were serving nothing until I re-started Zope.
<br>&gt; The server had died for some reason<br><br>Indeed. And that's what it tells you with the &quot;unlinking stale socket&quot;:<br>it was not shut down in an orderly manner previously.<br><br>But that message says nothing about why.
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--jcc<br><br>&gt; On 11/22/05, *Chris McDonough* &lt;<a href="mailto:chrism@plope.com">chrism@plope.com</a><br>&gt; &lt;mailto:<a href="mailto:chrism@plope.com">chrism@plope.com</a>&gt;&gt; wrote:<br>
&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; I think it probably was running after the first time you invoked it.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; The message is only informative, meaning that zopectl died unexpectly<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; the last time it was run (without cleaning up after itself).&nbsp;&nbsp;It's
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; not a fatal error or at least hasn't been whenever I've seen it.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; On Nov 22, 2005, at 10:57 AM, michael nt milne wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Yes, I noticed that the deamon wasn't running and so re-started it.
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; It started up fine but that was the message I received. Just<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; wondered what happened etc..<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; On 11/22/05, Chris McDonough &lt;<a href="mailto:chrism@plope.com">
chrism@plope.com</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mailto:<a href="mailto:chrism@plope.com">chrism@plope.com</a>&gt;&gt; wrote: Note that<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Zope likely started.&nbsp;&nbsp;Did it?&nbsp;&nbsp;Did you try zopectl stop and<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; zopectl start again?&nbsp;&nbsp;If so, did it work?
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; - C<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; On Nov 22, 2005, at 9:52 AM, michael nt milne wrote:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; &gt; Hi<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; &gt; My zopeinstance went down and I was getting an 'upstream server'
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; &gt; unknown message from apache. On restarting zope from ./zopectl this<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; &gt; was the message I got.....<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; &gt; unlinking stale socket<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; &gt; /home/zopeinstance/var/zopectl/sock,sleep/
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; &gt; No handlers could be found for logger 'root'<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; &gt; Does anyone have any idea on how to prevent this at all, or what<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; &gt; happened here?<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; &gt; Thanks<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; &gt; Michael<br><br><br>--<br>&quot;Building Websites with Plone&quot;<br><a href="http://plonebook.packtpub.com/">http://plonebook.packtpub.com/
</a><br><br>Enfold Systems, LLC<br><a href="http://www.enfoldsystems.com">http://www.enfoldsystems.com</a><br></blockquote></div><br>