rhel5上配置vsftpd_421 Service not available, remote server has closed connection

  为了测试oracle asm,在vm上构建对应环境,其间用到了ftp,便发生如下一景:


rpm -qa|grep ftp  --发现是vsftpd软件
service vsftpd start
chkconfig --list|grep vsftpd --查看是否打开
cd /etc/vsftpd 
vi ftpusers和user_lists --comment 相关的root行,可以以root ftp了
ftp localhost,报如题信息

处理如下:

 ftp可能受selinux和iptables限制,输入这两个命令然后再试试。
#setenforce 0
#service ipatbles stop


小结:
1,对iptables不懂,找个时间了解下
2,chkconfig也是一知半解,man下,深入学习
3,vsftpd的/etc/vsftpd/vsftpd.conf 文件,想构建ftp server,要好好学习此文件
请使用浏览器的分享功能分享到微信等