<?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 04:24:43 -0500 (CDT)
Return-Path: &lt;dhatarattha@route-add.net&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 7D054DF
	for &lt;gopher@complete.org&gt;; Fri, 28 May 2004 04:24:42 -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 14666-06 for &lt;gopher@complete.org&gt;;
	Fri, 28 May 2004 04:24:40 -0500 (CDT)
Received: from dns2.EurNetCity.NET (dns2.eurnetcity.net [80.68.196.9])
	by glockenspiel.complete.org (Postfix) with ESMTP id 0A34D76
	for &lt;gopher@complete.org&gt;; Fri, 28 May 2004 04:24:40 -0500 (CDT)
Received: from brillante.route-add.net (postfix@brillante.route-add.net
 [80.68.194.26] (may be forged))
	by dns2.EurNetCity.NET (8.11.6p2-20030924/8.11.6) with SMTP id i4S8jjQ15020
	for &lt;gopher@complete.org&gt;; Fri, 28 May 2004 10:45:45 +0200
Received: from marana (marana [192.168.1.4])
	by brillante.route-add.net (Postfix) with ESMTP id 5D1831030
	for &lt;gopher@complete.org&gt;; Fri, 28 May 2004 11:24:20 +0200 (CEST)
Date: Fri, 28 May 2004 11:25:09 +0200 (CEST)
From: Alessandro Selli &lt;dhatarattha@route-add.net&gt;
To: gopher@complete.org
Subject: [gopher] Pygopherd and xinetd
Message-ID: &lt;Pine.LNX.4.58.0405281105370.21687@tanatos&gt;
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
X-EurNetCity-MailScanner-Information: Please contact the ISP for more
 information
X-EurNetCity-MailScanner: Found to be clean
X-MailScanner-From: dhatarattha@route-add.net
X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at complete.org
Content-Transfer-Encoding: 8bit
X-archive-position: 921
X-ecartis-version: Ecartis v1.0.0
Sender: gopher-bounce@complete.org
Errors-to: gopher-bounce@complete.org
X-original-sender: dhatarattha@route-add.net
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>  I finally set pygopherd_2.0.9 up and running on route-add.net, after
installing python2.3 side to side with the server&#x27;s native python2.1.
I noticed that I cannot run it from xinetd, when I try to I get this error in
the log:
</p>
<p>May 25 20:28:16 brillante pygopherd[25192]: Pygopherd starting, using
configuration file /etc/pygopherd/pygopherd.conf
May 25 20:28:17 brillante pygopherd[25192]: mimetypes initialized with files:
[&#x27;./conf/mime.types&#x27;, &#x27;/etc/pygopherd/mime.types&#x27;, &#x27;/etc/mime.types&#x27;]
May 25 20:28:18 brillante pygopherd[25192]: unknown-address [None/None]
EXCEPTION error: (48, &#x27;Address already in use&#x27;)
May 25 20:28:18 brillante pygopherd[25192]: Application startup NOT successful!
</p>
<p>  When I run it as a standalone server, it runs all right.  When I wan to run
it as a xinetd-run service, I put &quot;detach = yes&quot; in
/etc/pygopherd/pygopherd.conf.  Everything else is aantered, including:
</p>
<p>usechroot = yes
setuid = gopher
setgid = gopher
</p>
<p>  The xinetd file describing the service read as follows:
</p>
<p>service pygopher
{
        socket_type     = stream
        protocol        = tcp
        port            = 70
        wait            = no
        disable         = yes
        only_from       = 192.168.1.0
        user            = root
        server          = /usr/local/bin/pygopherd
        flags           = IDONLY
}
</p>
<p></p>
<p>  Is it normal tha pygopherd cannot be run from xinetd?
</p>
<p>Oh, by the way, John, I noticed this typo in the pygopherd/README file:
</p>
<p>&gt;For installing:
&gt;
&gt;1. Run pytohn2.2 setup.py install
</p>
<p>s/pytohn/python/
</p>
<p></p>
<p></p>
<p>  Sandro
</p>
<p></p>
<p>--
Bellum se ipsum alet
       La guerra nutre se stessa
</p>
<p>Livio, &quot;Ab urbe condita&quot;, XXXIV,9
</p>
<p></p>
<p></p>
</card>
</wml>
