2008年6月16日 星期一

VSFTPD 問題

service vsftpd status
vsftpd dead but subsys locked
service vsftpd restart
Shutting down vsftpd: [FAILED]
Starting vsftpd for vsftpd: [ OK ]

if your frame shows "vsftp dead but subsys lock".
Please follow this procedure....

i had the same problem ...i got it working in the following way

just remove the vsftpd lock from /var/lock/subsys/

then in /etc/rc.d/init.d/ directory stop the xinetd daemon.
./xinetd stop

now restart the vsftpd service

service vsftpd restart

and now start the xinetd daemon again...
./xinetd start

Hope this works

事實上若還是無法排除問題,可以前往/etc/vsftpd/vsftpd.conf查看是否文件內部有打錯
編輯?vsftpd.conf ,只留一行Listen=yes
vi??vsftpd.conf
Listen=yes

再重新啟動 vsftpd ,如果ok,則一行一行在慢慢放回去,降子就可以知道是那一個設定出了問題


netstat -na --ip

just remove the vsftpd lock from /var/lock/subsys/
then in /etc/rc.d/init.d/ directory stop the xinetd daemon.
./xinetd stop
now restart the vsftpd service
service vsftpd restart
and now start the xinetd daemon again...
./xinetd start

following commands fixed the problem
service vsftpd stop
rpm --verify vsftpd
service vsftpd start

沒有留言: