I am currently looking at an issue that's puzzling me somewhat regarding the behaviour of vsFTP. I have a server with both vs- and ProFTP installed, and I want to use the latter to connect to the same server over FTP (yes, the same server - it's for testing).
To that end I have stopped the vsFTP service and switched it off in chkconfig, however still whenever attempt an FTP connection to the server, it uses vsFTPd, as per below:
[root@server1 ~]# ftp server1
Connected to server1 (10.200.1.2).
220 (vsFTPd 2.0.5)
On the other hand, when connecting to "localhost", e.g. to the same server just not with the FQDN, it uses proFTP like I need it to:
[root@server1 ~]# ftp localhost
Connected to localhost (127.0.0.1).
220 ProFTPD 1.3.4a Server (Jobsite FTP Server - Unauthorised use prohibited) [::ffff:127.0.0.1]
Does anyone have any ideas on how to stop vsFTP from taking over? Ideally I would like to avoid having to remove it.
Edit: turns out an entry in /etc/hosts meant that the FQDN was pointing to another server, hence the issue! Now that it's been corrected, it's using proFTPd as required.