- 论坛徽章:
- 0
|
在proftpd.conf中,如果把mysql的相关选项注释掉,匿名可以访问,但如果要用mysql来验证用户,不但数据库里的用户无法正常登陆,结果连匿名也不可以访问了。。下面是错误提示(启用mysql认证时):
#>;ftp localhost
Connected to localhost (127.0.0.1).
220 ProFTPD 1.2.9rc3 Server (Stone Ftp Server) [ftp.stone.com]
Name (localhost:root): anonymous
331 Anonymous login ok, send your complete email address as your password.
Password:
421 Service not available, remote server has closed connection
Login failed.
No control connection for command: No such file or directory
ftp>;
这到底是什么原因啊。。匿名和mysql认证应该是没关系吧。。始终找不出原因。
(proftpd.conf这个文件,我是拷贝安装目录下的../sample-configurations下的mod_sql.conf这个文件更改的。)
各位高人,指点小弟。 |
|