右] 正在连接到 ×××××××× -> IP=××××××××× PORT=21
[右] 已连接到×××××××
[右] 220---------- Welcome to Pure-FTPd [privsep] ----------
[右] 220-You are user number 1 of 50 allowed.
[右] 220-Local time is now 12:29. Server port: 21.
[右] 220-This is a private system - No anonymous login
[右] 220-IPv6 connections are also welcome on this server.
[右] 220 You will be disconnected after 15 minutes of inactivity.
[右] USER didatao×××××
[右] 331 User didatao_com OK. Password required
[右] PASS (隐藏)
[右] 530 Login authentication failed
[右] 连接失败
这个问题我也遇到了。CentOS 6最小化安装,然后yum更新系统到最新然后安装所需组件,再一键安装lumanager和LuNamp(从源码编译,CentOS 6不支持直接rpm安装),然后pureftpd登录永远都是提示密码错误。
通过查看系统日志 /etc/log/message (是不是这个我忘记了,也有可能是pureftpd自己的日志)看到,发现显示can't connect to local mysql server through socket '/usr/local/mysql/mysql.sock'。而实际上,mysql的socket地址是'/tmp/mysql.sock'。