From owner-freebsd-net@FreeBSD.ORG Thu Sep 13 11:08:51 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 3383216A421 for ; Thu, 13 Sep 2007 11:08:51 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 2C84413C458 for ; Thu, 13 Sep 2007 11:08:49 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IVmYy-0002bb-5R for freebsd-net@freebsd.org; Thu, 13 Sep 2007 04:08:48 -0700 Message-ID: <12652777.post@talk.nabble.com> Date: Thu, 13 Sep 2007 04:08:48 -0700 (PDT) From: tekkie140 To: freebsd-net@freebsd.org In-Reply-To: <20070913000746.GB22926@verio.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: administrator@ksd140.org References: <12641033.post@talk.nabble.com> <20070913000746.GB22926@verio.net> 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 11:08:51 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 tekkie140 wrote: > > 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 > Your ftpd is thinking it was launched from inetd, and expected to get a > socket on standard input. > I think you need to add the -D flag to get a stand-alone daemon. Yes, good call. Silly of me to think that ftpd (ftp daemon) would automatically launch as a daemon. The -D flag did the trick. Thanks! Thanks to the others who responded as well. I'll RTFM on inet as well. -- View this message in context: http://www.nabble.com/ftp-daemon-fails-tf4431115.html#a12652777 Sent from the freebsd-net mailing list archive at Nabble.com.