LuManager 1.19 FTP不能登录,报错:530

林继 VPS 知识 3,250 共写了263个字 (2011-12-24 20:51:51) 没有评论 打印 扫描二维码 百度已收录

解决方法:

  1. mkdir /var/lib/mysql
  2.  
  3. ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock

我查看了linux日志文件:

  1. [root@server1 log]# cat /var/log/messages
  2. Nov 15 09:02:46 vps pure-ftpd: (?@120.40.147.212) [WARNING] Authentication failed for user [org222]
  3. Nov 15 09:02:46 vps pure-ftpd: (?@199.192.157.51) [INFO] New connection from 199.192.157.51
  4. Nov 15 09:02:47 vps pure-ftpd: (?@199.192.157.51) [ERROR] The SQL server seems to be down [Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)]
  5. Nov 15 09:02:47 vps pure-ftpd: (?@120.40.147.212) [INFO] Logout.
  6. Nov 15 09:02:47 vps pure-ftpd: (?@120.40.147.212) [INFO] New connection from 120.40.147.212
  7. Nov 15 09:02:48 vps pure-ftpd: (?@120.40.147.212) [ERROR] The SQL server seems to be down [Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)]
  8. Nov 15 09:02:49 vps pure-ftpd: (?@120.40.147.212) [WARNING] Authentication failed for user [husw]
  9. Nov 15 09:02:49 vps pure-ftpd: (?@120.40.147.212) [INFO] Logout.

我用的是CentOS6.0+LuManager 1.1.9

一般默认安装MYSQL的话,mysql.sock的位置应该在/var/lib/mysql/mysql.
sock但是LuManager 中mysql.sock的默认位置在 /tmp/mysql.sock
Pure-ftpd的MYSQL配置文件在/usr/local/pureftpd/pureftpd-mysql.conf中

如果觉得我的文章对您有用,请随意赞赏。您的支持将鼓励我继续创作!

发表评论

电子邮件地址不会被公开。 必填项已用*标注

< >