Chinaunix

标题: pure-ftpd问题,着急! [打印本页]

作者: wind0717    时间: 2007-05-30 11:49
标题: pure-ftpd问题,着急!
服务器:FB6.1+apache22+mysql5.1+php5+pure-ftpd
现在的问题是启动pure-ftpd
www# /usr/local/sbin/pure-config.pl /usr/local/etc/pure-ftpd.conf
Running: /usr/local/sbin/pure-ftpd -A -c50 -B -C8 -D -fftp -H -I15 -lmysql:/usr/local/etc/pureftpd-mysql.conf -L2000:8 -m4 -s -U133:022 -u100 -j -k99 -Z
是这个提示
www# ps -aux |grep pure
root 2650 0.0 0.5 4164 2404 ?? Is 10:42AM 0:00.01 pure-ftpd (SERVER
root 2881 0.0 0.0 348 228 p0 R+ 11:45AM 0:00.00 grep pure
可以看出服务已经启动了吧
可为什么,我在别的机子打不开
使用:ftp://服务器IP 打不开
可在服务器上可以连上
www# ftp 192.168.5.27
Connected to 192.168.5.27.
220---------- Welcome to Pure-FTPd [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 11:47. Server port: 21.
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Name (192.168.5.27:wind): windel
331 User windel OK. Password required
Password:
230-User windel has group access to: ftpusers
230 OK. Current restricted directory is /
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
229 Extended Passive mode OK (|||25090|)
150 Accepted data connection
drwxr-xr-x 2 1001 0 512 May 18 21:41 .
drwxr-xr-x 2 1001 0 512 May 18 21:41 ..
-rw-r--r-- 1 1001 0 767 May 18 21:41 .cshrc
-rw-r--r-- 1 1001 0 248 May 18 21:41 .login
-rw-r--r-- 1 1001 0 158 May 18 21:41 .login_conf
-rw------- 1 1001 0 373 May 18 21:41 .mail_aliases
-rw-r--r-- 1 1001 0 331 May 18 21:41 .mailrc
-rw-r--r-- 1 1001 0 797 May 18 21:41 .profile
-rw------- 1 1001 0 276 May 18 21:41 .rhosts
-rw-r--r-- 1 1001 0 975 May 18 21:41 .shrc
226-Options: -a -l
226 10 matches total
ftp>
请问这是怎么一回事啊,就是搞不明白!
谢谢 !
作者: wind0717    时间: 2007-05-30 12:11
sockstat -4l结果如下

www# sockstat -4l
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
root pure-ftpd 2650 4 tcp4 *:21 *:*
www httpd 2615 3 tcp46 *:80 *:*
www httpd 2615 4 tcp4 *:* *:*
www httpd 625 3 tcp46 *:80 *:*
www httpd 625 4 tcp4 *:* *:*
root sendmail 523 4 tcp4 127.0.0.1:25 *:*
www httpd 522 3 tcp46 *:80 *:*
www httpd 522 4 tcp4 *:* *:*
www httpd 521 3 tcp46 *:80 *:*
www httpd 521 4 tcp4 *:* *:*
www httpd 520 3 tcp46 *:80 *:*
www httpd 520 4 tcp4 *:* *:*
www httpd 519 3 tcp46 *:80 *:*
www httpd 519 4 tcp4 *:* *:*
www httpd 518 3 tcp46 *:80 *:*
www httpd 518 4 tcp4 *:* *:*
root sshd 512 4 tcp4 *:22 *:*
mysql mysqld 511 13 tcp4 *:3306 *:*
root httpd 411 3 tcp46 *:80 *:*
root httpd 411 4 tcp4 *:* *:*
root syslogd 352 7 udp4 *:514 *:*
作者: wind0717    时间: 2007-05-30 12:16
这是用FlashFXP在另外一台机子 上连接的结果

[右] 正在连接到 192.168.5.27 -> IP=192.168.5.27 PORT=21
[右] 已连接到 192.168.5.27
[右] 220---------- Welcome to Pure-FTPd [TLS] ----------
[右] 220-You are user number 1 of 50 allowed.
[右] 220-Local time is now 12:13. Server port: 21.
[右] 220-IPv6 connections are also welcome on this server.
[右] 220 You will be disconnected after 15 minutes of inactivity.
[右] USER windel
[右] 331 User windel OK. Password required
[右] PASS (隐藏)
[右] 530 Login authentication failed
[右] 连接失败

[右] 正在延迟 120 秒, 之后将尝试第 1 次重新连接
作者: 像把刀子    时间: 2007-06-08 16:41
帖一下 pureftpd-mysql.conf文件看看
作者: zbhdpx    时间: 2007-06-08 16:57
哪种认证方式?
虚拟用户?mysql?
作者: wolftooth    时间: 2007-06-08 17:00
认证的问题,看看是采用的什么认证方式
作者: wan8832    时间: 2007-06-08 19:42
用IE是不行的,因为默认不支持,只能用软件登陆
作者: hiler    时间: 2007-06-08 21:49
开了被动模式了吗?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2