由 pc2boy 在 05-21-2003 23:57 发表:
请教proftp 问题
[root@chw named]# ping www.red.dnsdiy.com
PING www.red.dnsdiy.com (192.168.0.100) 56(84) bytes of data.
64 bytes from red.dnsdiy.com (192.168.0.100): icmp_seq=1 ttl=64 time=0.149 ms
64 bytes from red.dnsdiy.com (192.168.0.100): icmp_seq=2 ttl=64 time=0.051 ms
--- www.red.dnsdiy.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.051/0.100/0.149/0.049 ms
[root@chw named]# /usr/local/sbin/proftpd start
chw.red.dnsdiy.com - error: unable to determine IP address of 'chw.red.dnsdiy.com'
[root@chw named]#
我在DNS主机和FTP 服务器在一起IP 为192.168.0.100 服务器名为chw.red.dnsdiy.com从上可见服务器上是ping的到自己的主机名,为什么运行PROFTP 时提示找不到主机的IP地址呢?
由 pupilzeng 在 05-22-2003 00:16 发表:
你是在proftpd.conf中用
bind命令指定ip?
是不是这个不能使用域名?
Athlon XP1500+ +Jetway 866Pro(KT266A) +384RAM+Seaget U6 40G +Geforce MX400
Debian(sid)+XP
由 pc2boy 在 05-22-2003 11:29 发表:
我的proftpd.conf
Umask 022 is a good standard umask to prevent new dirs and files
from being group and world writable.
Umask 022
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.
1<directory></directory>
AllowOverwrite on
A basic anonymous configuration, no upload directories. If you do not
want anonymous users, simply delete this entire
1<anonymous> section.
2
3<anonymous ~ftp=""></anonymous></anonymous>