LinuxSir.cn,穿越时空的Linuxsir!

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

proftp无法起动

[复制链接]
发表于 2006-5-2 20:26:01 | 显示全部楼层 |阅读模式
debian:/etc/proftpd# /etc/init.d/proftpd restart
Stopping ftp server: proftpd.
Starting ftp server: proftpd - IPv6 getaddrinfo 'debian.debian' error: Name or service not known
.
debian:/etc/proftpd#
下面是我/etc/proftpd.conf,hunter已经存在,由 /etc/passwd,/etc/group 可知 。
×××××××××××××××××××××××××××××                           
erverType standalone
DefaultServer on
Umask 022
ServerName "xxx.xxx.xxx.xxx"
ServerIdent on "My FTPD"
ServerAdmin Admin@this.domain.topdomain
IdentLookups off
UseReverseDNS off
Port 21
PassivePorts 49152 65534
#MasqueradeAddress None
TimesGMT off
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
User nobody
Group nogroup
DirFakeUser on  nobody
DirFakeGroup on nogroup
DefaultTransferMode binary
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 2000
TransferRate STOR 2000
TransferRate STOU 2000
TransferRate APPE 2000
SystemLog /var/log/secure
#gp_random_username_length 6
#gp_random_password_length 6
#gp_randomize_case lower
#gp_useradd_homedir_path /home/ftp
#gp_useradd_upload_path
#gp_html_path /usr/var/www/ftp.html
#gp_welcome_name welcome.msg
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol TLSv1
TLSLog /usr/var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gproftpd/gproftpd.pem
</IfModule>
<Limit LOGIN>
  AllowUser hunter
  DenyALL
</Limit>

<Anonymous /home/ftp>
User hunter
Group hunter
AnonRequirePassword on
MaxClients 5 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit LIST NLST  STOR STOU  APPE  RETR  PWD XPWD  SIZE  STAT  CWD XCWD  CDUP XCUP >
AllowAll
</Limit>
<Limit RNFR RNTO  DELE  MKD XMKD SITE_MKDIR  RMD XRMD SITE_RMDIR  SITE  SITE_CHMOD  SITE_CHGRP  MTDM >
DenyAll
</Limit>
</Anonymous>
 楼主| 发表于 2006-5-8 23:53:02 | 显示全部楼层
各位帮帮忙啊,还是起动不起来
我是装完proftpd再用gproftpd配置的,你们都没问题吗?
回复 支持 反对

使用道具 举报

发表于 2006-5-9 10:55:40 | 显示全部楼层
从提示来看应该是ipv6的问题,禁用ipv6模块试试。
将/lib/modules/kernel版本/kernel/net/ipv6/ipv6.ko文件改名,重启系统后即可禁用ipv6。
回复 支持 反对

使用道具 举报

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

本版积分规则

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