From owner-freebsd-net Sat May 20 18:50:32 2000 Delivered-To: freebsd-net@freebsd.org Received: from assaris.sics.se (t2o69p61.telia.com [62.20.144.181]) by hub.freebsd.org (Postfix) with ESMTP id 1D26D37B7FF for ; Sat, 20 May 2000 18:50:28 -0700 (PDT) (envelope-from assar@assaris.sics.se) Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.9.3) id DAA11777; Sun, 21 May 2000 03:50:35 +0200 (CEST) (envelope-from assar) To: AB Cc: freebsd-net@FreeBSD.ORG Subject: Re: ftpd error message: can somebody explain me what it means ? References: <3926C973.92F2BC6F@wanadoo.nl> From: Assar Westerlund Date: 21 May 2000 03:50:34 +0200 In-Reply-To: AB's message of "Sat, 20 May 2000 19:20:51 +0200" Message-ID: <5l7lcohdsl.fsf@assaris.sics.se> Lines: 14 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org AB writes: > No matter how many books/man pages I read, I can not find the > explanation for this error message: > > ftpd[proces-ID] "getpeername (/usr/libexec/ftpd): socket operation on > non-socket" ftpd assumes it has been started from inetd and therefore that file descriptor 0 is a TCP-socket. If this is not the case you get the error you quotes above. I repeat: ftpd has to be started by inetd (or something inetd-like). /assar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message