From owner-freebsd-questions Sat Sep 29 21:41:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp013.mail.yahoo.com (smtp013.mail.yahoo.com [216.136.173.57]) by hub.freebsd.org (Postfix) with SMTP id 0949937B405 for ; Sat, 29 Sep 2001 21:41:55 -0700 (PDT) Received: from unknown (HELO cheech.uchaswv.edu) (12.4.161.101) by smtp.mail.vip.sc5.yahoo.com with SMTP; 30 Sep 2001 04:41:54 -0000 X-Apparently-From: Date: Sun, 30 Sep 2001 00:50:14 -0400 From: Nathan Mace To: questions@freebsd.org Cc: jfreeze@freebsdportal.com Subject: Re: How to get FTP working for 4.4R Message-Id: <20010930005014.1957092c.nmace85@yahoo.com> In-Reply-To: References: <20010930001726.A523@rabbit.lxintn1.ky.home.com> X-Mailer: Sylpheed version 0.6.1 (GTK+ 1.2.10; i386--freebsd4.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG try becoming root with su, then typing 'ftpd'. if it says command not found then the ftp server isn't installed. it just might be a case of the ftpd binary being installed, but it's not starting at start-up nathan > Does the ftpd binary exist? Is it executable? > > If what you're saying is true, and you have restarted (SIGHUP) inetd, and > TCP/IP is working correctly on your machine, then a useful thing to do > would be to look in logs and determine if there are any fatal errors when > attempting to start ftpd instances. > > Is there anything else bound to port 21 for any reason? When you ftp from > localhost, does it work? If so, ftpd itself is not the problem. Otherwise, > what does "no ftp" mean? Does the socket connect, timeout, or refuse the > connection? Or do you actually connect and exchange data, but the ftpd > application isn't working correctly? If all else fails, some relevant > tcpdump output, and sockstat | grep '\.21' might be helpful. > > Just some thoughts... > > > > Below are the detials: > > > > cat /etc/services > > ... > > ftp-data 20/tcp #File Transfer [Default Data] > > ftp-data 20/udp #File Transfer [Default Data] > > ftp 21/tcp #File Transfer [Control] > > ftp 21/udp #File Transfer [Control] > > ... > > > > cat /etc/inetd.conf > > ... > > ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l > > ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l > > ... > > > > Thanks > > > > Jim > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > -- > Ryan Thompson > Network Administrator, Accounts > > SaskNow Technologies - http://www.sasknow.com > #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 > > Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon > Toll-Free: 877-727-5669 (877-SASKNOW) North America > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message