LinuxSir.cn,穿越时空的Linuxsir!

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

急!有关于proftp的问题,老鸟多多指点啊。

[复制链接]
发表于 2003-5-3 22:14:40 | 显示全部楼层 |阅读模式
2装好proftp开始还用的不错,但后来没多久(重启后)就连不上了。在服务器自己上用“telnet localhost 21"时显示
Trying 127.0.01....
Connected to localhost
Escape character is '^]'
Connetion closed by foreign host <---问题
防火墙打开的,外部机器也连不上,/etc/shutmsg也删过了;/etc/rc.d/init.d/xinetd reload 也没用(我是用inetd方式启动的)
求救啊,将/etc/xinetd.d/proftpd 中的disable项注消了也没用。

3还有我的装wuftp也好,proftp和vsftp也好速度最高也只有200K,一般70~80K,我可是用的100M卡啊怎么会这样?

附配置文件:
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName                      "red.dnsdiy.com FTP Server"
ServerType                      standalone
DefaultServer                   on

# Port 21 is the standard FTP port.
Port                            21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask                           022

RequireValidShell off

#Serverldent off

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances                    30

# Set the user and group under which the server will run.
User                            nobody
Group                           nobody

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

# Normally, we want files to be overwriteable.
<Directory />
  AllowOverwrite                on
</Directory>

# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
  User                          ftp
  Group                         ftp

  # We want clients to be able to login with "anonymous" as well as "ftp"

那位高手指点小弟一下啊,多谢了:mad:
发表于 2003-5-3 23:29:57 | 显示全部楼层
配置文件中不是以standalone吗?先试试看standalone启动,然后启动后,看看proftpd进程在不在,如果有错误看看它的log.是不是有其他应用程序已经占用了21和20端口号
 楼主| 发表于 2003-5-3 23:50:17 | 显示全部楼层

谢了,解决了是配置文件里用了一个过期命令,关了就好了。那为什么我的FTP传数据这么慢

多谢了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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