LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 855|回复: 2

访问自己做的ftp server,登陆后提示data socket error,什么意思?

[复制链接]
发表于 2003-7-2 11:35:45 | 显示全部楼层 |阅读模式
访问自己做的ftp server,登陆后提示data socket error,什么意思?
发表于 2003-7-2 12:05:38 | 显示全部楼层
有些FTP服务器的初始设置不支持PASV 模式。
解决办法有两个:

(1)改FTP工具的设置为 PORT (而不是PASV)
(2)增加FTP服务器的PASV功能:
PassivePorts     10000 10029
发表于 2003-7-2 14:48:08 | 显示全部楼层
it is also possible to configure vsftpd to respond correctly to passive requests. To do this, add the following line to its configuration file, /etc/vsftpd.conf:

pasv_address <virtual_ip>  

Where <virtual_ip> is the virtual IP address for the clustered FTP service.

If the clustered FTP servers are not Red Hat based or the FTP server software does not offer the appropriate configuration option, issue the following command on both the active and passive LVS routers:

参考这里:http://www.redhat.com/docs/errata/RHEL-2.1-Manual/
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表