解決vsftp沒法啓動問題(轉)

[root@node11 ~]# service vsftpd restart
Shutting down vsftpd:                                      [FAILED]
Starting vsftpd for vsftpd:                                [FAILED]
[root@D11 ~]#node

通過一系列測試,發現21端口被佔用(看21端口被哪一個進程佔用)web

[root@node11 ~]# netstat -nlap |grep .21|more
tcp        0      0 0.0.0.0:6000                0.0.0.0:*                   LISTEN      32190/Xorg          
tcp        0      0 0.0.0.0:1521                0.0.0.0:*                   LISTEN      31903/tnslsnr       
tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LISTEN      1289/xinetd        
tcp

解決方法,關閉xinetd,ftp正常測試

[root@node11 ~]# service xinetd stop
Stopping xinetd:                                           [  OK  ]
[root@node11 ~]# service vsftpd start
Starting vsftpd for vsftpd:                                [  OK  ]
[root@node11 ~]# service xinetd start
Starting xinetd:                                           [  OK  ]spa

相關文章
相關標籤/搜索