Helpful Information
 
 
Category: FTP Help
FTP fails after RH7.1 to RH7.3 upgrade

I have just upgraded from RH Linux 7.1 to 7.3, now my ftp connection won't work. I get this message from the ftp client;

STATUS:> Connecting to ftp server 192.168.0.1:21 (ip = 192.168.0.1)...
STATUS:> Socket connected. Waiting for welcome message...
ERROR:> Timeout.
STATUS:> Waiting 30 seconds...

It looks to me like ftpd is not kicking in. Everything was fine before I upgraded, any ideas. I'm sure it's something simple.

I checked with WebMin and under xinet server and it says that ftp is enabled, but when I check under ftp server I get this;
The FTP server /usr/sbin/in.ftpd does not appear to be WU-FTPd. I checked in the /usr/sbin/ directory and the program in.ftpd is there.


Thanks in advance.

Mike

It seems that this may be a DNS problem. I had the same thing happen when I did a fresh install of 7.1. I changed /etc/host and /etc/resolv.conf and things started working. I found that the 7.3 upgrade commented out one of my lines in /etc/hosts. I wonder what else was commented out. The symptoms are still the same, the ftp client just seems to sit there, waiting. Any ideas??

Mike

just a guess!
probably your ftp server or tcp wrappers is setup to log FQDN. so every access to it starts a DNS-lookup. since you use private ip (192.168.*.*), it cannot find the answer on the ´net.
you need to turn the lookups off or setup a dns server on the machine that maps (and reverse maps) the private adresses.

Is this info of any use, from /var/log/messages

May 25 10:00:31 localhost named[839]: loading configuration from '/etc/named.conf'
May 25 10:00:31 localhost named[839]: no IPv6 interfaces found
May 25 10:00:31 localhost named[839]: named.192.168.0:1: no TTL specified; using SOA MINTTL instead
May 25 10:00:31 localhost named[839]: zone 0.168.192.in-addr.arpa/IN: loaded serial 1997022703
May 25 10:00:40 localhost ftpd[3099]: wu-ftpd - TLS settings: control allow, client_cert allow, data allow
May 25 10:01:21 localhost ftpd[3099]: lost connection to MyKey [192.168.0.2]
May 25 10:01:21 localhost ftpd[3099]: FTP session closed
May 25 10:08:33 localhost ftpd[3711]: wu-ftpd - TLS settings: control allow, client_cert allow, data allow
May 25 10:09:13 localhost ftpd[3711]: lost connection to MyKey [192.168.0.2]
May 25 10:09:13 localhost ftpd[3711]: FTP session closed


server is runnung on 192.168.0.1 , DNS, httpd, ftp etc.

Thanks
Mike










privacy (GDPR)