前几天从办公室winXP的CutFTP上无法登录机房里的Linux系统,后来同事用网上找来的如下方法解决了问题:
[quote]
In RHEL AS3Update3, after started the vsftp ftp server and connected to it from another computer, it prompted the user needed an authorization and stopped there. Then when you use the server configure tools to restart the vsftp service , it says "vsftpd dead but subsys locked". I used the followed method to figure it out.
Method 1). Open the /etc/xinit.d/gssftp file; change the line "Server_args= -l -a " to "Server_args=-l "
This will resolve the authorization problem and can connect the ftp server successfully. But the password verify process is time consumer.
Method 2). Open the /etc/xinit.d/gssftp file; change the line "disable=no" to "disable=yes"
This will make the vsftp server working as a stand alone deamon and the connection is fluent.
After this operation, you must use service vsftpd restart to restart the vsftp server.
[/quote]
步骤如下:
用 netstat -tlunp|grep 21 查看是否用其它FTP
再 grep -i ftp /etc/xinetd.d/*
修改/etc/xinetd.d/gssftp,
disable = no 改成disable = yes
重启xinetd:
service xinetd restart
再重启vsftpd:
service vsftpd restart
阅读(9775) | 评论(0) | 转发(0) |