容器技术交流

 找回密码
 立即注册
查看: 2704|回复: 4

【求助】急 建立ftp 日志上出现这个 '/var/lib/mysql/mysql.sock' (2)

[复制链接]
发表于 2011-9-27 11:38:08 | 显示全部楼层 |阅读模式
Sep 27 11:22:09 os ntpd[1058]: synchronized to 210.72.145.44, stratum 1
Sep 27 11:22:25 os pure-ftpd: (?@59.52.94.8) [INFO] New connection from 59.52.9
4.85
Sep 27 11:22:25 os pure-ftpd: (?@59.52.94.8) [ERROR] The SQL server seems to be
down [Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.
sock' (2)]
Sep 27 11:22:31 os pure-ftpd: (?@59.52.94.8) [WARNING] Authentication failed fo
r user [s5wt]
Sep 27 11:22:31 os pure-ftpd: (?@59.52.94.8) [INFO] Logout.
Sep 27 11:23:35 os pure-ftpd: (?@59.52.94.8) [INFO] New connection from 59.52.9
4.85
Sep 27 11:23:40 os pure-ftpd: (?@59.52.94.8) [WARNING] Authentication failed fo
r user [s5wt]
Sep 27 11:23:40 os pure-ftpd: (?@59.52.94.85) [INFO] Logout

我刚用的是httpos 2.0系统 安装后建立ftp的时候 发现登录ftp空间登录不了,一直是531
求管理老大解决啊!!!!!!!
发表于 2011-9-28 23:57:43 | 显示全部楼层
输入 :mysql-restart  试试。
发表于 2011-11-18 00:32:01 | 显示全部楼层
我也是这个问题,暂时没有解决
发表于 2011-11-18 00:43:18 | 显示全部楼层
本帖最后由 husw 于 2011-11-18 00:44 编辑

mysql.sock的默认位置在 /tmp/mysql.sock
修改/usr/local/pureftpd/pureftpd-mysql.conf中的配置
然后pureftpd-restart重启Pure-ftpd
我解决了FTP不能登录的问题
发表于 2011-11-18 01:23:14 | 显示全部楼层
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-8-26 05:02 , Processed in 0.030456 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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