VPS侦探论坛

 找回密码
 注册
查看: 9701|回复: 19

Pureftpd 530 问题。

[复制链接]
发表于 2016-1-29 17:47:23 | 显示全部楼层 |阅读模式

军哥,遇到另外一个问题
Pureftpd的 530问题
找了下网站上的提示,可能是下面文件和mysql的问题


/usr/local/pureftpd/pureftpd-mysql.conf
和ftp/config.php 都验证过,没问题


我仔细验证过, mysql 用ftp的账户是可以登录的, root 和 ftp的密码都没有问题。


百度了下其他人解决办法,说什么UID 必须大于 100,或者小于100的,都已经试过,也重装过pureftpd,
但是依旧提示 530.


iptables 防火墙,也关闭过,重启过,规则也没有问题。不知道为啥了。

多谢军哥。


环境是 centos7 64位,


刚装完lnmpa1.2的时候是好使的,后来装了IMAP 和 SENDMAIL 之后。。就这样了。。




















多谢

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-1-29 19:45:15 | 显示全部楼层


开pureftpd日志看看
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-1-31 12:27:00 | 显示全部楼层

军哥日志文件。

多谢。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-2-1 13:29:06 | 显示全部楼层

回复 3# 的帖子




看一下是否存在其他ftpserver或其他软件占用了21端口
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-2-1 13:36:16 | 显示全部楼层

FTP 只装了这一个


多谢军哥






