VPS侦探论坛

 找回密码
 注册
12
返回列表 发新帖
楼主: 啥都不会

Pureftpd 530 问题。

[复制链接]
 楼主| 发表于 2016-2-3 15:02:49 | 显示全部楼层

重启FTP 的提示:
  1. [root@localhost lib]# lnmp restart
  2. +-------------------------------------------+
  3. |    Manager for LNMP, Written by Licess    |
  4. +-------------------------------------------+
  5. |              http://lnmp.org              |
  6. +-------------------------------------------+
  7. Stoping LNMPA...
  8. Stoping nginx...  done
  9. Shutting down MySQL.. SUCCESS!
  10. stop apache...  done
  11. Starting LNMPA...
  12. Starting nginx...  done
  13. Starting MySQL. SUCCESS!
  14. start apache...  done
  15. [root@localhost lib]# lnmp pureftpd restart
  16. +-------------------------------------------+
  17. |    Manager for LNMP, Written by Licess    |
  18. +-------------------------------------------+
  19. |              http://lnmp.org              |
  20. +-------------------------------------------+
  21. Restarting Pure-FTPd...
  22. Stopping Pure-FTPd...   done
  23. Starting Pure-FTPd... Running: /usr/local/pureftpd/sbin/pure-ftpd --daemonize -A -c50 -B -C5 -D -E -fftp -H -I15 -lmysql:/usr/local/pureftpd/pureftpd-mysql.conf -lunix -L2000:8 -m4 -p20000:30000 -s -U133:022 -u100 -k99 -Z
  24. done
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-2-3 17:04:15 | 显示全部楼层


可能是你系统上后来通过yum或apt-get 安装了mysql-client之类的模块,导致多了一个my.cnf的配置文件
你可以看一下是否存在/etc/mysql/my.cnf

一般删除mysql-client之类的包后重启pureftpd就可以了
可以rpm -qa|grep mysql 或 dpkg -l|grep mysql 进行查看
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-2-3 17:14:01 | 显示全部楼层

军哥

rpm -qa|grep mysql

没有任何提示信息。
( dpkg -l|grep mysql  ,是无效命令,我的是 centos 7)
然后  /etc 下 没有 mysql目录。。。。

,另外这个LNMP 除了我安装了imap和 sendmail没安装其他东西。
好奇怪了。。。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-2-3 19:42:15 | 显示全部楼层



你直接强制这样吧
mkdir -p /var/lib/mysql
ln -sf /tmp/mysql.sock /var/lib/mysql/mysql.sock
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-2-4 11:45:22 | 显示全部楼层

原帖由 licess 于 2016-2-3 19:42 发表
你直接强制这样吧
mkdir -p /var/lib/mysql
ln -sf /tmp/mysql.sock /var/lib/mysql/mysql.sock


果然。成功了。
多谢军哥!!

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-28 21:29 , Processed in 0.026449 second(s), 14 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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