- newbie, cant connect to my ftp

PDA

View Full Version : newbie, cant connect to my ftp


neon_bikini
07-24-2004, 09:53 PM
wu-ftp is set up but i get this error when I try to connect:
421 Service not available, remote server timed out. Connection closed

I did a google groups search to trouble shoot the error and below are
some of the details. (google links below)

1. /var/log/messages
Oct 8 21:58:22 green ftpd[1420]: wu-ftpd - TLS settings: control
allow, client_cert allow, data allow
Oct 8 21:58:59 green ftpd[1419]: lost connection to 192.168.1.13
[192.168.1.13]
Oct 8 21:58:59 green ftpd[1419]: FTP session closed

2. /etc/ftpaccess
# Don't allow system accounts to log in over ftp
deny-uid %-99 %65534-
deny-gid %-99 %65534-
allow-uid ftp
allow-gid ftp
....
# original...
class all real
....

3. NO /etc/shutmsg

4. /etc/Hosts.allow
ALL: 127.0.0.1
ALL: 192.168.1.

5. /etc/Hosts.deny
ALL: ALL

6. #chkconfig --list wu-ftpd
wu-ftpd on

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=47j0a4%2418t%40hal.saar.de&rnum=4&prev=/groups%3Fq%3Dftpaccess%2B421%2Bgroup:comp.os.linux.setup%2Bgroup:comp.os.linux.setup%26hl%3Den%26lr%3D%26ie%3DUTF-8%26group%3Dcomp.os.linux.setup%26selm%3D47j0a4%252418t%2540hal.saar.de%26rnum%3D4
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=Jprx6.116664%24LO3.17294127%40typhoon.we.rr.com&rnum=5&prev=/groups%3Fq%3Dftp%2Bnewbie%2Bserver%2B421%2Bgroup:comp.os.linux.*%2Bgroup:comp.os.linux.*%26hl%3Den%26lr%3D%26ie%3DUTF-8%26group%3Dcomp.os.linux.*%26selm%3DJprx6.116664%2524LO3.17294127%2540typhoon.we.rr.com%26rnum%3D5

Can someone see the problem or point me to a HOWTO?
nb

neon_bikini
07-24-2004, 09:55 PM
Still having problems with the set up of the service. I found a
utility here (http://www.landfield.com/wu-ftpd/) to help.

"ftpck is utility to verify the various files required to run
wu-ftpd."

I am used to using rpms for installing and I have run into a problem
with the makefile.

1. the make command give the errors:
ftpck.c:67:20: config.h: No such file or directory
ftpck.c:78:23: pathnames.h: No such file or directory
ftpck.c:79:20: config.h: No such file or directory

2. The web site warns that the makefile may need to be edited.
"You will need to edit the Makefile in the ftpck directory and make
sure things are right for your installation. It is setup to use your
existing pathnames.h and config.h files."
This was true as inetd is xinetd in my installation; however, the
makefile makes no mention of the config.h or pathnames.h files.
The only directories mentioned are,
INSTALL = /usr/ucb/install
BINDIR = /usr/local/bin
MANDIR = /usr/local/man/man1

3. The only instances of the config.h file I can find are in
/usr/include/* directories for other apps n stuff. Do I need to copy
these files from another place? I dont understand why the tar does not
have these files already.

Mayby this is a newbie question, and I am sure it has a simple
answer...