From owner-freebsd-net@FreeBSD.ORG Thu Sep 13 00:19:57 2007 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11B6616A41B for ; Thu, 13 Sep 2007 00:19:57 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 60FF913C459 for ; Thu, 13 Sep 2007 00:19:56 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (dialup243.ach.sch.gr [81.186.70.243]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id l8D0JWmD002820 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 13 Sep 2007 03:19:41 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l8D0JShM005798; Thu, 13 Sep 2007 03:19:30 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l8D0JKf1005796; Thu, 13 Sep 2007 03:19:20 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 13 Sep 2007 03:19:20 +0300 From: Giorgos Keramidas To: tekkie140 Message-ID: <20070913001920.GA5712@kobe.laptop> References: <12641033.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <12641033.post@talk.nabble.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.882, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.52, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-net@FreeBSD.org Subject: Re: ftp daemon fails X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2007 00:19:57 -0000 On 2007-09-12 10:58, tekkie140 wrote: > > no response in the freebsd-questions forum...maybe here? > > hi - all of a sudden (it used to work) i can't start the ftpd daemon. > > # /usr/libexec/ftpd -l -R -p ftpd-id > Sept 10 09:02:22 myhostname ftpd[1234]: getpeername (/usr/libexec/ftpd): > Socket operation on non-socket > # > > anyone know where i should look? /etc/hosts looks okay. /usr/libexec/ftpd is not something you are expected to run directly from the command-line. It should work MUCH better if you use inetd(8) to launch it. Try reading up on inetd(8) and inetd.conf(5) a bit: man inetd man inetd.conf Then edit /etc/inetd.conf to match your preferred ftpd setup, and start inetd (or restart it, if it's already running). - Giorgos