[ 本帖最后由 啥都不会 于 2016-2-1 13:38 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x

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

发表于 2016-2-1 20:05:00 | 显示全部楼层

回复 5# 的帖子


kill掉后,再start看看
 楼主| 发表于 2016-2-1 20:33:21 | 显示全部楼层

军哥

KILL 掉进程后,再重启 问题依旧。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2016-2-1 20:35:43 | 显示全部楼层

最新日志:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-2-1 20:37:10 | 显示全部楼层

然后

138的这个 IP  是 客户端,本机 IP

LNMP 的主机是 ,在虚拟机里,IP 是 :220

mysql  再次确认,联通没问题。




[ 本帖最后由 啥都不会 于 2016-2-1 21:28 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-2-2 10:36:35 | 显示全部楼层

回复 8# 的帖子




后面的日志发完整的文本,别截图
 楼主| 发表于 2016-2-2 16:49:11 | 显示全部楼层

  1. Jan 31 12:18:08 localhost pure-ftpd: (?@?) [ERROR] Unable to start a standalone server: [Address already in use]
  2. Jan 31 12:18:36 localhost pure-ftpd: (?@?) [ERROR] Unable to start a standalone server: [Address already in use]
  3. Jan 31 12:21:00 localhost pure-ftpd: (?@?) [ERROR] Unable to start a standalone server: [Address already in use]
  4. Jan 31 12:21:20 localhost pure-ftpd: (?@?) [ERROR] Unable to start a standalone server: [Address already in use]
  5. Jan 31 14:18:37 localhost pure-ftpd: (?@192.168.1.138) [INFO] New connection from 192.168.1.138
  6. Jan 31 14:18:37 localhost pure-ftpd: (?@192.168.1.138) [ERROR] The SQL server seems to be down [Can't connect to local MySQL $
  7. Jan 31 14:18:41 localhost pure-ftpd: (?@192.168.1.138) [WARNING] Authentication failed for user [ftp]
  8. Jan 31 14:18:41 localhost pure-ftpd: (?@192.168.1.138) [INFO] Logout.
  9. Jan 31 22:27:14 localhost pure-ftpd: (?@192.168.1.138) [INFO] New connection from 192.168.1.138
  10. Jan 31 22:27:14 localhost pure-ftpd: (?@192.168.1.138) [ERROR] The SQL server seems to be down [Can't connect to local MySQL $
  11. Jan 31 22:27:18 localhost pure-ftpd: (?@192.168.1.138) [WARNING] Authentication failed for user [ftp]
  12. Jan 31 22:27:18 localhost pure-ftpd: (?@192.168.1.138) [INFO] Logout.
  13. Feb  1 05:20:41 localhost pure-ftpd: (?@192.168.1.138) [INFO] New connection from 192.168.1.138
  14. Feb  1 05:20:41 localhost pure-ftpd: (?@192.168.1.138) [ERROR] The SQL server seems to be down [Can't connect to local MySQL $
  15. Feb  1 05:20:47 localhost pure-ftpd: (?@192.168.1.138) [WARNING] Authentication failed for user [ftp]
  16. Feb  1 05:20:47 localhost pure-ftpd: (?@192.168.1.138) [INFO] Logout.
  17. Feb  1 05:26:20 localhost pure-ftpd: (?@192.168.1.138) [INFO] New connection from 192.168.1.138
  18. Feb  1 05:26:20 localhost pure-ftpd: (?@192.168.1.138) [ERROR] The SQL server seems to be down [Can't connect to local MySQL $
  19. Feb  1 05:26:25 localhost pure-ftpd: (?@192.168.1.138) [WARNING] Authentication failed for user [ftp]
  20. Feb  1 05:26:25 localhost pure-ftpd: (?@192.168.1.138) [INFO] Logout.
复制代码
 楼主| 发表于 2016-2-2 16:58:16 | 显示全部楼层

mysql的FTP 信息,已经验证过
用户名:ftp
密码:ftp
都没问题。





本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2016-2-2 20:56:18 | 显示全部楼层
[ERROR] The SQL server seems to be down [Can't connect to local MySQL $
这个不可能就到这个地方吧,后面应该还有吧
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2016-2-3 14:48:35 | 显示全部楼层
a 啊,还真是。。。SSH 没复制全。。
  1. Jan 31 12:18:08 localhost pure-ftpd: (?@?) [ERROR] Unable to start a standalone server: [Address already in use]
  2. Jan 31 12:18:36 localhost pure-ftpd: (?@?) [ERROR] Unable to start a standalone server: [Address already in use]
  3. Jan 31 12:21:00 localhost pure-ftpd: (?@?) [ERROR] Unable to start a standalone server: [Address already in use]
  4. Jan 31 12:21:20 localhost pure-ftpd: (?@?) [ERROR] Unable to start a standalone server: [Address already in use]
  5. Jan 31 14:18:37 localhost pure-ftpd: (?@192.168.1.138) [INFO] New connection from 192.168.1.138
  6. Jan 31 14:18:37 localhost pure-ftpd: (?@192.168.1.138) [ERROR] The SQL server seems to be down [Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)]
  7. Jan 31 14:18:41 localhost pure-ftpd: (?@192.168.1.138) [WARNING] Authentication failed for user [ftp]
  8. Jan 31 14:18:41 localhost pure-ftpd: (?@192.168.1.138) [INFO] Logout.
  9. Jan 31 22:27:14 localhost pure-ftpd: (?@192.168.1.138) [INFO] New connection from 192.168.1.138
  10. Jan 31 22:27:14 localhost pure-ftpd: (?@192.168.1.138) [ERROR] The SQL server seems to be down [Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)]
  11. Jan 31 22:27:18 localhost pure-ftpd: (?@192.168.1.138) [WARNING] Authentication failed for user [ftp]
  12. Jan 31 22:27:18 localhost pure-ftpd: (?@192.168.1.138) [INFO] Logout.
  13. Feb  1 05:20:41 localhost pure-ftpd: (?@192.168.1.138) [INFO] New connection from 192.168.1.138
  14. Feb  1 05:20:41 localhost pure-ftpd: (?@192.168.1.138) [ERROR] The SQL server seems to be down [Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)]
  15. Feb  1 05:20:47 localhost pure-ftpd: (?@192.168.1.138) [WARNING] Authentication failed for user [ftp]
  16. Feb  1 05:20:47 localhost pure-ftpd: (?@192.168.1.138) [INFO] Logout.
  17. Feb  1 05:26:20 localhost pure-ftpd: (?@192.168.1.138) [INFO] New connection from 192.168.1.138
  18. Feb  1 05:26:20 localhost pure-ftpd: (?@192.168.1.138) [ERROR] The SQL server seems to be down [Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)]
  19. Feb  1 05:26:25 localhost pure-ftpd: (?@192.168.1.138) [WARNING] Authentication failed for user [ftp]
  20. Feb  1 05:26:25 localhost pure-ftpd: (?@192.168.1.138) [INFO] Logout.
  21. Feb  1 08:35:14 localhost pure-ftpd: (?@192.168.1.138) [INFO] New connection from 192.168.1.138
  22. Feb  1 08:35:14 localhost pure-ftpd: (?@192.168.1.138) [ERROR] The SQL server seems to be down [Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)]
  23. Feb  1 08:35:19 localhost pure-ftpd: (?@192.168.1.138) [WARNING] Authentication failed for user [ftp]
  24. Feb  1 08:35:19 localhost pure-ftpd: (?@192.168.1.138) [INFO] Logout.
  25. Feb  1 08:35:38 localhost pure-ftpd: (?@192.168.1.138) [INFO] New connection from 192.168.1.138
  26. Feb  1 08:35:38 localhost pure-ftpd: (?@192.168.1.138) [ERROR] The SQL server seems to be down [Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)]
  27. Feb  1 08:35:42 localhost pure-ftpd: (?@192.168.1.138) [WARNING] Authentication failed for user [ftp]
  28. Feb  1 08:35:42 localhost pure-ftpd: (?@192.168.1.138) [INFO] Logout.
  29. Feb  1 08:36:23 localhost pure-ftpd: (?@192.168.1.138) [INFO] New connection from 192.168.1.138
  30. Feb  1 08:36:23 localhost pure-ftpd: (?@192.168.1.138) [ERROR] The SQL server seems to be down [Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)]
  31. Feb  1 08:36:27 localhost pure-ftpd: (?@192.168.1.138) [WARNING] Authentication failed for user [ftp]
  32. Feb  1 08:36:27 localhost pure-ftpd: (?@192.168.1.138) [INFO] Logout.
  33. Feb  1 09:09:47 localhost pure-ftpd: (?@192.168.1.138) [INFO] New connection from 192.168.1.138
  34. Feb  1 09:09:47 localhost pure-ftpd: (?@192.168.1.138) [ERROR] The SQL server seems to be down [Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)]
  35. Feb  1 09:09:52 localhost pure-ftpd: (?@192.168.1.138) [WARNING] Authentication failed for user [ftp]
  36. Feb  1 09:09:52 localhost pure-ftpd: (?@192.168.1.138) [INFO] Logout.
  37. Feb  1 09:16:41 localhost pure-ftpd: (?@192.168.1.138) [INFO] New connection from 192.168.1.138
  38. Feb  1 09:16:41 localhost pure-ftpd: (?@192.168.1.138) [ERROR] The SQL server seems to be down [Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)]
  39. Feb  1 09:16:44 localhost pure-ftpd: (?@192.168.1.138) [WARNING] Authentication failed for user [ftp]
  40. Feb  1 09:16:44 localhost pure-ftpd: (?@192.168.1.138) [INFO] Logout.
