Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3063634
  • 博文数量: 144
  • 博客积分: 10056
  • 博客等级: 上将
  • 技术积分: 2603
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-13 14:20
个人简介

互通有无,共同提高。

文章分类

全部博文(144)

分类: 系统运维

2010-06-03 20:54:29

前几天从办公室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
阅读(9365) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~