From owner-freebsd-questions@FreeBSD.ORG Tue Feb 17 11:49:05 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E8F416A4CE for ; Tue, 17 Feb 2004 11:49:05 -0800 (PST) Received: from www6.web2010.com (www6.web2010.com [216.157.5.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id B31A743D1D for ; Tue, 17 Feb 2004 11:49:04 -0800 (PST) (envelope-from MLandman@face2interface.com) Received: from delliver.face2interface.com (dialup-wash-129-203.thebiz.net [64.30.129.203] (may be forged)) by www6.web2010.com (8.12.10/8.9.0) with ESMTP id i1HJmE89019637; Tue, 17 Feb 2004 14:48:33 -0500 (EST) Message-Id: <6.0.0.22.0.20040217134443.01b80f88@pop.face2interface.com> X-Sender: face@pop.face2interface.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Tue, 17 Feb 2004 14:48:14 -0500 To: Matthew Seaman From: Marty Landman In-Reply-To: <20040217182542.GC59848@happy-idiot-talk.infracaninophile.c o.uk> References: <6.0.0.22.0.20040217111500.049a6db0@pop.face2interface.com> <20040217162446.GB77332@marvin.penguinpowered.org> <6.0.0.22.0.20040217113548.04cea110@pop.face2interface.com> <20040217182542.GC59848@happy-idiot-talk.infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: Wayne Pascoe cc: freebsd-questions@freebsd.org Subject: Re: can't connect to ftp server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2004 19:49:05 -0000 At 01:25 PM 2/17/2004, Matthew Seaman wrote: >Kinda obvious, but is inetd(8) running at all? # ps -ax | fgrep inetd 20482 ?? Is 0:00.01 inetd start >If it is running, did you restart it after editing the configuration file? yes >To make inetd(8) start automatically on reboots add this to /etc/rc.conf: > > inetd_enable="YES" # cat /etc/rc.conf | fgrep inetd inetd_enable="YES" >You might want to tweak inetd's runtime flags something like the following: > > inetd_flags="-wWl -R 1024 -c 128" pretty generous for my little office, did it >In order to make inetd(8) reread it's config file: > > # kill -HUP `cat /var/run/inetd.pid` ok >You should now see something listening on port 21 No. But I do see this on /var/log/messages inetd[20482]: start: No such file or directory I assumed it was running because it showed up in top and ps -ax, but I guess it really didn't because of this failure on attempting to start? Yet I can ssh into the box, and sftp in too. None of which shows on the /var/log/messages -- I guess because inetd isn't running; now I can see sshd and sftp-server running on `top`. >if you still can't connect by FTP, double check your firewall rules >(remember that FTP uses both ports 20 and 21) and /etc/hosts.allow. # cat /etc/rc.conf|fgrep secure kern_securelevel_enable="NO" # cat /etc/rc.conf | fgrep firewall firewall_enable="no" # cat /etc/hosts.allow | fgrep ftp # Provide a small amount of protection for ftpd ftpd : localhost : allow ftpd : .nice.guy.example.com : allow ftpd : .evil.cracker.example.com : deny ftpd : ALL : allow So does the problem appear to be that inetd isn't able to start? Why is it that I get so totally lost before finding out where I'm going? :) Marty Landman Face 2 Interface Inc 845-679-9387 This Month's New Quiz --- Past Superbowl Winners Make a Website: http://face2interface.com/Home/Demo.shtml