Solution to FTP issue
I just got this problem after renumbering one of our servers with new IP. Here is the error message I had:
[17:45:47] Connecting to <IP address> Port: 21
[17:45:47] Connected to <hostname>
[17:45:48] An established connection was aborted by the software in your host machine.
[17:45:48] Server closed connection
and
Connection to <hostname>
Connection closed by remote host.
Problem:
In /etc/proftpd.vhost.conf, I found out:
<VirtualHost *.*.*.*>
ServerName "ProFTPd"
ExtendedLog /var/log/proftpd/*.*.*.*.bytes WRITE,READ userlog
AuthUserFile /etc/proftpd.passwd
</VirtualHost>
where *.*.*.* is the main server IP
Solution:
Comment this section and do:
service proftpd restart
Hope this helps for those who has similar issue.
Best regards,
Reyner Natahamidjaja
[email protected]
http://globalcon.net