<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="index" title="Text File" newcontext="true">
<p>
Received: with ECARTIS (v1.0.0; list gopher);
 Fri, 28 May 2004 08:08:45 -0500 (CDT)
Return-Path: &lt;jgoerzen@excelhustler.com&gt;
X-Original-To: gopher@complete.org
Delivered-To: gopher@complete.org
Received: from localhost (localhost [127.0.0.1])
	by glockenspiel.complete.org (Postfix) with ESMTP
	id 0C40D86; Fri, 28 May 2004 08:08:44 -0500 (CDT)
Received: from glockenspiel.complete.org ([127.0.0.1])
	by localhost (glockenspiel [127.0.0.1]) (amavisd-new, port 10025)
	with ESMTP id 19079-05; Fri, 28 May 2004 08:08:41 -0500 (CDT)
Received: from gatekeeper.elmer.external.excelhustler.com
 (gatekeeper.excelhustler.com [68.99.114.105])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(Client CN &quot;gatekeeper.elmer.external.excelhustler.com&quot;,
 Issuer &quot;excelhustler.com&quot; (not verified))
	by glockenspiel.complete.org (Postfix) with ESMTP
	id 5D85E76; Fri, 28 May 2004 08:08:41 -0500 (CDT)
Received: from chatterbox.elmer.internal.excelhustler.com (unknown
 [192.168.0.12])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(Client CN &quot;chatterbox.elmer.internal.excelhustler.com&quot;,
 Issuer &quot;excelhustler.com&quot; (not verified))
	by gatekeeper.elmer.external.excelhustler.com (Postfix) with ESMTP
	id E9772E01A1; Fri, 28 May 2004 08:08:37 -0500 (CDT)
Received: from localhost (localhost [127.0.0.1])
	by chatterbox.elmer.internal.excelhustler.com (Postfix) with ESMTP
	id 4F6845C067; Fri, 28 May 2004 08:08:37 -0500 (CDT)
Received: from chatterbox.elmer.internal.excelhustler.com ([192.168.0.12])
	by localhost (chatterbox [192.168.0.12]) (amavisd-new, port 10025)
	with ESMTP id 04037-02; Fri, 28 May 2004 08:08:34 -0500 (CDT)
Received: from wile.internal.excelhustler.com (wile.internal.excelhustler.com
 [192.168.1.34])
	by chatterbox.elmer.internal.excelhustler.com (Postfix) with ESMTP
	id 15BAB5C063; Fri, 28 May 2004 08:08:32 -0500 (CDT)
Received: by wile.internal.excelhustler.com (Postfix, from userid 1000)
	id 9582249057; Fri, 28 May 2004 08:08:32 -0500 (CDT)
Date: Fri, 28 May 2004 08:08:32 -0500
From: John Goerzen &lt;jgoerzen@complete.org&gt;
To: gopher@complete.org
Subject: [gopher] Re: Pygopherd and xinetd
Message-ID: &lt;20040528130832.GB9268@excelhustler.com&gt;
References: &lt;Pine.LNX.4.58.0405281105370.21687@tanatos&gt;
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: &lt;Pine.LNX.4.58.0405281105370.21687@tanatos&gt;
User-Agent: Mutt/1.5.6i
X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at excelhustler.com
X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at complete.org
Content-Transfer-Encoding: 8bit
X-archive-position: 923
X-ecartis-version: Ecartis v1.0.0
Sender: gopher-bounce@complete.org
Errors-to: gopher-bounce@complete.org
X-original-sender: jgoerzen@complete.org
Precedence: bulk
Reply-to: gopher@complete.org
List-help: &lt;mailto:ecartis@complete.org?Subject=help&gt;
List-unsubscribe: &lt;mailto:gopher-request@complete.org?Subject=unsubscribe&gt;
List-software: Ecartis version 1.0.0
List-Id: Gopher &lt;gopher.complete.org&gt;
X-List-ID: Gopher &lt;gopher.complete.org&gt;
List-subscribe: &lt;mailto:gopher-request@complete.org?Subject=subscribe&gt;
List-owner: &lt;mailto:jgoerzen@complete.org&gt;
List-post: &lt;mailto:gopher@complete.org&gt;
List-archive: &lt;http://www.complete.org/mailinglists/archives/&gt;
X-list: gopher
</p>
<p>On Fri, May 28, 2004 at 11:25:09AM +0200, Alessandro Selli wrote:
&gt;   I finally set pygopherd_2.0.9 up and running on route-add.net, after
&gt; installing python2.3 side to side with the server&#x27;s native python2.1.
&gt; I noticed that I cannot run it from xinetd, when I try to I get this error in
&gt; the log:
</p>
<p>PyGopherd does not have any support for running from inetd or xinetd at
present.  That support would probably be trivial to implement, but it&#x27;s
just not there right now.
</p>
<p>Let me explain some of the errors you&#x27;re getting:
</p>
<p>&gt; May 25 20:28:16 brillante pygopherd[25192]: Pygopherd starting, using
&gt; configuration file /etc/pygopherd/pygopherd.conf
&gt; May 25 20:28:17 brillante pygopherd[25192]: mimetypes initialized with files:
&gt; [&#x27;./conf/mime.types&#x27;, &#x27;/etc/pygopherd/mime.types&#x27;, &#x27;/etc/mime.types&#x27;]
&gt; May 25 20:28:18 brillante pygopherd[25192]: unknown-address [None/None]
&gt; EXCEPTION error: (48, &#x27;Address already in use&#x27;)
</p>
<p>That&#x27;s because PyGopherd attempts to listen to a port that is already
being listened on by xinetd.
</p>
<p>&gt; May 25 20:28:18 brillante pygopherd[25192]: Application startup NOT successful!
&gt;
&gt;   When I run it as a standalone server, it runs all right.  When I wan to run
&gt; it as a xinetd-run service, I put &quot;detach = yes&quot; in
</p>
<p>Unfortunately, all detach does is tell PyGopherd to run as a Unix daemon
-- that is, it forks itself off, continues listening for connections in
the backgrouns, and returns immediately.
</p>
<p>&gt; Oh, by the way, John, I noticed this typo in the pygopherd/README file:
</p>
<p>Oops :-)
</p>
<p>-- John
</p>
</card>
</wml>
