求助 pure-ftp Connection refused

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
hu040615050
帖子: 1
注册时间: 2010-12-09 11:38
送出感谢: 0
接收感谢: 0

求助 pure-ftp Connection refused

#1

帖子 hu040615050 » 2010-12-10 16:08

大家好,我在配置pure-ftp 时遇到一个问题,输入命令ftp localhost后显示ftp: connect to address 127.0.0.1: Connection refused
Trying 127.0.0.1...
ftp: connect: Connection refused
以下是/etc/pure-ftpd/db/mysql.conf的配置,该文件我用chmod 777 /etc/pure-ftpd/db/mysql.conf修改了属性。

sina@xiang:~$ sudo vi /etc/pure-ftpd/db/mysql.conf

MYSQLServer 127.0.0.1
MYSQLSocket /var/run/mysqld/mysqld.sock
MYSQLUser ftpadmin
MYSQLPassword ftpadminPassword
MYSQLDatabase ftpusers
MYSQLCrypt md5
MYSQLGetPW SELECT Uid FROM users WHERE User="\L" AND Status="1" AND (Ipaddress = "*" OR Ipaddress LIKE "\R")
MYSQLGetUid SELECT Uid FROM users WHERE User="\L" AND Status="1" AND (Ipa
ddress = "*" OR Ipaddress LIKE "\R")
MYSQLGetGid SELECT Gid FROM users WHERE User="\L" AND Status="1" AND (Ipa
ddress = "*" OR Ipaddress LIKE "\R")
MYSQLGetDir SELECT Dir FROM users WHERE User="\L" AND Status="1" AND (Ipa
ddress = "*" OR Ipaddress LIKE "\R")
MYSQLGetQTAFS SELECT QuotaFiles FROM users WHERE User="\L" AND Status="1" AND (Ipaddress = "*" OR Ipaddress LIKE "\R")
MYSQLGetQTASZ SELECT QuotaSize FROM users WHERE User="\L" AND Status="1" AND (Ipaddress = "*" OR Ipaddress LIKE "\R")
MYSQLGetRatioUL SELECT ULRatio FROM users WHERE User="\L" AND Status="1" AND (Ipaddress = "*" OR Ipaddress LIKE "\R")
MYSQLGetRatioDL SELECT DLRatio FROM users WHERE User="\L" AND Status="1" AND (Ipaddress = "*" OR Ipaddress LIKE "\R")
MYSQLGetBandwidthUL SELECT ULBandwidth FROM users WHERE User="\L" AND Status="1" AND (Ipaddress = "*" OR Ipaddress LIKE "\R")
MYSQLGetBandwidthDL SELECT DLBandwidth FROM users WHERE User="\L" AND Status="1" AND (Ipaddress = "*" OR Ipaddress LIKE "\R")
请高手帮帮我分析下问题的原因,谢谢!
回复

回到 “服务器基础应用”