On Thu, 16 Dec 1999, Jim Hicks wrote about, Re: The new guy can't run an FTP
server...:
> >
> >Likewise look in /etc/inetd.conf for a line like:
> >
> >#ftp stream tcp nowait mfwic /usr/sbin/tcpd /usr/sbin/wu.ftpd
>
> Also there and not commented. We are using in.ftpd
>
> It also appears that the binary is there as well...a 'find' produced:
> ./sbin/in.tftpd
>
>
>
>
> >But you are not very informative about how you have confiured the ftp
> Sorry 'bout that, but I am REALLY new at Linux and didn't know what you
> would even look for...
>
> >server, is there a line in /etc/inetd.conf as;
> >ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a
>
> Yes. That lin exactly...
You are confusing me, in answer to my question;
"is there a line in /etc/inetd.conf as"
You say "yes exactly"
then do you have in.ftpd in /usr/sbin
"yes"
But you say a find found "TFTPD"
They are not the same, the line in /etc/inetd.conf has in.ftpd as its
binary, you keep saying we are using "tftpd"
The normal one to use is in.ftpd .
Now just which one do you have and which one is defined.???
ftp will only work when the binary defined is found in /usr/bin or the path
stated in inetd.conf.
If inetd.conf is changed at all while inetd is running, and it runs all the
time, then after alterations do;
kill -HUP `pidof inetd`
Note the marks, if that does not work for you, then read the top of
inetd.conf it tells you what to do.
>
> >and do you have in.ftpd in /usr/sbin ??
> Yes.
>
> >Do you have a directory call /home/ftp and subdirs as
> >d--x--x--x 2 root wheel 1024 Jun 13 1999 bin/
> >d--x--x--x 2 root wheel 1024 Jun 13 1999 etc/
> >drw-rw-rw- 2 root wheel 1024 Jun 28 14:59 incoming/
> >drwxr-xr-x 2 root wheel 1024 Jun 13 1999 lib/
> >dr-xr-sr-x 8 root wheel 1024 Nov 21 16:59 pub/
> >drwxr-xr-x 2 ftp wheel 1024 Aug 17 10:26 tmp/
>
> Like this one?
>
> drwxr-xr-x 6 root root 1024 Dec 1 13:55 .
> drwxr-xr-x 5 root root 1024 Dec 1 13:55 ..
> d--x--x--x 2 root root 1024 Dec 1 13:55 bin
> d--x--x--x 2 root root 1024 Dec 1 13:55 etc
> drwxr-xr-x 2 root root 1024 Dec 1 13:55 lib
> dr-xr-sr-x 2 root ftp 1024 Mar 21 1999 pub
>
> everything seems to be in order, but still can't ftp into the box (either
> from itself or a terminal elsewhere)...out from the box works fine.
>
> A little befuddled,
> Jim
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
--
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/
Merry Xmas.