复制代码

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

 楼主| 发表于 2016-2-3 14:56:55 | 显示全部楼层
/etc/my.conf 文件 部分摘录:

  1. # Example MySQL config file for medium systems.
  2. #
  3. # This is for a system with little memory (32M - 64M) where MySQL plays
  4. # an important part, or systems up to 128M where MySQL is used together with
  5. # other programs (such as a web server)
  6. #
  7. # MySQL programs look for option files in a set of
  8. # locations which depend on the deployment platform.
  9. # You can copy this option file to one of those
  10. # locations. For information about these locations, see:
  11. # http://dev.mysql.com/doc/mysql/en/option-files.html
  12. #
  13. # In this file, you can use all long options that a program supports.
  14. # If you want to know which options a program supports, run the program
  15. # with the "--help" option.

  16. # The following options will be passed to all MySQL clients
  17. [client]
  18. #password   = your_password
  19. port        = 3306
  20. socket      = /tmp/mysql.sock

  21. # Here follows entries for some specific programs

  22. # The MySQL server
  23. [mysqld]
  24. port        = 3306
  25. socket      = /tmp/mysql.sock
  26. datadir = /usr/local/mysql/var
  27. skip-external-locking
  28. max_connections = 1000
  29. key_buffer_size = 16M
  30. max_allowed_packet = 1M
  31. table_open_cache = 64
  32. sort_buffer_size = 512K
  33. net_buffer_length = 8K
  34. read_buffer_size = 256K
  35. read_rnd_buffer_size = 512K
  36. myisam_sort_buffer_size = 8M

  37. # Don't listen on a TCP/IP port at all. This can be a security enhancement,
  38. # if all processes that need to connect to mysqld run on the same host.
  39. # All interaction with mysqld must be made via Unix sockets or named pipes.
  40. # Note that using this option without enabling named pipes on Windows
  41. # (via the "enable-named-pipe" option) will render mysqld useless!
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-28 21:18 , Processed in 0.033124 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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