VPS侦探论坛

 找回密码
 注册
查看: 4865|回复: 4

[wu-ftpd] 1.3版本,给网站下面一个目录增加ftp帐户访问问题,

[复制链接]
发表于 2016-9-27 14:52:48 | 显示全部楼层 |阅读模式

说好的,1.3版本的ftp不用mysql数据库支持了,我想给网站下面一个目录增加一个ftp访问,进行如下操作,提示错误:
[root@i-vs2qrm6l ~]# lnmp ftp add
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              http://lnmp.org              |
+-------------------------------------------+
verify your current MySQL root password:
Warning: Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
MySQL root password incorrect!Please check!
verify your current MySQL root password:
Warning: Using a password on the command line interface can be insecure.
MySQL root password correct.
Enter ftp account name: bbctheme
Enter password for ftp account bbctheme: ..
Enter directory for ftp account kzbbctheme: /home/wwwroot/bbc.my.com/public/themes/luckymall/images/
Warning: Using a password on the command line interface can be insecure.
ERROR 1146 (42S02) at line 1: Table 'ftpusers.users' doesn't exist
FTP User: bbctheme already exists!
[root@i-vs2qrm6l ~]# lnmp ftp list
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              http://lnmp.org              |
+-------------------------------------------+
verify your current MySQL root password: 123456
Warning: Using a password on the command line interface can be insecure.
MySQL root password correct.
Warning: Using a password on the command line interface can be insecure.
ERROR 1146 (42S02) at line 1: Table 'ftpusers.users' doesn't exist
Read database failed.
[root@i-vs2qrm6l ~]# lnmp ftp list
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              http://lnmp.org              |
+-------------------------------------------+
verify your current MySQL root password: ^C  
[root@i-vs2qrm6l ~]# service mysql restart
Shutting down MySQL.. SUCCESS!
Starting MySQL.. SUCCESS!
[root@i-vs2qrm6l ~]# lnmp ftp add
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              http://lnmp.org              |
+-------------------------------------------+
verify your current MySQL root password:
Warning: Using a password on the command line interface can be insecure.
MySQL root password correct.
Enter ftp account name: bbcthemes
Enter password for ftp account bbcthemes:
Enter directory for ftp account kzbbcthemes: /home/wwwroot/bbc.my.com/public/themes/luckymall/images/
Warning: Using a password on the command line interface can be insecure.
ERROR 1146 (42S02) at line 1: Table 'ftpusers.users' doesn't exist
FTP User: bbcthemes already exists!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-9-27 19:12:19 | 显示全部楼层


这个明显不是1.3的lnmp脚本,1.3的lnmp管理脚本里只有database选项里会验证mysql root密码
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-9-27 21:34:57 | 显示全部楼层

不可能啊。一直都安装的1.3,创建网站的时候,同时创建ftp,很正常。
怎么查看是不是1.3呢?
lnmpa 1.3

wget -c --no-check-certificate https://api.sinas3.com/v1/SAE_lnmp/soft/lnmp1.3-full.tar.gz && tar zxf lnmp1.3-full.tar.gz && cd lnmp1.3-full && ./install.sh lnmpa

一路安装下来的。

[ 本帖最后由 acoolboy 于 2016-9-27 21:38 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-9-28 09:01:34 | 显示全部楼层



https://github.com/licess/lnmp/blob/master/conf/lnmpa 这个是1.3的
https://github.com/licess/lnmp/blob/e74355b1b7db8d007714401cf43d2c9e8cfe0b1d/conf/lnmpa 这个是1.2的

呢可以自己编辑 /bin/lnmp 看一下,1.3里的验证mysqlroot密码是Verify_DB_Password,现实的文字是Enter current root password of Database (Password will not shown):
1.2的是Verify_MySQL_Password ,现实的文字是 verify your current MySQL root password:
所以按你发的信息看你装的肯定是1.2或者有其他可能是装了1.3,有自己把1.2的lnmp管理脚本拷贝过去了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-9-28 10:27:31 | 显示全部楼层

谢谢。解决了。的确是另外一个同事重新安装成1.2了。我就说明明我安装的是1.3。
不过添加新帐户,报错。

[ 本帖最后由 acoolboy 于 2016-9-28 12:39 编辑 ]

本帖子中包含更多资源

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

x

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

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

本版积分规则

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

GMT+8, 2024-3-29 20:44 , Processed in 0.028329 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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