Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2001 00:50:14 -0400
From:      Nathan Mace <nmace85@yahoo.com>
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: <Pine.BSF.4.21.0109292227160.79980-100000@ren.sasknow.com>
References:  <20010930001726.A523@rabbit.lxintn1.ky.home.com> <Pine.BSF.4.21.0109292227160.79980-100000@ren.sasknow.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ryan@sasknow.com>
>   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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010930005014.1957092c.nmace85>