From owner-freebsd-net Sat May 20 21:18: 3 2000 Delivered-To: freebsd-net@freebsd.org Received: from noname.cbr.amur.ru (noname.cbr.amur.ru [195.151.156.206]) by hub.freebsd.org (Postfix) with ESMTP id C6AE137B732 for ; Sat, 20 May 2000 21:17:52 -0700 (PDT) (envelope-from maxim@amur.cbr.ru) Received: from localhost (localhost [127.0.0.1]) by noname.cbr.amur.ru (8.9.3/8.9.3) with ESMTP id OAA01517; Sun, 21 May 2000 14:16:44 +1000 (YAKST) (envelope-from maxim@amur.cbr.ru) Date: Sun, 21 May 2000 14:16:44 +1000 (YAKST) From: Maxim Konovalov X-Sender: maxim@noname.cbr.amur.ru To: Assar Westerlund Cc: AB , freebsd-net@FreeBSD.ORG Subject: Re: ftpd error message: can somebody explain me what it means ? In-Reply-To: <5l7lcohdsl.fsf@assaris.sics.se> Message-ID: 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 But if you steel want to run standalone ftpd try # /usr/libexec/ftpd -D -4 It works for me. HTH, Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message