From owner-freebsd-questions Thu Apr 6 4:44:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from nscache2.x-treme.gr (mail1.x-treme.gr [212.120.196.23]) by hub.freebsd.org (Postfix) with ESMTP id 387C837B52D for ; Thu, 6 Apr 2000 04:44:41 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (pat39.x-treme.gr [212.120.197.231]) by nscache2.x-treme.gr (8.9.3/8.9.3/IPNG-ADV-ANTISPAM-0.1) with ESMTP id OAA19598; Thu, 6 Apr 2000 14:44:26 +0300 Received: (from charon@localhost) by hades.hell.gr (8.9.3/8.9.3) id OAA05818; Thu, 6 Apr 2000 14:19:23 +0300 (EEST) (envelope-from charon) Date: Thu, 6 Apr 2000 14:19:23 +0300 (EEST) From: Giorgos Keramidas Message-Id: <200004061119.OAA05818@hades.hell.gr> To: freebsd-questions@freebsd.org, tylei@hotmail.com Subject: Re: ftpd is not up In-Reply-To: <20000405173039.1745.qmail@hotmail.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > From: "Jerry Lei" > > I try to setup a ftp server on my FreeBSD. I can ping through this > FreeBSD, but I can't ftp. The ftp client will stalk until timeout when > try to make a ftp connection. the ftp client and ftp server in the > same ip broadcast domain. I do setup the firewall, but it is totally > open. > > I use inetd to call up ftpd. It is suppose to that someone ftp to my > ftp server, inetd will bring up ftpd automatically. But using "ps > waux" to check my process, I can't find ftpd up. Of course, you didn't forget to send a HUP signal to inetd after you changed it's inetd.conf file: # killall -hup inetd > I try call up ftpd directly by setting up echo " ftpd" && ftpd -D > in /etc/rc.local. it's the same situation. Can anyone give me some > suggestion? Thank you. You should be able to verify if an ftpd daemon is running and listening for clients, by looking at the output of netstat: % netstat -naf inet Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 *.25 *.* LISTEN tcp4 0 0 *.21 *.* LISTEN The second LISTEN line, the one listening on local port 21, is the ftpd daemon (or inetd if you use inetd to launch ftp servers) listening for incoming connections. Ciao, Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message