Pureftpd 530 问题。
军哥,遇到另外一个问题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 之后。。就这样了。。
多谢
开pureftpd日志看看 军哥日志文件。
多谢。
回复 3# 的帖子
看一下是否存在其他ftpserver或其他软件占用了21端口 FTP 只装了这一个多谢军哥
[ 本帖最后由 啥都不会 于 2016-2-1 13:38 编辑 ]
回复 5# 的帖子
kill掉后,再start看看 军哥KILL 掉进程后,再重启 问题依旧。 最新日志:
然后
138的这个 IP是 客户端,本机 IP
LNMP 的主机是 ,在虚拟机里,IP 是 :220
mysql再次确认,联通没问题。
[ 本帖最后由 啥都不会 于 2016-2-1 21:28 编辑 ]
回复 8# 的帖子
后面的日志发完整的文本,别截图 Jan 31 12:18:08 localhost pure-ftpd: (?@?) Unable to start a standalone server:Jan 31 12:18:36 localhost pure-ftpd: (?@?) Unable to start a standalone server:
Jan 31 12:21:00 localhost pure-ftpd: (?@?) Unable to start a standalone server:
Jan 31 12:21:20 localhost pure-ftpd: (?@?) Unable to start a standalone server:
Jan 31 14:18:37 localhost pure-ftpd: (?@192.168.1.138) New connection from 192.168.1.138
Jan 31 14:18:37 localhost pure-ftpd: (?@192.168.1.138) The SQL server seems to be down [Can't connect to local MySQL $
Jan 31 14:18:41 localhost pure-ftpd: (?@192.168.1.138) Authentication failed for user
Jan 31 14:18:41 localhost pure-ftpd: (?@192.168.1.138) Logout.
Jan 31 22:27:14 localhost pure-ftpd: (?@192.168.1.138) New connection from 192.168.1.138
Jan 31 22:27:14 localhost pure-ftpd: (?@192.168.1.138) The SQL server seems to be down [Can't connect to local MySQL $
Jan 31 22:27:18 localhost pure-ftpd: (?@192.168.1.138) Authentication failed for user
Jan 31 22:27:18 localhost pure-ftpd: (?@192.168.1.138) Logout.
Feb1 05:20:41 localhost pure-ftpd: (?@192.168.1.138) New connection from 192.168.1.138
Feb1 05:20:41 localhost pure-ftpd: (?@192.168.1.138) The SQL server seems to be down [Can't connect to local MySQL $
Feb1 05:20:47 localhost pure-ftpd: (?@192.168.1.138) Authentication failed for user
Feb1 05:20:47 localhost pure-ftpd: (?@192.168.1.138) Logout.
Feb1 05:26:20 localhost pure-ftpd: (?@192.168.1.138) New connection from 192.168.1.138
Feb1 05:26:20 localhost pure-ftpd: (?@192.168.1.138) The SQL server seems to be down [Can't connect to local MySQL $
Feb1 05:26:25 localhost pure-ftpd: (?@192.168.1.138) Authentication failed for user
Feb1 05:26:25 localhost pure-ftpd: (?@192.168.1.138) Logout. mysql的FTP 信息,已经验证过
用户名:ftp
密码:ftp
都没问题。
The SQL server seems to be down [Can't connect to local MySQL $
这个不可能就到这个地方吧,后面应该还有吧 a 啊,还真是。。。SSH 没复制全。。
Jan 31 12:18:08 localhost pure-ftpd: (?@?) Unable to start a standalone server:
Jan 31 12:18:36 localhost pure-ftpd: (?@?) Unable to start a standalone server:
Jan 31 12:21:00 localhost pure-ftpd: (?@?) Unable to start a standalone server:
Jan 31 12:21:20 localhost pure-ftpd: (?@?) Unable to start a standalone server:
Jan 31 14:18:37 localhost pure-ftpd: (?@192.168.1.138) New connection from 192.168.1.138
Jan 31 14:18:37 localhost pure-ftpd: (?@192.168.1.138) The SQL server seems to be down
Jan 31 14:18:41 localhost pure-ftpd: (?@192.168.1.138) Authentication failed for user
Jan 31 14:18:41 localhost pure-ftpd: (?@192.168.1.138) Logout.
Jan 31 22:27:14 localhost pure-ftpd: (?@192.168.1.138) New connection from 192.168.1.138
Jan 31 22:27:14 localhost pure-ftpd: (?@192.168.1.138) The SQL server seems to be down
Jan 31 22:27:18 localhost pure-ftpd: (?@192.168.1.138) Authentication failed for user
Jan 31 22:27:18 localhost pure-ftpd: (?@192.168.1.138) Logout.
Feb1 05:20:41 localhost pure-ftpd: (?@192.168.1.138) New connection from 192.168.1.138
Feb1 05:20:41 localhost pure-ftpd: (?@192.168.1.138) The SQL server seems to be down
Feb1 05:20:47 localhost pure-ftpd: (?@192.168.1.138) Authentication failed for user
Feb1 05:20:47 localhost pure-ftpd: (?@192.168.1.138) Logout.
Feb1 05:26:20 localhost pure-ftpd: (?@192.168.1.138) New connection from 192.168.1.138
Feb1 05:26:20 localhost pure-ftpd: (?@192.168.1.138) The SQL server seems to be down
Feb1 05:26:25 localhost pure-ftpd: (?@192.168.1.138) Authentication failed for user
Feb1 05:26:25 localhost pure-ftpd: (?@192.168.1.138) Logout.
Feb1 08:35:14 localhost pure-ftpd: (?@192.168.1.138) New connection from 192.168.1.138
Feb1 08:35:14 localhost pure-ftpd: (?@192.168.1.138) The SQL server seems to be down
Feb1 08:35:19 localhost pure-ftpd: (?@192.168.1.138) Authentication failed for user
Feb1 08:35:19 localhost pure-ftpd: (?@192.168.1.138) Logout.
Feb1 08:35:38 localhost pure-ftpd: (?@192.168.1.138) New connection from 192.168.1.138
Feb1 08:35:38 localhost pure-ftpd: (?@192.168.1.138) The SQL server seems to be down
Feb1 08:35:42 localhost pure-ftpd: (?@192.168.1.138) Authentication failed for user
Feb1 08:35:42 localhost pure-ftpd: (?@192.168.1.138) Logout.
Feb1 08:36:23 localhost pure-ftpd: (?@192.168.1.138) New connection from 192.168.1.138
Feb1 08:36:23 localhost pure-ftpd: (?@192.168.1.138) The SQL server seems to be down
Feb1 08:36:27 localhost pure-ftpd: (?@192.168.1.138) Authentication failed for user
Feb1 08:36:27 localhost pure-ftpd: (?@192.168.1.138) Logout.
Feb1 09:09:47 localhost pure-ftpd: (?@192.168.1.138) New connection from 192.168.1.138
Feb1 09:09:47 localhost pure-ftpd: (?@192.168.1.138) The SQL server seems to be down
Feb1 09:09:52 localhost pure-ftpd: (?@192.168.1.138) Authentication failed for user
Feb1 09:09:52 localhost pure-ftpd: (?@192.168.1.138) Logout.
Feb1 09:16:41 localhost pure-ftpd: (?@192.168.1.138) New connection from 192.168.1.138
Feb1 09:16:41 localhost pure-ftpd: (?@192.168.1.138) The SQL server seems to be down
Feb1 09:16:44 localhost pure-ftpd: (?@192.168.1.138) Authentication failed for user
Feb1 09:16:44 localhost pure-ftpd: (?@192.168.1.138) Logout. /etc/my.conf 文件 部分摘录:
# Example MySQL config file for medium systems.
#
# This is for a system with little memory (32M - 64M) where MySQL plays
# an important part, or systems up to 128M where MySQL is used together with
# other programs (such as a web server)
#
# MySQL programs look for option files in a set of
# locations which depend on the deployment platform.
# You can copy this option file to one of those
# locations. For information about these locations, see:
# http://dev.mysql.com/doc/mysql/en/option-files.html
#
# In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program
# with the "--help" option.
# The following options will be passed to all MySQL clients
#password = your_password
port = 3306
socket = /tmp/mysql.sock
# Here follows entries for some specific programs
# The MySQL server
port = 3306
socket = /tmp/mysql.sock
datadir = /usr/local/mysql/var
skip-external-locking
max_connections = 1000
key_buffer_size = 16M
max_allowed_packet = 1M
table_open_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (via the "enable-named-pipe" option) will render mysqld useless!
页:
[1]
2