From owner-freebsd-questions@FreeBSD.ORG Tue Feb 17 12:36:16 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 59B1F16A4CE for ; Tue, 17 Feb 2004 12:36:16 -0800 (PST) Received: from smtp-2.mdc.net (smtp-2.mdc.net [209.251.64.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id F19A243D1F for ; Tue, 17 Feb 2004 12:36:15 -0800 (PST) (envelope-from matthew@netway.com) Received: from admin1.mdc.net (admin1.mdc.net [209.251.64.23]) by smtp-2.mdc.net (8.9.3/8.9.1) with ESMTP id PAA49506; Tue, 17 Feb 2004 15:35:59 -0500 (EST) (envelope-from matthew@netway.com) Date: Tue, 17 Feb 2004 15:35:50 -0500 (EST) From: matthew X-X-Sender: matthew@admin1.mdc.net To: Marty Landman In-Reply-To: <6.0.0.22.0.20040217134443.01b80f88@pop.face2interface.com> Message-ID: <20040217153525.N52805@admin1.mdc.net> 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> <6.0.0.22.0.20040217134443.01b80f88@pop.face2interface.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 20:36:16 -0000 On Tue, 17 Feb 2004, Marty Landman wrote: > 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 > killall -9 inetd inetd telnet 0 21 there is nothing more to it. all as root. m > 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 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >