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

wisdomone1發表於2009-11-24
  為了測試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,要好好學習此檔案

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-620455/,如需轉載,請註明出處,否則將追究法律責任。

相關文章