Date: Tue, 17 Feb 2004 14:48:14 -0500 From: Marty Landman <MLandman@face2interface.com> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: can't connect to ftp server Message-ID: <6.0.0.22.0.20040217134443.01b80f88@pop.face2interface.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.0.20040217134443.01b80f88>